OSDN Git Service

android-x86/frameworks-base.git
9 years agoMeasure absolute value of pointer motion distance
tingna_sung [Tue, 21 Oct 2014 09:09:57 +0000 (17:09 +0800)]
Measure absolute value of pointer motion distance

If pointer is moving to the negative axis direction, pointer movement
distance will always less than pre-defined mMotionSlop, thus
TAP_OUTSIDE_STACK will have chance to be sent, will cause unnecessary
focus stack switch.

Change-Id: Ia4c066bebce250257c7361ef976907a0ca2c6461
Signed-off-by: tingna_sung <tingna_sung@htc.com>
9 years agoMerge "Enable stencil clipping within clearLayerRegions"
Chris Craik [Tue, 25 Nov 2014 23:56:32 +0000 (23:56 +0000)]
Merge "Enable stencil clipping within clearLayerRegions"

9 years agoMerge "We have POSIX clocks."
Elliott Hughes [Tue, 25 Nov 2014 23:17:59 +0000 (23:17 +0000)]
Merge "We have POSIX clocks."

9 years agoWe have POSIX clocks.
Elliott Hughes [Tue, 25 Nov 2014 23:11:59 +0000 (15:11 -0800)]
We have POSIX clocks.

Change-Id: I70f82074f8c14a26c4ed7eb912ddf6d7da44c168

9 years agoMerge "Remove unused variables and functions, don't warn about unused parameters"
chh [Tue, 25 Nov 2014 00:37:12 +0000 (00:37 +0000)]
Merge "Remove unused variables and functions, don't warn about unused parameters"

9 years agoMerge "Fix class vs. struct mismatch"
Chih-hung Hsieh [Tue, 25 Nov 2014 00:20:02 +0000 (00:20 +0000)]
Merge "Fix class vs. struct mismatch"

9 years agoFix class vs. struct mismatch
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:15:30 +0000 (21:15 +0100)]
Fix class vs. struct mismatch

Don't refer to classes as structs and view versa -- causes warnings in
clang (in code built with -Werror)

Change-Id: I4d7f461bcf6fe4e43a14ad2f28ee0e0ddea95abc
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Fix unused variables."
Chih-hung Hsieh [Mon, 24 Nov 2014 23:53:35 +0000 (23:53 +0000)]
Merge "Fix unused variables."

9 years agoFix unused variables.
Bernhard Rosenkränzer [Wed, 12 Nov 2014 13:45:58 +0000 (14:45 +0100)]
Fix unused variables.

The return value of jniRegisterNativeMethods is checked only in
LOG_FATAL_IF, which defines to nothing in the LOG_NDEBUG
case.

Fake a use of the 'res' variable to shut off warnings when LOG_NDEBUG.

Change-Id: I8263610f327c56897f76796fe1fbc2b325b0559f
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Remove unused variable"
Chih-hung Hsieh [Mon, 24 Nov 2014 22:15:41 +0000 (22:15 +0000)]
Merge "Remove unused variable"

9 years agoMerge "Remove unused function"
Chih-Hung Hsieh [Mon, 24 Nov 2014 20:15:12 +0000 (20:15 +0000)]
Merge "Remove unused function"

9 years agoRemove unused function
Chih-Hung Hsieh [Mon, 24 Nov 2014 19:52:43 +0000 (11:52 -0800)]
Remove unused function

Remove an unused static function clang complains about

Change-Id: Id5875960e9f93348c7a3a912f42b5f457af2cdc0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Stop using DATE_FORMAT from settings."
Narayan Kamath [Mon, 24 Nov 2014 16:14:32 +0000 (16:14 +0000)]
Merge "Stop using DATE_FORMAT from settings."

9 years agoMerge "Stop reading Settings.System.DATE_FORMAT."
Narayan Kamath [Mon, 24 Nov 2014 16:10:01 +0000 (16:10 +0000)]
Merge "Stop reading Settings.System.DATE_FORMAT."

