OSDN Git Service

android-x86/frameworks-base.git
11 years agoFix SystemUI navigation bar recent icon loading in landscape mode
Fabrice Di Meglio [Thu, 17 Jan 2013 18:57:40 +0000 (10:57 -0800)]
Fix SystemUI navigation bar recent icon loading in landscape mode

- load the correct landscape asset when needed (the portrait one was used in
both portrait and landscape modes)

Change-Id: I27d2aad993ee78c5a0c4a5f834e2a7f1f852cfa9

11 years agoMerge "WorkSource can now track package names."
Dianne Hackborn [Mon, 14 Jan 2013 18:38:14 +0000 (10:38 -0800)]
Merge "WorkSource can now track package names."

11 years agoam db6d8320: am cab31f21: am ad288632: am 1357617c: am 07ee7d17: docs: Hide Arabic...
Scott Main [Mon, 14 Jan 2013 18:37:19 +0000 (10:37 -0800)]
am db6d8320: am cab31f21: am ad288632: am 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation problems

* commit 'db6d8320f27ed67912726dec669567c3de490b39':
  docs: Hide Arabic and Hebrew badges due to translation problems

11 years agoMerge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)"
Fabrice Di Meglio [Mon, 14 Jan 2013 18:33:43 +0000 (10:33 -0800)]
Merge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)"

11 years agoam cab31f21: am ad288632: am 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew...
Scott Main [Mon, 14 Jan 2013 18:32:02 +0000 (10:32 -0800)]
am cab31f21: am ad288632: am 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation problems

* commit 'cab31f210930b12778c841a96a2c024b2dbb08b4':
  docs: Hide Arabic and Hebrew badges due to translation problems

11 years agoam ad288632: am 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew badges due to...
Scott Main [Mon, 14 Jan 2013 18:29:35 +0000 (10:29 -0800)]
am ad288632: am 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation problems

* commit 'ad2886325081a47ebb173468717d66a0486dcf9c':
  docs: Hide Arabic and Hebrew badges due to translation problems

11 years agoam 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation...
Scott Main [Mon, 14 Jan 2013 18:27:35 +0000 (10:27 -0800)]
am 1357617c: am 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation problems

* commit '1357617c786eb4a48c214bdacf6a2543053e8be4':
  docs: Hide Arabic and Hebrew badges due to translation problems

11 years agoam 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation problems
Scott Main [Mon, 14 Jan 2013 18:25:38 +0000 (10:25 -0800)]
am 07ee7d17: docs: Hide Arabic and Hebrew badges due to translation problems

* commit '07ee7d17ac9e045bdbc08290df3275bbb4013e33':
  docs: Hide Arabic and Hebrew badges due to translation problems

11 years agodocs: Hide Arabic and Hebrew badges due to translation problems
Scott Main [Mon, 14 Jan 2013 18:16:59 +0000 (10:16 -0800)]
docs: Hide Arabic and Hebrew badges due to translation problems

Change-Id: I0257b19bb08348bef5ddb500f00a165255e473f8

11 years agoam 4e2c2dba: am 013e9259: am 7e421365: am 1a551b16: am 6f680f52: Displaying Bitmaps...
Adam Koch [Mon, 14 Jan 2013 17:37:37 +0000 (09:37 -0800)]
am 4e2c2dba: am 013e9259: am 7e421365: am 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently Training - Change memory calculation

* commit '4e2c2dba1ac50d6d51be1492dcabe87703522323':
  Displaying Bitmaps Efficiently Training - Change memory calculation

11 years agoam 013e9259: am 7e421365: am 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently...
Adam Koch [Mon, 14 Jan 2013 17:34:00 +0000 (09:34 -0800)]
am 013e9259: am 7e421365: am 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently Training - Change memory calculation

* commit '013e9259205c69dd38242bb5f0f81e67c1b092b0':
  Displaying Bitmaps Efficiently Training - Change memory calculation

11 years agoam 7e421365: am 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently Training -...
Adam Koch [Mon, 14 Jan 2013 17:31:23 +0000 (09:31 -0800)]
am 7e421365: am 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently Training - Change memory calculation

* commit '7e4213655b19255218808afc6ccfa4e40e777e93':
  Displaying Bitmaps Efficiently Training - Change memory calculation

11 years agoam 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently Training - Change memory...
Adam Koch [Mon, 14 Jan 2013 17:28:28 +0000 (09:28 -0800)]
am 1a551b16: am 6f680f52: Displaying Bitmaps Efficiently Training - Change memory calculation

