OSDN Git Service

android-x86/frameworks-base.git
11 years agoAdd an API to allow for creating private virtual displays.
Jeff Brown [Tue, 4 Jun 2013 07:02:38 +0000 (00:02 -0700)]
Add an API to allow for creating private virtual displays.

This change enables applications to create a private virtual
display that renders its content to a surface of its own creation.
The display is private in the sense that only the application
that owns the display is allowed to place windows upon it.
Mirroring and blanking is also disabled for these displays.

Bug: 9192512
Change-Id: I852ea07f0c7df1d244e354e3daca3a6960285ca0

11 years agoMerge "Fix bug #9463581 NPE observed while launching News&Weather app from all apps...
Fabrice Di Meglio [Tue, 18 Jun 2013 21:54:49 +0000 (21:54 +0000)]
Merge "Fix bug #9463581 NPE observed while launching News&Weather app from all apps tray"

11 years agoMerge "Crash in ViewRootImpl when accessibility is on."
Svetoslav [Tue, 18 Jun 2013 21:46:46 +0000 (21:46 +0000)]
Merge "Crash in ViewRootImpl when accessibility is on."

11 years agoCrash in ViewRootImpl when accessibility is on.
Svetoslav [Tue, 18 Jun 2013 21:43:43 +0000 (14:43 -0700)]
Crash in ViewRootImpl when accessibility is on.

We fire view subtree mutation events every X amount of time.
It was possible that the runnable that fires an event to be
scheduled more than once while this should not happen. As
a result there was a crash since we did not expect to have
a second run and nullified a reference.

bug:9422804

Change-Id: I914e163b026cd217e1536ab0ed3a6b11113c2c73

11 years agoFix bug #9463581 NPE observed while launching News&Weather app from all apps tray
Fabrice Di Meglio [Tue, 18 Jun 2013 21:09:07 +0000 (14:09 -0700)]
Fix bug #9463581 NPE observed while launching News&Weather app from all apps tray

- dont suppose that there will always be one child

Change-Id: I51c5cdf06294af25c992cfbaacabbc29dd1b9ad3

11 years agoMerge "Remove un-used snippetize method from ContactsContract."
Chiao Cheng [Tue, 18 Jun 2013 20:51:42 +0000 (20:51 +0000)]
Merge "Remove un-used snippetize method from ContactsContract."

11 years agoMerge "Update Javadoc references"
Svetoslav [Tue, 18 Jun 2013 20:31:17 +0000 (20:31 +0000)]
Merge "Update Javadoc references"

11 years agoUpdate Javadoc references
Svetoslav [Tue, 18 Jun 2013 20:30:35 +0000 (13:30 -0700)]
Update Javadoc references

Change-Id: I2e4834070de6ebd55e6350f31f9f8e619cb0ff2d

11 years agoMerge "Take hinting into account when caching fonts Bug #9464403"
Romain Guy [Tue, 18 Jun 2013 20:08:38 +0000 (20:08 +0000)]
Merge "Take hinting into account when caching fonts Bug #9464403"

11 years agoMerge "Add Y8 and Y16 image format"
Zhijun He [Tue, 18 Jun 2013 20:06:21 +0000 (20:06 +0000)]
Merge "Add Y8 and Y16 image format"

11 years agoTake hinting into account when caching fonts
Romain Guy [Tue, 18 Jun 2013 19:59:25 +0000 (12:59 -0700)]
Take hinting into account when caching fonts
Bug #9464403

Change-Id: I26a5f0c17eb27d096717b444d3e18ad1d2b5a43c

11 years agoMerge "Stop spewing errors into the logs."
Geremy Condra [Tue, 18 Jun 2013 18:02:14 +0000 (18:02 +0000)]
Merge "Stop spewing errors into the logs."

11 years agoStop spewing errors into the logs.
Geremy Condra [Tue, 18 Jun 2013 17:38:27 +0000 (10:38 -0700)]
Stop spewing errors into the logs.

These are for debugging. Marking them that way.

Bug: 9479475
Change-Id: Ia0c27829583ecbab58a60a8c8350e9c099b812c2

11 years agoMerge "Adding traits APIs to AccessibilityNodeInfo."
Svetoslav [Tue, 18 Jun 2013 17:42:26 +0000 (17:42 +0000)]
Merge "Adding traits APIs to AccessibilityNodeInfo."