9 years agoStop reading Settings.System.DATE_FORMAT.
Narayan Kamath [Tue, 18 Nov 2014 13:23:02 +0000 (13:23 +0000)]
Stop reading Settings.System.DATE_FORMAT.

Also, move over DateFormat.getInstance(SHORT) instead of
LocaleData.shortDateFormat4 (which forces 4 digit years).
Based on an analysis of git history, there seems to be no
real motiviation for using 4 digit years.

If anyone in the platform complains loudly, we could look at
using a skeleton pattern instead of just replacing 'y' with 'yy'.

If third party apps are affected, we could add a targetSdkversion
based check and revert to the old behaviour for older targetSdks.

bug: 18388178
bug: 18322220
Change-Id: Ieab2b41691958a2e668d382c5a6b3d9aaf741ed2

9 years agoEnable stencil clipping within clearLayerRegions
Dohyun Lee [Mon, 24 Nov 2014 12:08:15 +0000 (21:08 +0900)]
Enable stencil clipping within clearLayerRegions

Previously stencil clipping within clearLayerRegions is disabled by commit
62d307c2402777d5e53b4590af5f32f8c55afd81. However, clearing whole layer
regions causes black-colored triangle regions when a TextView has
RotateAnimation because the draw within clearLayerRegions does not
affected by the current stencil clip.

Change-Id: Id32a0b16754b109905f833e063ebfa156bd953f2
Signed-off-by: Dohyun Lee <dohyun.lee@lge.com>
9 years agoRemove unused variables and functions, don't warn about unused parameters
Bernhard Rosenkränzer [Sun, 23 Nov 2014 21:24:32 +0000 (22:24 +0100)]
Remove unused variables and functions, don't warn about unused parameters

Remove unused variables and static functions clang complains about,
disable warnings about unused parameters (needed for clang and for gcc
with -Wextra enabled)

Change-Id: I76a22cd0158b3c7375c54e3d4d15bc1ac448591e
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "We HAVE_LITTLE_ENDIAN."
Elliott Hughes [Sat, 22 Nov 2014 07:47:27 +0000 (07:47 +0000)]
Merge "We HAVE_LITTLE_ENDIAN."

9 years agoWe HAVE_LITTLE_ENDIAN.
Elliott Hughes [Sat, 22 Nov 2014 07:36:45 +0000 (23:36 -0800)]
We HAVE_LITTLE_ENDIAN.

Change-Id: I5b5d0ef3f91fe84d629d2ddac436bd22019edfd4

9 years agoMerge "Add window to child window list with correct order"
Olawale Ogunwale [Sat, 22 Nov 2014 02:12:48 +0000 (02:12 +0000)]
Merge "Add window to child window list with correct order"

9 years agoMerge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""
Chih-hung Hsieh [Sat, 22 Nov 2014 00:24:38 +0000 (00:24 +0000)]
Merge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""

9 years agoMerge "Revert "Frameworks/base: Unused parameters in hwui""
John Reck [Sat, 22 Nov 2014 00:10:45 +0000 (00:10 +0000)]
Merge "Revert "Frameworks/base: Unused parameters in hwui""

9 years agoRevert "Frameworks/base: Unused parameters in hwui"
John Reck [Sat, 22 Nov 2014 00:10:02 +0000 (00:10 +0000)]
Revert "Frameworks/base: Unused parameters in hwui"

This reverts commit 42ddc18d108f789705ad4eb697ce9599ad322507.

Change-Id: I3574a936a39a96314db6437d0a1eb58d260d893d

9 years agoMerge "Frameworks/base: Unused parameters in hwui"
Andreas Gampe [Fri, 21 Nov 2014 21:34:45 +0000 (21:34 +0000)]
Merge "Frameworks/base: Unused parameters in hwui"

9 years agoMerge "Fix error overwriting when restoring error"
Alan Viverette [Fri, 21 Nov 2014 20:40:28 +0000 (20:40 +0000)]
Merge "Fix error overwriting when restoring error"