* commit '1a551b1614a1717fab7955bb712f8f8b35e22be9':
  Displaying Bitmaps Efficiently Training - Change memory calculation

11 years agoam 6f680f52: Displaying Bitmaps Efficiently Training - Change memory calculation
Adam Koch [Mon, 14 Jan 2013 14:15:20 +0000 (06:15 -0800)]
am 6f680f52: Displaying Bitmaps Efficiently Training - Change memory calculation

* commit '6f680f524a66dabcf0d86d0f19f3855f8c5e594f':
  Displaying Bitmaps Efficiently Training - Change memory calculation

11 years agoMerge "Handle missing static for CREATOR"
Irfan Sheriff [Sat, 12 Jan 2013 02:27:59 +0000 (18:27 -0800)]
Merge "Handle missing static for CREATOR"

11 years agoWorkSource can now track package names.
Dianne Hackborn [Fri, 11 Jan 2013 01:34:55 +0000 (17:34 -0800)]
WorkSource can now track package names.

Use this to track the package name of applications
accessing GPS.

And now the app ops service can enforce that callers
must provide valid package names.

Change-Id: I842a0abe236ea85f77926d708547f0f95c24bd49

11 years agoFix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Fabrice Di Meglio [Sat, 12 Jan 2013 00:18:00 +0000 (16:18 -0800)]
Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

- mirror airplane mode off (GlobalActions), multi-users, adb connection icons
- update refresh code

Change-Id: I175dec33386c31d4de9028918a43eb6bcd9e9dfb

11 years agoMerge "Make DimLayer track changes to WindowState layer."
Craig Mautner [Sat, 12 Jan 2013 00:41:26 +0000 (16:41 -0800)]
Merge "Make DimLayer track changes to WindowState layer."

11 years agoMerge "Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings"
Christopher Tate [Fri, 11 Jan 2013 23:48:01 +0000 (15:48 -0800)]
Merge "Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings"

11 years agoMigrate BUGREPORT_IN_POWER_MENU from Secure to Global settings
Christopher Tate [Fri, 11 Jan 2013 23:40:36 +0000 (15:40 -0800)]
Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings

Bug 7273591

Change-Id: I5790f9d18ddf22282144be1c2d96dd4d706caa14

11 years agoMerge "Up our DNS server support from 2 > 4"
Robert Greenwalt [Fri, 11 Jan 2013 23:37:46 +0000 (15:37 -0800)]
Merge "Up our DNS server support from 2 > 4"

11 years agoMerge "Make SystemUI RTL aware"
Fabrice Di Meglio [Fri, 11 Jan 2013 23:19:27 +0000 (15:19 -0800)]
Merge "Make SystemUI RTL aware"

11 years agoMake SystemUI RTL aware
Fabrice Di Meglio [Fri, 11 Jan 2013 23:06:31 +0000 (15:06 -0800)]
Make SystemUI RTL aware

- update RSSI icon when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I11d9f9d1cde09f0f3daa51e719ebc6dc91527002

11 years agoDisplaying Bitmaps Efficiently Training - Change memory calculation
Adam Koch [Fri, 11 Jan 2013 21:53:37 +0000 (16:53 -0500)]
Displaying Bitmaps Efficiently Training - Change memory calculation

When calculating memory cache size, use Runtime.maxMemory() instead
of getMemoryClass() which is a more accurate value of available VM
heap size.

Bug: 7988323
Change-Id: Iaa9681a11aad5cad3857dfe76f0b8e4811b2243c

11 years agoMerge "Optimize media button stack traversal for remote volume"
Jean-Michel Trivi [Fri, 11 Jan 2013 19:29:39 +0000 (11:29 -0800)]
Merge "Optimize media button stack traversal for remote volume"

11 years agoMerge "Fix Volume icons for RTL languages"
Fabrice Di Meglio [Fri, 11 Jan 2013 19:10:00 +0000 (11:10 -0800)]
Merge "Fix Volume icons for RTL languages"

11 years agoMake DimLayer track changes to WindowState layer.
Craig Mautner [Fri, 11 Jan 2013 19:03:33 +0000 (11:03 -0800)]
Make DimLayer track changes to WindowState layer.

The DimLayer behind popups was not changing when the popup layer
changed. It will now.

Fixes bug 7974415.