11 years agoAdding traits APIs to AccessibilityNodeInfo.
Svetoslav [Thu, 6 Jun 2013 21:09:10 +0000 (14:09 -0700)]
Adding traits APIs to AccessibilityNodeInfo.

This change adds several traits and properties to AccessibilityNodeInfo
aiming to allow better description of native Android components to
accessibility services as well as mapping web content to native Android
node info tree.

Change-Id: I36b893cbaa6213c9d02d805e9dc36b6d792b4961

11 years agoAdd Y8 and Y16 image format
Zhijun He [Fri, 14 Jun 2013 16:36:02 +0000 (09:36 -0700)]
Add Y8 and Y16 image format

These APIs are hidden. Also correct the value of RAW_SENSOR.

Bug: 9254294
Change-Id: Ic6271f5f6bfcfdd8b545d69a9a2154241c34d73b

11 years agoMerge "Add generic sugar for ArrayMap and ArraySet."
Jeff Sharkey [Tue, 18 Jun 2013 16:42:45 +0000 (16:42 +0000)]
Merge "Add generic sugar for ArrayMap and ArraySet."

11 years agoAdd generic sugar for ArrayMap and ArraySet.
Jeff Sharkey [Tue, 18 Jun 2013 16:27:23 +0000 (09:27 -0700)]
Add generic sugar for ArrayMap and ArraySet.

Change-Id: Id749bd41f2e53664c00a0199c14babd2b63087fb

11 years agoMerge "Use package name when caching SharedPreferences."
Jeff Sharkey [Tue, 18 Jun 2013 16:17:17 +0000 (16:17 +0000)]
Merge "Use package name when caching SharedPreferences."

11 years agoam 8303a203: am 94ba190e: am de04dfb6: Merge "some extra docs for TextDirectionHeuris...
Scott Main [Tue, 18 Jun 2013 05:14:28 +0000 (22:14 -0700)]
am 8303a203: am 94ba190e: am de04dfb6: Merge "some extra docs for TextDirectionHeuristic" into jb-mr2-dev

* commit '8303a2036efd93eecda6da1e481e1659a40ca12e':
  some extra docs for TextDirectionHeuristic

11 years agoam 94ba190e: am de04dfb6: Merge "some extra docs for TextDirectionHeuristic" into...
Scott Main [Tue, 18 Jun 2013 05:13:17 +0000 (22:13 -0700)]
am 94ba190e: am de04dfb6: Merge "some extra docs for TextDirectionHeuristic" into jb-mr2-dev

* commit '94ba190ebbd4fe7f8933d531cce7b4be8e04f287':
  some extra docs for TextDirectionHeuristic

11 years agoam de04dfb6: Merge "some extra docs for TextDirectionHeuristic" into jb-mr2-dev
Scott Main [Tue, 18 Jun 2013 05:12:14 +0000 (22:12 -0700)]
am de04dfb6: Merge "some extra docs for TextDirectionHeuristic" into jb-mr2-dev

* commit 'de04dfb62dd43827c63c267003264966dd76c614':
  some extra docs for TextDirectionHeuristic

11 years agoMerge "some extra docs for TextDirectionHeuristic" into jb-mr2-dev
Scott Main [Tue, 18 Jun 2013 05:10:32 +0000 (05:10 +0000)]
Merge "some extra docs for TextDirectionHeuristic" into jb-mr2-dev

11 years agoam c5ad4610: am c8b4658a: am 1a0a50e7: add collapsed list items for 4.1 TOC
Scott Main [Tue, 18 Jun 2013 02:27:26 +0000 (19:27 -0700)]
am c5ad4610: am c8b4658a: am 1a0a50e7: add collapsed list items for 4.1 TOC

* commit 'c5ad4610690f97a0dadfffa9bef29db115065a54':
  add collapsed list items for 4.1 TOC

11 years agoam c8b4658a: am 1a0a50e7: add collapsed list items for 4.1 TOC
Scott Main [Tue, 18 Jun 2013 02:25:00 +0000 (19:25 -0700)]
am c8b4658a: am 1a0a50e7: add collapsed list items for 4.1 TOC