9 years agoMerge "Use parseColor instead of getHTMLColor"
Alan Viverette [Fri, 21 Nov 2014 20:40:08 +0000 (20:40 +0000)]
Merge "Use parseColor instead of getHTMLColor"

9 years agoRevert "Frameworks/base: Mask Skia warning in GraphicsJNI"
Chih-hung Hsieh [Fri, 21 Nov 2014 18:54:15 +0000 (18:54 +0000)]
Revert "Frameworks/base: Mask Skia warning in GraphicsJNI"

Should be unnecessary after c/115476.
This reverts commit ba823cee8bafff98640408a777fe105a72fcea0d.

Change-Id: I3ef4d3e04805e450038d469d9672dc064f729b0f

9 years agoFrameworks/base: Unused parameters in hwui
Andreas Gampe [Fri, 21 Nov 2014 17:49:08 +0000 (09:49 -0800)]
Frameworks/base: Unused parameters in hwui

Remove Clang cutout for unused parameters. Fix warnings.

Remove Clang cutout for deprecated Skia function usage. Has been
fixed in the L push.

Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7

9 years agoMerge "Frameworks/base: Consistency in core/jni"
Andreas Gampe [Fri, 21 Nov 2014 18:18:35 +0000 (18:18 +0000)]
Merge "Frameworks/base: Consistency in core/jni"

9 years agoFrameworks/base: Consistency in core/jni
Andreas Gampe [Fri, 21 Nov 2014 06:02:20 +0000 (22:02 -0800)]
Frameworks/base: Consistency in core/jni

Make consistent use of core_jni_helpers for registration.

Translate some #ifdefs into const bools.

Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5

9 years agoMerge "Frameworks/base: Wall Werror in media/tests"
Andreas Gampe [Fri, 21 Nov 2014 17:39:32 +0000 (17:39 +0000)]
Merge "Frameworks/base: Wall Werror in media/tests"

9 years agoMerge "Frameworks/base: Remove unused header"
Andreas Gampe [Fri, 21 Nov 2014 17:38:06 +0000 (17:38 +0000)]
Merge "Frameworks/base: Remove unused header"

9 years agoFrameworks/base: Remove unused header
Andreas Gampe [Fri, 21 Nov 2014 00:11:57 +0000 (16:11 -0800)]
Frameworks/base: Remove unused header

android_nfc.h is used nowhere.

Change-Id: I3009b3eb122674d3fe7ddb201bac18368b78bc02

9 years agoMerge "Fix format strings mismatching the parameters passed to them"
Chih-hung Hsieh [Thu, 20 Nov 2014 23:50:04 +0000 (23:50 +0000)]
Merge "Fix format strings mismatching the parameters passed to them"

9 years agoFix format strings mismatching the parameters passed to them
Bernhard Rosenkränzer [Mon, 17 Nov 2014 19:25:28 +0000 (20:25 +0100)]
Fix format strings mismatching the parameters passed to them

Change-Id: Ia0d33aec9edadac60508fb422e0821e6d8f28afa
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Fix clang warnings in core/jni."
Dan Albert [Thu, 20 Nov 2014 22:58:46 +0000 (22:58 +0000)]
Merge "Fix clang warnings in core/jni."

9 years agoMerge "Add appropriate casts for char16_t."
Dan Albert [Thu, 20 Nov 2014 22:19:38 +0000 (22:19 +0000)]
Merge "Add appropriate casts for char16_t."

9 years agoAdd appropriate casts for char16_t.
Dan Albert [Thu, 20 Nov 2014 19:41:21 +0000 (11:41 -0800)]
Add appropriate casts for char16_t.

C++11 defines a real char16_t, which is not implicitly convertible to
uint16_t (and by extension jchar). Add casts as needed.

Bug: 18300613
Change-Id: I00752002ef2e938bdb57f70947e8fd53ec103293