Change-Id: Ia486efa83d623716a09d73a22493a4222823c573

11 years agoMerge "Examine widget hierarchy to find clocks."
Jeff Sharkey [Fri, 11 Jan 2013 18:55:32 +0000 (10:55 -0800)]
Merge "Examine widget hierarchy to find clocks."

11 years agoam ec64c30b: am cc52272b: am a3e79199: Merge "TIME_TICK was not occurred for one...
Christopher Tate [Fri, 11 Jan 2013 18:54:46 +0000 (10:54 -0800)]
am ec64c30b: am cc52272b: am a3e79199: Merge "TIME_TICK was not occurred for one hour"

* commit 'ec64c30bfc221fea888efe5eac62f7c5303aeeb0':
  TIME_TICK was not occurred for one hour

11 years agoam 50fc82fd: am 30b074fc: am 2495d08a: am 5327322a: Merge "Revert "Fix a bug where...
Satoshi Kataoka [Fri, 11 Jan 2013 18:54:31 +0000 (10:54 -0800)]
am 50fc82fd: am 30b074fc: am 2495d08a: am 5327322a: Merge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"" into jb-mr1.1-dev

* commit '50fc82fdf025bc1fee8f0eb50fa88e4591c8daae':
  Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"

11 years agoam 1ec3c2cc: am 28608bbb: am d692ea6d: am b5e4835e: Merge "Improve heuristics for...
Sascha Prueter [Fri, 11 Jan 2013 18:53:49 +0000 (10:53 -0800)]
am 1ec3c2cc: am 28608bbb: am d692ea6d: am b5e4835e: Merge "Improve heuristics for detecting wireless chargers." into jb-mr1.1-dev

* commit '1ec3c2ccedde5cd8ff6e94c9b1566a913d5e8db0':
  Improve heuristics for detecting wireless chargers.

11 years agoam c8eb3b41: am d6ddb51b: am 2d255b7e: am ec7ffa14: am 0bb4dade: Displaying Bitmaps...
Adam Koch [Fri, 11 Jan 2013 18:53:29 +0000 (10:53 -0800)]
am c8eb3b41: am d6ddb51b: am 2d255b7e: am ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

* commit 'c8eb3b41d5ade3d0900d617d518a7b7b673a01ad':
  Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

11 years agoam 9e6575bc: am 854458f4: am 0287ca3c: am e62fa825: Merge from master: fix issue...
Dianne Hackborn [Fri, 11 Jan 2013 18:53:19 +0000 (10:53 -0800)]
am 9e6575bc: am 854458f4: am 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

* commit '9e6575bc52f421484fe262aff224db247e70d830':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

11 years agoExamine widget hierarchy to find clocks.
Jeff Sharkey [Tue, 4 Dec 2012 17:53:44 +0000 (09:53 -0800)]
Examine widget hierarchy to find clocks.

When switching to a widget, examine its hierarchy to determine if it
contains TextClocks that show hour and minute for the local timezone.
If so, hide the status bar clock.  Doesn't fix closing walls.

Bug: 7667638
Change-Id: I1e2c40345c9e5eb0193efd70838c7ca9f779190b

11 years agoHandle missing static for CREATOR
Irfan Sheriff [Fri, 11 Jan 2013 18:45:51 +0000 (10:45 -0800)]
Handle missing static for CREATOR

I made a mistake of missing out on static for CREATOR on a Parcelable
and it threw a NPE which was not obvious. We do not get NoSuchFieldException
when CREATOR exists but is not static.

Change-Id: Ib06f60797c00722075255d45e8189f8cebef9ae2

11 years agoMerge "Remove checkThread() in WebView.getFactory()"
Jonathan Dixon [Fri, 11 Jan 2013 18:24:43 +0000 (10:24 -0800)]
Merge "Remove checkThread() in WebView.getFactory()"

11 years agoRemove checkThread() in WebView.getFactory()
Jonathan Dixon [Fri, 11 Jan 2013 03:14:32 +0000 (19:14 -0800)]
Remove checkThread() in WebView.getFactory()

Bug: 7617139

WebViewFactoryProvider.getProvider() is thread safe, and when
called from findAddress() this is giving a spurious strict mode
warning.
Also removing obsolete comment while here.

Change-Id: I0b36bc23c13c9c9bec26edaf32ee83ade88982c8

11 years agoUp our DNS server support from 2 > 4
Robert Greenwalt [Thu, 10 Jan 2013 00:28:19 +0000 (16:28 -0800)]
Up our DNS server support from 2 > 4