* commit 'c8b4658a5491cd6af322d47c96c00d0a77425f7f':
  add collapsed list items for 4.1 TOC

11 years agoam 1a0a50e7: add collapsed list items for 4.1 TOC
Scott Main [Tue, 18 Jun 2013 02:23:02 +0000 (19:23 -0700)]
am 1a0a50e7: add collapsed list items for 4.1 TOC

* commit '1a0a50e7c23fb0ec5fe818a7069b890f22632691':
  add collapsed list items for 4.1 TOC

11 years agoadd collapsed list items for 4.1 TOC
Scott Main [Tue, 18 Jun 2013 02:19:38 +0000 (19:19 -0700)]
add collapsed list items for 4.1 TOC

Change-Id: I241fb5415a3b893df7c8491c7a549f3d0d304e74

11 years agosome extra docs for TextDirectionHeuristic
Scott Main [Thu, 23 May 2013 01:17:44 +0000 (18:17 -0700)]
some extra docs for TextDirectionHeuristic

Change-Id: I8ceac72a76a29bde0e25ed418110a6e4120654e3

11 years agoam ea893536: am c4473d10: am 27a8508e: add attributes reference for splimotionevents...
Scott Main [Tue, 18 Jun 2013 01:41:29 +0000 (18:41 -0700)]
am ea893536: am c4473d10: am 27a8508e: add attributes reference for splimotionevents and layoutmode

* commit 'ea8935362da192508a4ff945b47e0c7ff1239679':
  add attributes reference for splimotionevents and layoutmode

11 years agoam c4473d10: am 27a8508e: add attributes reference for splimotionevents and layoutmode
Scott Main [Tue, 18 Jun 2013 01:39:18 +0000 (18:39 -0700)]
am c4473d10: am 27a8508e: add attributes reference for splimotionevents and layoutmode

* commit 'c4473d10ed747fb1e84efff7183023e0ecc1a493':
  add attributes reference for splimotionevents and layoutmode

11 years agoam 27a8508e: add attributes reference for splimotionevents and layoutmode
Scott Main [Tue, 18 Jun 2013 01:36:09 +0000 (18:36 -0700)]
am 27a8508e: add attributes reference for splimotionevents and layoutmode

* commit '27a8508ee1236ded652cd452b93884a9193654fc':
  add attributes reference for splimotionevents and layoutmode

11 years agoMerge "Add new API getStackBoxInfo"
Craig Mautner [Tue, 18 Jun 2013 01:35:30 +0000 (01:35 +0000)]
Merge "Add new API getStackBoxInfo"

11 years agoAdd new API getStackBoxInfo
Craig Mautner [Mon, 17 Jun 2013 23:15:42 +0000 (16:15 -0700)]
Add new API getStackBoxInfo

Change-Id: Ie2861e5e31bb3876cfe2d5c3d04ff58bb3955634

11 years agoam 2f3f86c1: am 1d4cd879: am 11cd57ca: Merge "Avoid unnecessary FindClass("java/lang...
Dianne Hackborn [Tue, 18 Jun 2013 01:33:49 +0000 (18:33 -0700)]
am 2f3f86c1: am 1d4cd879: am 11cd57ca: Merge "Avoid unnecessary FindClass("java/lang/String")."

* commit '2f3f86c113f10b841b8597a05f724a996ba76641':
  Avoid unnecessary FindClass("java/lang/String").

11 years agoadd attributes reference for splimotionevents and layoutmode
Scott Main [Mon, 10 Jun 2013 17:39:48 +0000 (10:39 -0700)]
add attributes reference for splimotionevents and layoutmode

Change-Id: Id78f2957c994fc30a0837084f22766c8cfa70fe8

11 years agoRemove un-used snippetize method from ContactsContract.
Chiao Cheng [Tue, 18 Jun 2013 01:31:34 +0000 (18:31 -0700)]
Remove un-used snippetize method from ContactsContract.

Bug: 7896653
Change-Id: I5db6f9a58ce747605f66c681036795cdd3ed5d01

11 years agoam 1d4cd879: am 11cd57ca: Merge "Avoid unnecessary FindClass("java/lang/String")."
Dianne Hackborn [Tue, 18 Jun 2013 01:28:58 +0000 (18:28 -0700)]
am 1d4cd879: am 11cd57ca: Merge "Avoid unnecessary FindClass("java/lang/String")."