9 years agoFix clang warnings in core/jni.
Dan Albert [Wed, 19 Nov 2014 00:07:51 +0000 (16:07 -0800)]
Fix clang warnings in core/jni.

There are a few bugs in here too (mostly people expecting + to
concatenate C strings) :(

Change-Id: I0a243c05c4ea8b56e84896f37814d0fbea4c39d5

9 years agoMerge "Tell installd when boot completes."
Narayan Kamath [Thu, 20 Nov 2014 10:47:16 +0000 (10:47 +0000)]
Merge "Tell installd when boot completes."

9 years agoAdd window to child window list with correct order
tiger_huang [Thu, 13 Nov 2014 11:46:28 +0000 (19:46 +0800)]
Add window to child window list with correct order

The original logic of comparing with mBaseLayer of two child windows
of the same parent was wrong, because the mBaseLayer is always the
same.

After adding two child windows with the same positive sublayer, the
one added later should have greater z-order. The order should be
consistent with WindowManagerService.addAttachedWindowToListLocked()

Change-Id: I789179aee61d141fad86bd24262fabfb1e517e66

9 years agoMerge "Fix and be more explicit about plurals best practices."
Elliott Hughes [Thu, 20 Nov 2014 00:19:44 +0000 (00:19 +0000)]
Merge "Fix and be more explicit about plurals best practices."

9 years agoFix and be more explicit about plurals best practices.
Elliott Hughes [Fri, 23 May 2014 20:28:33 +0000 (13:28 -0700)]
Fix and be more explicit about plurals best practices.

The "one" case should always include %d. Say so, and fix our examples.
Also make it clear that developers should always provide exactly "one"
and "other".

Bug: 18429565
Change-Id: I09eb39ea6986850c3af28cca3052d319e3c97705

9 years agoMerge "Add zygote space to Dalvik Heap"
Mathieu Chartier [Wed, 19 Nov 2014 21:58:17 +0000 (21:58 +0000)]
Merge "Add zygote space to Dalvik Heap"

9 years agoAdd zygote space to Dalvik Heap
Mathieu Chartier [Wed, 19 Nov 2014 21:34:05 +0000 (13:34 -0800)]
Add zygote space to Dalvik Heap

Broken by
https://android-review.googlesource.com/#/c/115446/

This change fixes it by correctly putting the zygote in Dalvik Heap
instead of Dalvik Other.

Bug: 18447855

(cherry picked from commit 7fc9176c8a2102fb5be3668404bd15feb6878c89)

Change-Id: I9293e5d3f55ccfb2c93c6aacbf6abc164eacb10b

9 years agoMerge "[WebView] Interface to access hidden APIs. (DO NOT MERGE)"
Ignacio Solla [Wed, 19 Nov 2014 21:53:43 +0000 (21:53 +0000)]
Merge "[WebView] Interface to access hidden APIs. (DO NOT MERGE)"

9 years ago[WebView] Interface to access hidden APIs. (DO NOT MERGE)
Ignacio Solla [Wed, 29 Oct 2014 12:47:46 +0000 (12:47 +0000)]
[WebView] Interface to access hidden APIs. (DO NOT MERGE)

The WeView provider implementation needs access to
these APIs to implement the WebView functionality.

BUG:18152150

Change-Id: I6b41c623b1e8a776dcee8977d0d17259cb4b34f1
(cherry picked from commits 94ef789f0cf0387df20c2c602857ada1e5abfdd6
 and 53f256948724b8d4009d8a8a47da96a06402f9a2)

9 years agoMerge "Frameworks/base: Replace LOG_FATAL_IF in core/jni"
Andreas Gampe [Wed, 19 Nov 2014 18:16:18 +0000 (18:16 +0000)]
Merge "Frameworks/base: Replace LOG_FATAL_IF in core/jni"

9 years agoMerge "Fix incorrect usage of bool"
Chih-hung Hsieh [Wed, 19 Nov 2014 18:01:19 +0000 (18:01 +0000)]
Merge "Fix incorrect usage of bool"

9 years agoMerge "Default icon is shown after uninstalling updated priv-app"
Jeff Sharkey [Wed, 19 Nov 2014 17:40:02 +0000 (17:40 +0000)]
Merge "Default icon is shown after uninstalling updated priv-app"

9 years agoFrameworks/base: Replace LOG_FATAL_IF in core/jni
Andreas Gampe [Wed, 19 Nov 2014 01:29:46 +0000 (17:29 -0800)]
Frameworks/base: Replace LOG_FATAL_IF in core/jni

Do not use LOG_FATAL_IF in JNI setup. This is one-time on startup
and important enough to always check.

Add a header with common helper definitions. Move to inlined functions
instead of macros to clean up the code.

Change-Id: Ib12d0eed61b110c45d748e80ec36c563e9dec7e5

9 years agoTell installd when boot completes.
Narayan Kamath [Mon, 10 Nov 2014 14:23:41 +0000 (14:23 +0000)]
Tell installd when boot completes.

installd can then clear the ".booting" marker from the dalvik-cache
(owned by root). This marker is used to detect boot loops.

bug: 18280671

(cherry picked from commit 76a748e62f354c799342044f724e1f4b80121837)

Change-Id: I2364c05837ac04d428b5a34ab1802964a11d2df4

9 years agoDefault icon is shown after uninstalling updated priv-app
Akira Numata [Tue, 11 Mar 2014 03:53:14 +0000 (12:53 +0900)]
Default icon is shown after uninstalling updated priv-app

If updated pre-installed app is moved from "/system/app" to
"/system/priv-app" at FOTA, PackageManager does not update its
resource path correctly. This patch fixes it.

Change-Id: Iac793bcb8fd7c5bfbafd1876640b534c6da5dddf

9 years agoMerge "PopupWindow: fix typo in doc comment"
Adam Powell [Tue, 18 Nov 2014 23:32:55 +0000 (23:32 +0000)]
Merge "PopupWindow: fix typo in doc comment"

9 years agoMerge "Frameworks/base: Compiled-classes support"
Andreas Gampe [Tue, 18 Nov 2014 22:49:13 +0000 (22:49 +0000)]
Merge "Frameworks/base: Compiled-classes support"

9 years agoFrameworks/base: Compiled-classes support
Andreas Gampe [Tue, 18 Nov 2014 19:48:22 +0000 (11:48 -0800)]
Frameworks/base: Compiled-classes support

Let AndroidRuntime check for /system/etc/compiled-classes and push
it to the runtime for boot image creation.

Bug: 18410571

(cherry picked from commit ca775941f3b7981aabf3a6a3b84d6c94f4f76aff)

Change-Id: I2510316381f2661166af24d7e14b013f4e045556

9 years agoMerge "Frameworks/base: Ignore unknown pragmas in core/jni"
Andreas Gampe [Tue, 18 Nov 2014 22:39:30 +0000 (22:39 +0000)]
Merge "Frameworks/base: Ignore unknown pragmas in core/jni"

9 years agoFrameworks/base: Ignore unknown pragmas in core/jni
Andreas Gampe [Tue, 18 Nov 2014 22:38:00 +0000 (14:38 -0800)]
Frameworks/base: Ignore unknown pragmas in core/jni

Preparation for a switch to Clang.

Change-Id: Iabe1d79474a617bec66dd4bf58002b1a372f6d23

9 years agoMerge "Use standard initializers"
Chih-hung Hsieh [Tue, 18 Nov 2014 18:04:28 +0000 (18:04 +0000)]
Merge "Use standard initializers"

9 years agoStop using DATE_FORMAT from settings.
Narayan Kamath [Tue, 18 Nov 2014 14:52:04 +0000 (14:52 +0000)]
Stop using DATE_FORMAT from settings.

bug: 18388178
Change-Id: I315dc463bb0569adc0b5d1c5ac5a17485f2b5adc

9 years agoUse standard initializers
Bernhard Rosenkränzer [Mon, 17 Nov 2014 22:42:21 +0000 (23:42 +0100)]
Use standard initializers

Use standard initializers rather than GNU extension initializers to
prevent clang from spewing warnings about nonstandard code.

BUG: 18193625

Change-Id: I19bf7fe9c401534af82d5a08e68fbd486bec8351
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Use fabsf() rather than abs()"
Chih-hung Hsieh [Mon, 17 Nov 2014 22:41:10 +0000 (22:41 +0000)]
Merge "Use fabsf() rather than abs()"

9 years agoMerge "Fix check for PROC_QUOTES mode"
Chih-hung Hsieh [Mon, 17 Nov 2014 22:38:55 +0000 (22:38 +0000)]
Merge "Fix check for PROC_QUOTES mode"

9 years agoUse fabsf() rather than abs()
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:48:46 +0000 (21:48 +0100)]
Use fabsf() rather than abs()