bug:5958524
Change-Id: I81a9d9293049bcfc16c15ee856887aa7ed076638

11 years agoam cc52272b: am a3e79199: Merge "TIME_TICK was not occurred for one hour"
Christopher Tate [Fri, 11 Jan 2013 16:58:34 +0000 (08:58 -0800)]
am cc52272b: am a3e79199: Merge "TIME_TICK was not occurred for one hour"

* commit 'cc52272b4fa27ab36ba20e22a53f872fedc8bb45':
  TIME_TICK was not occurred for one hour

11 years agoMerge "Updating new widget api to account for view type count"
Adam Cohen [Fri, 11 Jan 2013 03:24:11 +0000 (19:24 -0800)]
Merge "Updating new widget api to account for view type count"

11 years agoUpdating new widget api to account for view type count
Adam Cohen [Thu, 10 Jan 2013 22:12:52 +0000 (14:12 -0800)]
Updating new widget api to account for view type count

Change-Id: Iab3a905aaec0b42ef31cd23e0711f6f7bf299486

11 years agoMerge "Add a new type of profiling graph: lines"
Romain Guy [Fri, 11 Jan 2013 02:41:37 +0000 (18:41 -0800)]
Merge "Add a new type of profiling graph: lines"

11 years agoAdd a new type of profiling graph: lines
Romain Guy [Fri, 11 Jan 2013 02:38:46 +0000 (18:38 -0800)]
Add a new type of profiling graph: lines

Change-Id: I0e67d7227016fe37011e17d04220a200a6a5fba0

11 years agoam a3e79199: Merge "TIME_TICK was not occurred for one hour"
Christopher Tate [Fri, 11 Jan 2013 02:26:50 +0000 (18:26 -0800)]
am a3e79199: Merge "TIME_TICK was not occurred for one hour"

* commit 'a3e7919932199e2178792cbae8870e9b48c57523':
  TIME_TICK was not occurred for one hour

11 years agoam 30b074fc: am 2495d08a: am 5327322a: Merge "Revert "Fix a bug where disabled auxili...
Satoshi Kataoka [Fri, 11 Jan 2013 02:20:56 +0000 (18:20 -0800)]
am 30b074fc: am 2495d08a: am 5327322a: Merge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"" into jb-mr1.1-dev

* commit '30b074fcbff6263db4044ff4e8f36eb5d4e136eb':
  Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"

11 years agoam 2495d08a: am 5327322a: Merge "Revert "Fix a bug where disabled auxilialy IME is...
Satoshi Kataoka [Fri, 11 Jan 2013 02:17:35 +0000 (18:17 -0800)]
am 2495d08a: am 5327322a: Merge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"" into jb-mr1.1-dev

* commit '2495d08a5c06556deb7c3993add337037b8b492e':
  Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"

11 years agoam 5327322a: Merge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly...
Satoshi Kataoka [Fri, 11 Jan 2013 02:15:11 +0000 (18:15 -0800)]
am 5327322a: Merge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"" into jb-mr1.1-dev

* commit '5327322ab94711a654d41a5b53be3bf6a3a28a39':
  Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"

11 years agoMerge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled...
Satoshi Kataoka [Fri, 11 Jan 2013 02:12:43 +0000 (18:12 -0800)]
Merge "Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"" into jb-mr1.1-dev

11 years agoMerge "TIME_TICK was not occurred for one hour"
Christopher Tate [Fri, 11 Jan 2013 01:39:33 +0000 (17:39 -0800)]
Merge "TIME_TICK was not occurred for one hour"

11 years agoMerge "Call assignLayersLocked when InputMethod is moved."
Craig Mautner [Fri, 11 Jan 2013 01:33:27 +0000 (17:33 -0800)]
Merge "Call assignLayersLocked when InputMethod is moved."

11 years agoCall assignLayersLocked when InputMethod is moved.
Craig Mautner [Fri, 11 Jan 2013 01:29:30 +0000 (17:29 -0800)]
Call assignLayersLocked when InputMethod is moved.

Call was removed by over-ambitious editing in CL 259410.

Fixes bug 7966824.

Change-Id: I9feb2ec27907f4e03b9424710adc2743a8b512d8

11 years agoMerge "Use readUnsignedByte."
Wink Saville [Fri, 11 Jan 2013 00:03:03 +0000 (16:03 -0800)]
Merge "Use readUnsignedByte."