* commit '1d4cd879044578cf7e2b37d45ef29abaabf7e662':
  Avoid unnecessary FindClass("java/lang/String").

11 years agoUse package name when caching SharedPreferences.
Jeff Sharkey [Tue, 18 Jun 2013 01:26:37 +0000 (18:26 -0700)]
Use package name when caching SharedPreferences.

Otherwise multiple applications using the same process can end up
leaking SharedPreferences instances between the apps.

Change-Id: I2eb0e693cebea1daf87a9176eb8c5a22b9e9ec0b

11 years agoam 11cd57ca: Merge "Avoid unnecessary FindClass("java/lang/String")."
Dianne Hackborn [Tue, 18 Jun 2013 01:21:41 +0000 (18:21 -0700)]
am 11cd57ca: Merge "Avoid unnecessary FindClass("java/lang/String")."

* commit '11cd57caee4058dab743b91e715d7469c59a5c2f':
  Avoid unnecessary FindClass("java/lang/String").

11 years agoMerge "Avoid unnecessary FindClass("java/lang/String")."
Dianne Hackborn [Tue, 18 Jun 2013 01:14:37 +0000 (01:14 +0000)]
Merge "Avoid unnecessary FindClass("java/lang/String")."

11 years agoam 8e8f5c11: am e4f975a3: am 7328de3d: am 23f33bda: am 6b55515e: am 41b08da8: replace...
Scott Main [Tue, 18 Jun 2013 01:04:02 +0000 (18:04 -0700)]
am 8e8f5c11: am e4f975a3: am 7328de3d: am 23f33bda: am 6b55515e: am 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist

* commit '8e8f5c119e39584a0539253155e4014b7045d43e':
  replace 'developers strick back' with 'this week in android' playlist

11 years agoam e4f975a3: am 7328de3d: am 23f33bda: am 6b55515e: am 41b08da8: replace \'developers...
Scott Main [Tue, 18 Jun 2013 01:01:32 +0000 (18:01 -0700)]
am e4f975a3: am 7328de3d: am 23f33bda: am 6b55515e: am 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist

* commit 'e4f975a3212d5cf4ba3a94d047674aebbc5285d1':
  replace 'developers strick back' with 'this week in android' playlist

11 years agoam 7328de3d: am 23f33bda: am 6b55515e: am 41b08da8: replace \'developers strick back...
Scott Main [Tue, 18 Jun 2013 00:59:29 +0000 (17:59 -0700)]
am 7328de3d: am 23f33bda: am 6b55515e: am 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist

* commit '7328de3d02b8784b7562e1e0d2e749fdb854a095':
  replace 'developers strick back' with 'this week in android' playlist

11 years agoam 23f33bda: am 6b55515e: am 41b08da8: replace \'developers strick back\' with \...
Scott Main [Tue, 18 Jun 2013 00:56:54 +0000 (17:56 -0700)]
am 23f33bda: am 6b55515e: am 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist

* commit '23f33bdab3da7ac3eb11d483eb038024ed4e3564':
  replace 'developers strick back' with 'this week in android' playlist

11 years agoam 6b55515e: am 41b08da8: replace \'developers strick back\' with \'this week in...
Scott Main [Tue, 18 Jun 2013 00:54:26 +0000 (17:54 -0700)]
am 6b55515e: am 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist

* commit '6b55515ed3c1e97b0dd932a482c375d0103f84cc':
  replace 'developers strick back' with 'this week in android' playlist

11 years agoam 7ea4e277: am 8fcb169f: am edc3bb66: Disable a flaky test case
Xia Wang [Tue, 18 Jun 2013 00:53:20 +0000 (17:53 -0700)]
am 7ea4e277: am 8fcb169f: am edc3bb66: Disable a flaky test case

* commit '7ea4e277fd7bdb7e2aa230509f57c1af39f5bf4b':
  Disable a flaky test case

11 years agoam 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist
Scott Main [Tue, 18 Jun 2013 00:53:06 +0000 (17:53 -0700)]
am 41b08da8: replace \'developers strick back\' with \'this week in android\' playlist