abs() operates on integers -- to check floats accurately, fabsf
should be used.

Change-Id: I1a4e85f8f5e0d08ff38d307c5c31e2b6783ab7af
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoFix check for PROC_QUOTES mode
Bernhard Rosenkränzer [Mon, 17 Nov 2014 21:30:56 +0000 (22:30 +0100)]
Fix check for PROC_QUOTES mode

Since != has priority over &, the "if ((mode&PROC_QUOTES != 0))" check
is the same as "if (mode & (PROC_QUOTES!=0))" - not what the code
intends.

Change-Id: I14840a887f26c28f2bd0aee8704c79cf353164ad
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoFix incorrect usage of bool
Bernhard Rosenkränzer [Mon, 17 Nov 2014 21:01:27 +0000 (22:01 +0100)]
Fix incorrect usage of bool

A bool can't be < 0

Change-Id: Ie94ffadcb38c95214d1105c02610e59b4b2872b2
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Frameworks/base: AndroidRuntime standalone preloaded-classes"
Ying Wang [Mon, 17 Nov 2014 19:35:39 +0000 (19:35 +0000)]
Merge "Frameworks/base: AndroidRuntime standalone preloaded-classes"

9 years agoMerge "Move preloaded-classes out of framework.jar."
Ying Wang [Mon, 17 Nov 2014 19:34:46 +0000 (19:34 +0000)]
Merge "Move preloaded-classes out of framework.jar."