11 years agoMerge "Fixing a memory leak in ViewRootImpl and a focus change callback issue."
Svetoslav Ganov [Thu, 10 Jan 2013 23:45:37 +0000 (15:45 -0800)]
Merge "Fixing a memory leak in ViewRootImpl and a focus change callback issue."

11 years agoam 79cc4a2a: am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title...
Adam Powell [Thu, 10 Jan 2013 23:39:00 +0000 (15:39 -0800)]
am 79cc4a2a: am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev

* commit '79cc4a2ab0130acca83de5945a43adf9925beac1':
  Make action bar title a valid touch target for up when relevant

11 years agoam b484f8e1: am 782b0f71: am 4459827f: am 25505f95: am cdf5106a: docs: a few doc...
Scott Main [Thu, 10 Jan 2013 23:38:27 +0000 (15:38 -0800)]
am b484f8e1: am 782b0f71: am 4459827f: am 25505f95: am cdf5106a: docs: a few doc bugs

* commit 'b484f8e1a4f07e35a194ee43676da8eb4e9d50ef':
  docs: a few doc bugs

11 years agoMerge "Add parentheses for latest Clang warnings."
Stephen Hines [Thu, 10 Jan 2013 23:23:49 +0000 (15:23 -0800)]
Merge "Add parentheses for latest Clang warnings."

11 years agoAdd parentheses for latest Clang warnings.
Stephen Hines [Thu, 10 Jan 2013 23:09:02 +0000 (15:09 -0800)]
Add parentheses for latest Clang warnings.

Change-Id: I843fd3eb44e1ab0a177d7045ca97cf146fd81231

11 years agoam ccb2a74f: am 2b8603c2: am 8429f43b: am 7bcea4ae: am d149242a: docs: correct the...
Scott Main [Thu, 10 Jan 2013 22:51:56 +0000 (14:51 -0800)]
am ccb2a74f: am 2b8603c2: am 8429f43b: am 7bcea4ae: am d149242a: docs: correct the url path to badge images and updated pr-br badge

* commit 'ccb2a74f360bf09ec2c91b28c15e0003a9af440a':
  docs: correct the url path to badge images and updated pr-br badge

11 years agoam 8a05d13e: am 5b56d432: am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve...
Scott Main [Thu, 10 Jan 2013 22:51:43 +0000 (14:51 -0800)]
am 8a05d13e: am 5b56d432: am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev

* commit '8a05d13ef656b0147d85e1826b70a55f6b32e1e3':
  docs: resolve bugs from external tracker

11 years agoam 3ccb33d5: am 4f8a160a: am f344e3c7: am 7ed49126: am 13ef4e43: docs: update GP...
Scott Main [Thu, 10 Jan 2013 22:51:34 +0000 (14:51 -0800)]
am 3ccb33d5: am 4f8a160a: am f344e3c7: am 7ed49126: am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages

* commit '3ccb33d5e08a0f444d16be894827dcbdfd0db42f':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages

11 years agoam 28608bbb: am d692ea6d: am b5e4835e: Merge "Improve heuristics for detecting wirele...
Sascha Prueter [Thu, 10 Jan 2013 19:19:20 +0000 (11:19 -0800)]
am 28608bbb: am d692ea6d: am b5e4835e: Merge "Improve heuristics for detecting wireless chargers." into jb-mr1.1-dev

* commit '28608bbb2fb6daf3d261cb10eaeb1849781cf77d':
  Improve heuristics for detecting wireless chargers.

11 years agoam d692ea6d: am b5e4835e: Merge "Improve heuristics for detecting wireless chargers...
Sascha Prueter [Thu, 10 Jan 2013 19:16:51 +0000 (11:16 -0800)]
am d692ea6d: am b5e4835e: Merge "Improve heuristics for detecting wireless chargers." into jb-mr1.1-dev

* commit 'd692ea6dd297fbd39885525a29bdf6637a3640f2':
  Improve heuristics for detecting wireless chargers.

11 years agoam b5e4835e: Merge "Improve heuristics for detecting wireless chargers." into jb...
Sascha Prueter [Thu, 10 Jan 2013 19:14:53 +0000 (11:14 -0800)]
am b5e4835e: Merge "Improve heuristics for detecting wireless chargers." into jb-mr1.1-dev

* commit 'b5e4835e3a4ff37693891a59841fcefa5c3aa648':
  Improve heuristics for detecting wireless chargers.