* commit '41b08da8198e76118ef7167058a88cb920f9fb74':
  replace 'developers strick back' with 'this week in android' playlist

11 years agoam 8fcb169f: am edc3bb66: Disable a flaky test case
Xia Wang [Tue, 18 Jun 2013 00:51:57 +0000 (17:51 -0700)]
am 8fcb169f: am edc3bb66: Disable a flaky test case

* commit '8fcb169f7989123f993adfac5894d1ad5f35ed0b':
  Disable a flaky test case

11 years agoam edc3bb66: Disable a flaky test case
Xia Wang [Tue, 18 Jun 2013 00:48:47 +0000 (17:48 -0700)]
am edc3bb66: Disable a flaky test case

* commit 'edc3bb661e9c8964d3926cbd7344793a32a2c2cd':
  Disable a flaky test case

11 years agoreplace 'developers strick back' with 'this week in android' playlist
Scott Main [Tue, 18 Jun 2013 00:47:36 +0000 (17:47 -0700)]
replace 'developers strick back' with 'this week in android' playlist

Change-Id: I0aa94f6332da8543d7a2eba80307a36c26d7654c

11 years agoDisable a flaky test case
Xia Wang [Mon, 17 Jun 2013 23:54:40 +0000 (16:54 -0700)]
Disable a flaky test case

Change-Id: I4ef780ed0c5394b67aa002baefc00e835018c4a0

11 years agoMerge "Handle all text bounds as post-translated"
Chris Craik [Mon, 17 Jun 2013 22:50:39 +0000 (22:50 +0000)]
Merge "Handle all text bounds as post-translated"

11 years agoHandle all text bounds as post-translated
Chris Craik [Mon, 17 Jun 2013 22:17:11 +0000 (15:17 -0700)]
Handle all text bounds as post-translated

We were treating immediate mode bounds as pre translate, which is
inconsistent with using them for quickRejection.