9 years agoMove preloaded-classes out of framework.jar.
Ying Wang [Thu, 13 Nov 2014 23:22:47 +0000 (15:22 -0800)]
Move preloaded-classes out of framework.jar.

Instead we install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.

Bug: 18305157
Change-Id: I22f1a1dd44f90268d02532bf18405768523c0b1b

9 years agoFrameworks/base: AndroidRuntime standalone preloaded-classes
Andreas Gampe [Sat, 15 Nov 2014 00:15:17 +0000 (16:15 -0800)]
Frameworks/base: AndroidRuntime standalone preloaded-classes

Change AndroidRuntime::startVM to give the new standalone
preloaded-classes file to the runtime for compilation of images.

Bug: 18305157

(cherry picked from commit 995c62d6abd4b7080e52a60d1bffa32ae4a798a3)

Change-Id: I32a13357893222b25fbce60bf2367c23fb36ab22

9 years agoMerge "Update calls to IInterface::asBinder()"
Marco Nelissen [Mon, 17 Nov 2014 18:14:29 +0000 (18:14 +0000)]
Merge "Update calls to IInterface::asBinder()"

9 years agoUpdate calls to IInterface::asBinder()
Marco Nelissen [Fri, 14 Nov 2014 16:00:42 +0000 (08:00 -0800)]
Update calls to IInterface::asBinder()

to use the new static version.

Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a