11 years agoMerge "Improve heuristics for detecting wireless chargers." into jb-mr1.1-dev
Sascha Prueter [Thu, 10 Jan 2013 19:11:20 +0000 (11:11 -0800)]
Merge "Improve heuristics for detecting wireless chargers." into jb-mr1.1-dev

11 years agoImprove heuristics for detecting wireless chargers.
Jeff Brown [Thu, 10 Jan 2013 02:46:37 +0000 (18:46 -0800)]
Improve heuristics for detecting wireless chargers.

On some devices, we need to apply heuristics to determine whether
the device is docked on a wireless charger because the charging
circuits do not provide sufficient information to know whether
the device is on the charger unless it is actually receiving
power.

The previous heuristics only considered the battery level to
suppress spurious dock signals.

The new heuristics also take into account whether the device
appears to have moved from its previous position on the dock.

Bug: 7744185
Change-Id: I5ba885dac25b37840b6db46b8a0f30968a06776c

11 years agoam d6ddb51b: am 2d255b7e: am ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently...
Adam Koch [Thu, 10 Jan 2013 14:35:41 +0000 (06:35 -0800)]
am d6ddb51b: am 2d255b7e: am ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

* commit 'd6ddb51b3d4ec1bb2e6305823681cdeb05c0ea7b':
  Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

11 years agoam 2d255b7e: am ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently Training -...
Adam Koch [Thu, 10 Jan 2013 14:32:43 +0000 (06:32 -0800)]
am 2d255b7e: am ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

* commit '2d255b7e1fb1cb1ceb64a962f672f145eab585e8':
  Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

11 years agoam ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize...
Adam Koch [Thu, 10 Jan 2013 14:30:30 +0000 (06:30 -0800)]
am ec7ffa14: am 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

* commit 'ec7ffa145572eae2566cb1c763bcf50d8d1e8d6b':
  Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

11 years agoam 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize selection
Adam Koch [Thu, 10 Jan 2013 14:26:46 +0000 (06:26 -0800)]
am 0bb4dade: Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

* commit '0bb4dade30d3413cc7951c5d2c0ee761a93ae468':
  Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

11 years agoRevert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"
Satoshi Kataoka [Thu, 10 Jan 2013 07:44:28 +0000 (23:44 -0800)]
Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"

This reverts commit 32b812054cce27d1c70b53ba8ac729c7186b105e

Bug: 7976890

Change-Id: I75ab60734153719b199cf7281d23f5eb1ad2d1bc

11 years agoTIME_TICK was not occurred for one hour
Sungmin Choi [Thu, 10 Jan 2013 08:28:40 +0000 (17:28 +0900)]
TIME_TICK was not occurred for one hour

TIME_TICK was not occurred at the end of DST for one hour

Step to reproduce:
1. Settings -> Date & time
2. uncheck Automatic date & time and Automatic time zone
3. select Time zone -> select Brussels
4. set date -> Oct. 28. 2012
5. set time -> 1:59 AM

Bug: 7922117
Change-Id: I2e78bd97b508d6a38471425cfbaca45fb4b89c1e

11 years agoMerge "Clarify javadoc and parameter names Bug #7978741"
Romain Guy [Thu, 10 Jan 2013 04:18:06 +0000 (20:18 -0800)]
Merge "Clarify javadoc and parameter names Bug #7978741"

11 years agoClarify javadoc and parameter names
Romain Guy [Thu, 10 Jan 2013 04:16:37 +0000 (20:16 -0800)]
Clarify javadoc and parameter names
Bug #7978741

Change-Id: If713e2e58524ace008797abc142f50b83bfa3c61

11 years agoam 854458f4: am 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super...
Dianne Hackborn [Thu, 10 Jan 2013 03:01:26 +0000 (19:01 -0800)]
am 854458f4: am 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

* commit '854458f4d52937f9a1385559d759bd8019eb3294':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

11 years agoam 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super lights out...
Dianne Hackborn [Thu, 10 Jan 2013 03:00:06 +0000 (19:00 -0800)]
am 0287ca3c: am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

* commit '0287ca3ca36ad98004ddabfa189105e6324a820e':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

11 years agoam e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume...
Dianne Hackborn [Thu, 10 Jan 2013 02:58:07 +0000 (18:58 -0800)]
am e62fa825: Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

* commit 'e62fa825794967c2067be86e8b57b83f4b82ee1c':
  Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