This fixes the overdraw counter not drawing correctly (since it uses
immediate mode drawing.

Change-Id: I1c734d367a00942bd7d9b041822c0a9f284e70a8

11 years agoMerge "Don't flip action bar main content and tabs"
Adam Powell [Mon, 17 Jun 2013 21:23:23 +0000 (21:23 +0000)]
Merge "Don't flip action bar main content and tabs"

11 years agoDon't flip action bar main content and tabs
Adam Powell [Mon, 17 Jun 2013 21:16:02 +0000 (14:16 -0700)]
Don't flip action bar main content and tabs

Nobody ever used or liked this "feature" anyway. Onward and upward!

Change-Id: Ica65c413d13ddb998992c7d8761ad5134f75e4fd

11 years agoMerge "Better handle op size edge cases"
Chris Craik [Mon, 17 Jun 2013 21:02:56 +0000 (21:02 +0000)]
Merge "Better handle op size edge cases"

11 years agoBetter handle op size edge cases
Chris Craik [Mon, 17 Jun 2013 20:52:06 +0000 (13:52 -0700)]
Better handle op size edge cases

bug:9464358

Previously, empty and unknown sized ops are assumed to fully cover
their clip. This is now corrected such that empty sized ops are
pre-rejected before defer. Additionally, unknown sized ops disable
overdraw avoidance.

Change-Id: Icf2ce24f98be5ea6299e24ffcf826790373564a1

11 years agoam 704dfbfe: am 48fa06f3: am f6a67139: Merge "Correct Date format for el_GR, sv_SE...
Elliott Hughes [Mon, 17 Jun 2013 20:43:53 +0000 (13:43 -0700)]
am 704dfbfe: am 48fa06f3: am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"

* commit '704dfbfec40b4a51000e244a98e8723bb00ba321':
  Correct Date format for el_GR, sv_SE and tr_TR locales

11 years agoam 48fa06f3: am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"
Elliott Hughes [Mon, 17 Jun 2013 20:41:24 +0000 (13:41 -0700)]
am 48fa06f3: am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"

* commit '48fa06f34fe3098fd820b97d9d28c9f27f8591de':
  Correct Date format for el_GR, sv_SE and tr_TR locales

11 years agoMerge "Cancel layer update when a layer is about to be destroyed Bug #9310706"
Romain Guy [Mon, 17 Jun 2013 20:39:45 +0000 (20:39 +0000)]
Merge "Cancel layer update when a layer is about to be destroyed Bug #9310706"

11 years agoam f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"
Elliott Hughes [Mon, 17 Jun 2013 20:38:59 +0000 (13:38 -0700)]
am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"

* commit 'f6a671394ca3d269835d5f5b882b46f9539e9a96':
  Correct Date format for el_GR, sv_SE and tr_TR locales

11 years agoMerge "Correct Date format for el_GR, sv_SE and tr_TR locales"
Elliott Hughes [Mon, 17 Jun 2013 20:36:53 +0000 (20:36 +0000)]
Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"

11 years agoCorrect Date format for el_GR, sv_SE and tr_TR locales
howardb [Sun, 16 Jun 2013 13:16:53 +0000 (14:16 +0100)]
Correct Date format for el_GR, sv_SE and tr_TR locales

Amend DateFormat.getDateFormat to CLDR data from icu4c
instead of locale specific resource entries which are incorrect
for several locales.

No CTS tests are added as they require changing the locale which
is not currently possible.

Bug: https://code.google.com/p/android/issues/detail?id=56385

Change-Id: Ibd11c7fd9b595e19a3e2bf508e1585aa50067e03
Signed-off-by: howardb <android@howardb.com>
11 years agoCancel layer update when a layer is about to be destroyed
Romain Guy [Mon, 17 Jun 2013 20:14:51 +0000 (13:14 -0700)]
Cancel layer update when a layer is about to be destroyed
Bug #9310706

Change-Id: I73eea6314c326f15a979617e3a05b525935f0d3f

11 years agoMerge "Check for layer renderer in flush"
Chris Craik [Mon, 17 Jun 2013 20:16:37 +0000 (20:16 +0000)]
Merge "Check for layer renderer in flush"

11 years agoCheck for layer renderer in flush
Chris Craik [Mon, 17 Jun 2013 20:02:12 +0000 (13:02 -0700)]
Check for layer renderer in flush

bug:9310706

In some cases flush will occur after a layer is destroyed. Avoid
trying to draw after putting the layer in the layer cache.

Change-Id: I55d66f420e7354fe552c82eb3145a7d91b4441e3

11 years agoMerge "Some system apps are more system than others"
Christopher Tate [Mon, 17 Jun 2013 20:01:53 +0000 (20:01 +0000)]
Merge "Some system apps are more system than others"

11 years agoMerge "make setHinting(HINTING_ON) kNormal_Hinting"
Victoria Lease [Mon, 17 Jun 2013 19:56:04 +0000 (19:56 +0000)]
Merge "make setHinting(HINTING_ON) kNormal_Hinting"

11 years agoSome system apps are more system than others
Christopher Tate [Wed, 8 May 2013 22:25:41 +0000 (15:25 -0700)]
Some system apps are more system than others

"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d

11 years agoMerge "Don't bring stack forward when moving tasks."
Craig Mautner [Mon, 17 Jun 2013 19:34:11 +0000 (19:34 +0000)]
Merge "Don't bring stack forward when moving tasks."

11 years agoDon't bring stack forward when moving tasks.
Craig Mautner [Mon, 17 Jun 2013 19:18:29 +0000 (12:18 -0700)]
Don't bring stack forward when moving tasks.

Change-Id: I222eda9e3ea62119c8948a99a63de55b13ca69f4

11 years agomake setHinting(HINTING_ON) kNormal_Hinting
Victoria Lease [Fri, 14 Jun 2013 23:15:41 +0000 (16:15 -0700)]
make setHinting(HINTING_ON) kNormal_Hinting

Previously, the default hinting mode for a freshly-constructed Paint
object is equivalent to Skia's kNormal_Hinting mode, in which font
hints are respected if available. Calling
Paint.setHinting(HINTING_ON), however, is equivalent to setting
Skia's kSlight_Hinting mode, in which font hints are ignored in
favour of freetype-generated autohints.

This discrepancy is bad for a variety of reasons:
- Once Paint.setHinting() has been called, it is impossible to return
  to the default hinting level.
- Calling paint.setHinting(otherPaint.getHinting()) can result in
  paint having a different hinting level than otherPaint.
- Paint.setHinting(HINTING_ON) actually results in font hints being
  ignored, which is perhaps the opposite of the intended behaviour.

This commit resolves these discrepancies by making HINTING_ON
correspond to Skia's kNormal_Hinting setting.

Change-Id: Iefb8e051ef53bea783e6f3be37748985ec397bc5
Bug: 9466164

11 years agoMerge "Lazily allocate seldom-used data structures"
Romain Guy [Mon, 17 Jun 2013 18:34:34 +0000 (18:34 +0000)]
Merge "Lazily allocate seldom-used data structures"

11 years agoLazily allocate seldom-used data structures
Romain Guy [Mon, 17 Jun 2013 18:21:58 +0000 (11:21 -0700)]
Lazily allocate seldom-used data structures

Change-Id: I8d6b9d2d821168329206c01ed6539a1466af272f

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Mon, 17 Jun 2013 18:31:33 +0000 (18:31 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoMerge "Lazily allocate seldom-used data structures"
Romain Guy [Mon, 17 Jun 2013 18:23:42 +0000 (18:23 +0000)]
Merge "Lazily allocate seldom-used data structures"

11 years agoLazily allocate seldom-used data structures
Romain Guy [Mon, 17 Jun 2013 18:21:58 +0000 (11:21 -0700)]
Lazily allocate seldom-used data structures

Change-Id: I8d6b9d2d821168329206c01ed6539a1466af272f

11 years agoMerge "Fix clip merging behavior"
Chris Craik [Mon, 17 Jun 2013 18:11:34 +0000 (18:11 +0000)]
Merge "Fix clip merging behavior"

11 years agoMerge "Deprecate webview.use_chromium and introduce webview.force_provider."
Primiano Tucci [Mon, 17 Jun 2013 17:36:38 +0000 (17:36 +0000)]
Merge "Deprecate webview.use_chromium and introduce webview.force_provider."

11 years agoAvoid unnecessary FindClass("java/lang/String").
Vladimir Marko [Mon, 17 Jun 2013 11:46:22 +0000 (12:46 +0100)]
Avoid unnecessary FindClass("java/lang/String").

Use previously retrieved global reference instead.
Check for NULL after creating the global reference.

Change-Id: I21670d2ef0f63ddb5801dd21e7e56359e5519479

11 years agoDeprecate webview.use_chromium and introduce webview.force_provider.
Primiano Tucci [Fri, 17 May 2013 10:50:19 +0000 (11:50 +0100)]
Deprecate webview.use_chromium and introduce webview.force_provider.

The new webview.force_provider property, when set, enforces the use
of Chromium or classic WebView, regardless the value of the
persist.sys.webview.exp (accessible through the settings UI).
This will help telemetry tests to run correctly regardless of UI
settings.

Change-Id: Ica5a0faa7f7539c22332cac5a8946f11fb7df6b2

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 17 Jun 2013 14:08:24 +0000 (07:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3ba51d668bb8a1d650bf442f2012cc25fab115dc
Auto-generated-cl: translation import

11 years agoMerge "Complete doDie() before executing addView()."
Craig Mautner [Mon, 17 Jun 2013 13:59:50 +0000 (13:59 +0000)]
Merge "Complete doDie() before executing addView()."

11 years agoMerge "More hideytoast stabilization."
John Spurlock [Sun, 16 Jun 2013 15:36:36 +0000 (15:36 +0000)]
Merge "More hideytoast stabilization."

11 years agoam b832dfe7: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do...
The Android Open Source Project [Sun, 16 Jun 2013 14:49:22 +0000 (07:49 -0700)]
am b832dfe7: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge

* commit 'b832dfe72f1bbdec778b50f258eae29f17fd8e0b':
  Temporarily restore some support for icon==0 notifications.

11 years agoReconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Sun, 16 Jun 2013 14:44:02 +0000 (07:44 -0700)]
Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge

Change-Id: I425b496bc37821b3d9c10f92b5799dd6010b89db

11 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Sun, 16 Jun 2013 12:55:34 +0000 (05:55 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

11 years agoam 5bc35c7a: (-s ours) am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO...
Baligh Uddin [Sun, 16 Jun 2013 02:26:03 +0000 (19:26 -0700)]
am 5bc35c7a: (-s ours) am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE

* commit '5bc35c7a50e7b5c55c88c8aa301a9277e17a4d34':
  Import translations. DO NOT MERGE

11 years agoam 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 16 Jun 2013 02:23:44 +0000 (19:23 -0700)]
am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE

* commit '9e7926f28a353f55042247529372848267516f36':
  Import translations. DO NOT MERGE

11 years agoam bdb795ba: (-s ours) am 2f9807b8: Import translations. DO NOT MERGE
Baligh Uddin [Sun, 16 Jun 2013 02:22:30 +0000 (19:22 -0700)]
am bdb795ba: (-s ours) am 2f9807b8: Import translations. DO NOT MERGE

* commit 'bdb795bab1c16e27ec86f303a96490805e4eb8dc':
  Import translations. DO NOT MERGE

11 years agoam 2f9807b8: Import translations. DO NOT MERGE
Baligh Uddin [Sun, 16 Jun 2013 02:20:22 +0000 (19:20 -0700)]
am 2f9807b8: Import translations. DO NOT MERGE

* commit '2f9807b8d71fdc1a2336c22e89148325281b684e':
  Import translations. DO NOT MERGE

11 years agoam 4a9e4226: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 16 Jun 2013 02:19:07 +0000 (19:19 -0700)]
am 4a9e4226: (-s ours) Import translations. DO NOT MERGE

* commit '4a9e422680727cd1a8fd683bae98c62baa0710fd':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Sun, 16 Jun 2013 02:17:36 +0000 (02:17 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoTemporarily restore some support for icon==0 notifications.
Daniel Sandler [Wed, 22 May 2013 18:24:20 +0000 (14:24 -0400)]
Temporarily restore some support for icon==0 notifications.

This is WRONG WRONG WRONG but certain apps rely on it to
poke the LED and so forth. In a future release this will
stop working.

Bug: 8623399
Change-Id: I49bb8ccc6891b1398ceec94c64d6c3a510ad1c38

11 years agoComplete doDie() before executing addView().
Craig Mautner [Fri, 14 Jun 2013 18:32:22 +0000 (11:32 -0700)]
Complete doDie() before executing addView().

If WindowManager.addView() is called soon after
WindowManager.removeView() then the MSG_DIE in the ViewRootImpl
mHandler queue may not have had time to execute. This will cause
WindowManagerGlobal to throw an exception since the DecorView
is being added before it has been removed.

This fix detects that situation by saving all Views that are queued
up for ViewRootImpl.doDie(). If addView() is called for one of these
Views then doDie() is called immediately and not called when MSG_DIE
eventually makes its way through the queue.

This change also makes doDie() non-reentrant by only allowing it to
carry out its functions the first time it is called. This keeps
dispatchDetachedWindows() from causing destruction by recursively
calling back into doDie(). This is usually caused by calling
dismissDialog() from within dispatchDetachedWindow().

Fixes bug 9404689.
Fixes bug 9406261.

Change-Id: Id4fc8054e273215d82366428fef51b9ba98385fe

11 years agoMore hideytoast stabilization.
John Spurlock [Sat, 15 Jun 2013 15:58:08 +0000 (11:58 -0400)]
More hideytoast stabilization.

Back to Gravity.TOP workaround to keep the hideybar confirmation
toast stable during navbar enter/exit animation.

Reverts part of Ifa380e387389ed9917336ad19dfde49f67a5fb10

Change-Id: I1e2e54851f2030603d43df611a616101f19bdab3

11 years agoMerge "Remove more unused statusbar.policy items."
John Spurlock [Sat, 15 Jun 2013 13:03:45 +0000 (13:03 +0000)]
Merge "Remove more unused statusbar.policy items."

11 years agoMerge "Remove unused TrackingPatternView."
John Spurlock [Sat, 15 Jun 2013 13:02:40 +0000 (13:02 +0000)]
Merge "Remove unused TrackingPatternView."

11 years agoMerge "Remove unused CloseDragHandle."
John Spurlock [Sat, 15 Jun 2013 13:01:43 +0000 (13:01 +0000)]
Merge "Remove unused CloseDragHandle."

11 years agoMerge "Remove unused CarrierLabel."
John Spurlock [Sat, 15 Jun 2013 13:00:45 +0000 (13:00 +0000)]
Merge "Remove unused CarrierLabel."