9 years agoMerge "Add Float32 suppor for IntrinsicResize. base part."
Miao Wang [Fri, 14 Nov 2014 18:02:13 +0000 (18:02 +0000)]
Merge "Add Float32 suppor for IntrinsicResize. base part."

9 years agoMerge "Frameworks/base: Fix build"
Andreas Gampe [Thu, 13 Nov 2014 23:45:06 +0000 (23:45 +0000)]
Merge "Frameworks/base: Fix build"

9 years agoFrameworks/base: Fix build
Andreas Gampe [Thu, 13 Nov 2014 23:44:27 +0000 (15:44 -0800)]
Frameworks/base: Fix build

Fix a typo.

Change-Id: Ida417c842563576b053d9f5553a2aa8d5862897c

9 years agoAdd Float32 suppor for IntrinsicResize. base part.
Miao Wang [Thu, 13 Nov 2014 23:32:18 +0000 (15:32 -0800)]
Add Float32 suppor for IntrinsicResize. base part.

Change-Id: I37e8826cfab92512cc641b106a42723162bffe58

9 years agoMerge "Frameworks/base: Wall Werror in packages"
Andreas Gampe [Thu, 13 Nov 2014 23:29:31 +0000 (23:29 +0000)]
Merge "Frameworks/base: Wall Werror in packages"

9 years agoFrameworks/base: Wall Werror in packages
Andreas Gampe [Tue, 11 Nov 2014 04:00:25 +0000 (20:00 -0800)]
Frameworks/base: Wall Werror in packages

Turn on -Wall -Werror in packages/. Fix warnings.

Change-Id: I4ec7256a7df46017e1895575719f2b5aca978bd0

9 years agoMerge "Frameworks/base: Wall Werror in core/jni"
Andreas Gampe [Thu, 13 Nov 2014 23:21:36 +0000 (23:21 +0000)]
Merge "Frameworks/base: Wall Werror in core/jni"

9 years agoFrameworks/base: Wall Werror in core/jni
Andreas Gampe [Wed, 12 Nov 2014 16:03:48 +0000 (08:03 -0800)]
Frameworks/base: Wall Werror in core/jni

Turn on -Wall -Werror in core/jni. Fix warnings.

Clang TODO: For GCC we need to turn off Wunused-but-set-variable in
the GL bindings. However, Clang doesn't have that warning and thus
complains about an unknown pragma. It is necessary to make the
pragma #ifdef-ed on the compiler being GCC.

Change-Id: I14cab48d45c2771eef0432082356c47ed44a3d7f

9 years agoMerge "kill HAVE_LOCALTIME_R"
Yabin Cui [Thu, 13 Nov 2014 18:14:12 +0000 (18:14 +0000)]
Merge "kill HAVE_LOCALTIME_R"

9 years agokill HAVE_LOCALTIME_R
Yabin Cui [Thu, 13 Nov 2014 17:57:22 +0000 (09:57 -0800)]
kill HAVE_LOCALTIME_R

Bug: 18361583
Change-Id: Ia79e2b641fd6c61ae5d2b8f2db5456bd3d36a25b

9 years agoMerge "Frameworks/base: New GL bindings"
Andreas Gampe [Thu, 13 Nov 2014 17:43:48 +0000 (17:43 +0000)]
Merge "Frameworks/base: New GL bindings"

9 years agoFrameworks/base: New GL bindings
Andreas Gampe [Wed, 12 Nov 2014 22:12:45 +0000 (14:12 -0800)]
Frameworks/base: New GL bindings

Generated new bindings after glgen update.

Change-Id: I96f2e3eee99f1e12ad84aa10e8f7826a905e909c

9 years agoMerge "Move frameworks/base over to libc++."
Dan Albert [Wed, 12 Nov 2014 21:11:48 +0000 (21:11 +0000)]
Merge "Move frameworks/base over to libc++."

9 years agoMove frameworks/base over to libc++.
Dan Albert [Wed, 12 Nov 2014 03:31:26 +0000 (19:31 -0800)]
Move frameworks/base over to libc++.