11 years agoMerge from master: fix issue #7966357: Super lights out mode vs. volume dialog
Dianne Hackborn [Thu, 10 Jan 2013 02:31:37 +0000 (18:31 -0800)]
Merge from master: fix issue #7966357: Super lights out mode vs. volume dialog

The volume panel now forces us out of the UI modes while it
is up.

Change-Id: If39fa33b1c52579bf5d376ce4722408cee3ca951

11 years agoMerge "Fix issue #7966357: Super lights out mode vs. volume dialog"
Dianne Hackborn [Thu, 10 Jan 2013 02:44:32 +0000 (18:44 -0800)]
Merge "Fix issue #7966357: Super lights out mode vs. volume dialog"

11 years agoMerge "Maybe fix build."
Dianne Hackborn [Thu, 10 Jan 2013 02:37:07 +0000 (18:37 -0800)]
Merge "Maybe fix build."

11 years agoMaybe fix build.
Dianne Hackborn [Thu, 10 Jan 2013 02:36:16 +0000 (18:36 -0800)]
Maybe fix build.

Change-Id: If9bf7b7e2725cb472918fbbbf0cfb5070d0c6d46

11 years agoFix issue #7966357: Super lights out mode vs. volume dialog
Dianne Hackborn [Thu, 10 Jan 2013 02:31:37 +0000 (18:31 -0800)]
Fix issue #7966357: Super lights out mode vs. volume dialog

The volume panel now forces us out of the UI modes while it
is up.

Change-Id: I25f29af5b6518aba695b64a75977ae240b742118

11 years agoFix Volume icons for RTL languages
Fabrice Di Meglio [Thu, 10 Jan 2013 02:20:38 +0000 (18:20 -0800)]
Fix Volume icons for RTL languages

- add mirrored version of the icons
- make VolumePanel respond to layout direction changes
- make AudioService propagate layout direction changes to the VolumePanel

Change-Id: Ibb884ab81641c319a9b7bea1381066f3f19581f0

11 years agoMerge "Update IP2 to use bitmap-backed allocations."
Tim Murray [Thu, 10 Jan 2013 02:13:58 +0000 (18:13 -0800)]
Merge "Update IP2 to use bitmap-backed allocations."

11 years agoMerge "Make SystemUI RTL aware"
Fabrice Di Meglio [Thu, 10 Jan 2013 02:12:26 +0000 (18:12 -0800)]
Merge "Make SystemUI RTL aware"

11 years agoUpdate IP2 to use bitmap-backed allocations.
Tim Murray [Thu, 10 Jan 2013 00:33:57 +0000 (16:33 -0800)]
Update IP2 to use bitmap-backed allocations.

Change-Id: I2967fff71db40b4a8a00cd0152bcc04c43b87f80

11 years agoMerge "Add K api version."
Nick Kralevich [Thu, 10 Jan 2013 00:11:05 +0000 (16:11 -0800)]
Merge "Add K api version."

11 years agoMerge "Revert "App home directories are now 0700 for targetSdkVersion > 17""
Nick Kralevich [Thu, 10 Jan 2013 00:09:55 +0000 (16:09 -0800)]
Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17""

11 years agoAdd K api version.
Nick Kralevich [Thu, 10 Jan 2013 00:03:14 +0000 (16:03 -0800)]
Add K api version.

Change-Id: I2b74e06f8bda8b23c5cc4280af4b18a5ad66a6c2

11 years agoRevert "App home directories are now 0700 for targetSdkVersion > 17"
Nick Kralevich [Wed, 9 Jan 2013 23:54:56 +0000 (15:54 -0800)]
Revert "App home directories are now 0700 for targetSdkVersion > 17"

This reverts commit 92091fa9636403728fe94cc83400495a8612c2d3.

Bug: 7966399
Bug: 7208882

11 years agoMake SystemUI RTL aware
Fabrice Di Meglio [Wed, 9 Jan 2013 23:42:31 +0000 (15:42 -0800)]
Make SystemUI RTL aware

- mirror vibrate and silent statusbar icons
- add code for updating icons when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ib7125d7f01ed8d1b8d63c2a9b119eb173efcf49f

11 years agoMerge "Add YUV allocation creation."
Jason Sams [Wed, 9 Jan 2013 23:32:13 +0000 (15:32 -0800)]
Merge "Add YUV allocation creation."