Bug: 15193147
Change-Id: I96109d2d383f0c8a4aaa611f29fcf887afb3c69e

9 years agoMerge "Drop unused String."
Nick Kralevich [Wed, 12 Nov 2014 18:05:16 +0000 (18:05 +0000)]
Merge "Drop unused String."

9 years agoMerge "Skip receiver if failed linkToDeath to ILocationListener"
Mike Lockwood [Wed, 12 Nov 2014 17:50:19 +0000 (17:50 +0000)]
Merge "Skip receiver if failed linkToDeath to ILocationListener"

9 years agoMerge "Frameworks/base: Wall Werror in common_time"
Andreas Gampe [Wed, 12 Nov 2014 17:35:15 +0000 (17:35 +0000)]
Merge "Frameworks/base: Wall Werror in common_time"

9 years agoFrameworks/base: Wall Werror in common_time
Andreas Gampe [Mon, 10 Nov 2014 19:51:01 +0000 (11:51 -0800)]
Frameworks/base: Wall Werror in common_time

Turn on warnings and errors in common_time.

Fix a code path in CommonTimeServer::handleSyncResponse in which
and uninitialized variable is returned.

Change-Id: I2f80f063c625f032266647d0507f573370202707

9 years agoDrop unused String.
Robert Craig [Wed, 12 Nov 2014 15:43:45 +0000 (10:43 -0500)]
Drop unused String.

Change-Id: I152447bec37db33f6c4356e2a373b00ff99d7de7
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
9 years agoRemove unused variable
Bernhard Rosenkränzer [Wed, 12 Nov 2014 13:39:59 +0000 (14:39 +0100)]
Remove unused variable

Remove unused variable clang complains about

Change-Id: I05ef90f45dbed0f51dace9c65a941f948fe579e7
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Prevent resource leak in YuvToJpegEncoder"
Elliott Hughes [Wed, 12 Nov 2014 01:45:42 +0000 (01:45 +0000)]
Merge "Prevent resource leak in YuvToJpegEncoder"

9 years agoMerge "Frameworks/base: Right transform in DngCreator"
Andreas Gampe [Wed, 12 Nov 2014 01:44:30 +0000 (01:44 +0000)]
Merge "Frameworks/base: Right transform in DngCreator"

9 years agoMerge "Fix for CharSequenceCreator test case"
Elliott Hughes [Wed, 12 Nov 2014 01:38:58 +0000 (01:38 +0000)]
Merge "Fix for CharSequenceCreator test case"

9 years agoMerge "Frameworks/base: Fix FingerprintManager JNI"
Andreas Gampe [Tue, 11 Nov 2014 23:47:52 +0000 (23:47 +0000)]
Merge "Frameworks/base: Fix FingerprintManager JNI"

9 years agoMerge "Frameworks/base: Wall Werror in rs"
Andreas Gampe [Tue, 11 Nov 2014 23:47:24 +0000 (23:47 +0000)]
Merge "Frameworks/base: Wall Werror in rs"

9 years agoMerge "Fixing NULL pointer access causing segmentation fault in aapt"
Adam Lesinski [Tue, 11 Nov 2014 19:36:19 +0000 (19:36 +0000)]
Merge "Fixing NULL pointer access causing segmentation fault in aapt"

9 years agoMerge "Frameworks/base: Fix AssetManager JNI"
Adam Lesinski [Tue, 11 Nov 2014 19:35:28 +0000 (19:35 +0000)]
Merge "Frameworks/base: Fix AssetManager JNI"

9 years agoPrevent resource leak in YuvToJpegEncoder
Martin Wallgren [Wed, 20 Aug 2014 12:58:58 +0000 (14:58 +0200)]
Prevent resource leak in YuvToJpegEncoder

SkWStream is never deleted before going out of scope

Change-Id: Ifdb75c18336d095b012e73b64281ec6c2fc5c3fe