11 years agoMerge "Cleanup 9patch mesh matching code Bug #7970966"
Romain Guy [Wed, 9 Jan 2013 22:39:10 +0000 (14:39 -0800)]
Merge "Cleanup 9patch mesh matching code Bug #7970966"

11 years agoCleanup 9patch mesh matching code
Romain Guy [Wed, 9 Jan 2013 22:15:58 +0000 (14:15 -0800)]
Cleanup 9patch mesh matching code
Bug #7970966

The bug described in #7970966 should normally never happen but just in
case, change the detection code to be more robust.

Change-Id: I7040a6087590e34abe8803cb8f83f051d77f3944

11 years agoMerge "New "app ops" service."
Dianne Hackborn [Wed, 9 Jan 2013 22:07:15 +0000 (14:07 -0800)]
Merge "New "app ops" service."

11 years agoDisplaying Bitmaps Efficiently Training - Fix inSampleSize selection
Adam Koch [Wed, 9 Jan 2013 21:58:59 +0000 (16:58 -0500)]
Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

When computing inSampleSize, calculateInSampleSize() needs to compare
height/width ratios, rather than raw values.

Bug: 7951398
Change-Id: I207f9abc2aae4cc569b406bac237e221d8e64d1e

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Wed, 9 Jan 2013 21:55:54 +0000 (13:55 -0800)]
Merge "Import translations. DO NOT MERGE"

11 years agoNew "app ops" service.
Dianne Hackborn [Wed, 12 Dec 2012 00:34:47 +0000 (16:34 -0800)]
New "app ops" service.

Initial implementation, tracking use of the vibrator, GPS,
and location reports.

Also includes an update to battery stats to also keep track of
vibrator usage (since I had to be in the vibrator code anyway
to instrument it).

The service itself is only half-done.  Currently no API to
retrieve the data (which once there will allow us to show you
which apps are currently causing the GPS to run and who has
recently accessed your location), it doesn't persist its data
like it should, and no way to tell it to reject app requests
for various operations.

But hey, it's a start!

Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15

11 years agoFixing a memory leak in ViewRootImpl and a focus change callback issue.
Svetoslav Ganov [Tue, 8 Jan 2013 23:23:34 +0000 (15:23 -0800)]
Fixing a memory leak in ViewRootImpl and a focus change callback issue.

1. ViewRootImpl was keeping reference to the old focused view so it can
   call back the global on focus change listener when another view gets
   focus. The stashed reference, however was not cleared which caused a
   memory leak if the last focused view was removed from the view tree.
   In general keeping additional state for the last focus in ViewRootImpl
   is not a good idea since this add complexity due to additional book
   keeping work that is required. The view tree already keeps track of
   where the focus is and it should be the only place that holds this
   data. Since focus does not change that frequently it is fine to look
   up the focus since this operation is O(m) where m is the depth of the
   view tree. This change removes the duplicate book keeping from
   ViewRootImpl and the focus is looked up as needed.

2. ViewRootImpl was calling the global focus change callbacks when focus
   is gained, lost, or transferred to another view. This was done in
   *ChildFocus methods. In the case of a child losing focus, i.e. in
   clearChildFocus, there was a check whether focus searh yields a view
   to take focus and if so it did not call back the global focus listener
   assuming the the found view will take focus (the view tree gives focus
   to the first focusable when a view looses focus). This is not a correct
   assumption since some views override methods called as a result of
   View.requestFocus that determine what the next focused view should
   be. For example, HorizontalScrollView overrides onRequestFocusInDescendants
   and changes the direction of the search. In fact focus search does not
   take into accound ViewGroup descendant focusability. Hence, the view found
   by calling the focus search from the root is not necessarily the one
   that will get focus after calling requestFocus. Actually, it is
   possible that the focus search will find a view but no view will
   take focus. Now the View class is responsible for calling the
   global focus listeners which avoids the above problem. Also this
   saves book keeping in ViewRootImpl.

bug:7962363

Change-Id: Ic95a18b364e997021f3f6bb46943559aac07d95a

11 years agoMerge "Make NfcAdapter states public and fix build."
Martijn Coenen [Wed, 9 Jan 2013 20:28:38 +0000 (12:28 -0800)]
Merge "Make NfcAdapter states public and fix build."

11 years agoMake NfcAdapter states public and fix build.
Martijn Coenen [Wed, 9 Jan 2013 20:27:22 +0000 (12:27 -0800)]
Make NfcAdapter states public and fix build.

Change-Id: Idb2dd5e524cda5e3c03d4f2689266fa03be4ea13