Commit Graph

41699 Commits

Author SHA1 Message Date
Yohei Yukawa
bb5118edbf am 382b6e5e: am 5a2efd42: am 8219934a: Merge "Minimize the number of default enabled IMEs part 3" into lmp-dev
* commit '382b6e5e87a537bf35ae4b7a36ef3e3e92f7300b':
  Minimize the number of default enabled IMEs part 3
2014-09-16 09:12:03 +00:00
Ang Li
4797fb0b39 am b2dc8ba3: am 94325a15: am 36fdf64f: Merge "Fix a typo in comment." into lmp-dev
* commit 'b2dc8ba327a582799c803934c965ea7f903c4e8e':
  Fix a typo in comment.
2014-09-16 09:11:58 +00:00
Chet Haase
3ec7a4c8a6 am bb8d6776: am bae5621a: am 4b20b031: Merge "Avoid invalidating view during some outline invalidations" into lmp-dev
* commit 'bb8d67768806662f59bb14b918134c547434ac86':
  Avoid invalidating view during some outline invalidations
2014-09-16 09:11:22 +00:00
Yohei Yukawa
abe0c395f9 am 5a2efd42: am 8219934a: Merge "Minimize the number of default enabled IMEs part 3" into lmp-dev
* commit '5a2efd42d8d0b1c52f628b8e727d3c99b068ae96':
  Minimize the number of default enabled IMEs part 3
2014-09-16 08:59:08 +00:00
Ang Li
e2291d9763 am 94325a15: am 36fdf64f: Merge "Fix a typo in comment." into lmp-dev
* commit '94325a15c53e252b10c75e4c197858d028f4a37b':
  Fix a typo in comment.
2014-09-16 08:59:03 +00:00
Chet Haase
ab387230be am bae5621a: am 4b20b031: Merge "Avoid invalidating view during some outline invalidations" into lmp-dev
* commit 'bae5621a7d9a60e16ff1ac7b3a5c4be06dec2305':
  Avoid invalidating view during some outline invalidations
2014-09-16 08:58:30 +00:00
Jeff Sharkey
691ac9e7d0 am a6a5bea4: am 07b76d6f: am 1d98fbf2: Merge "Update API naming to follow style guide." into lmp-dev
* commit 'a6a5bea41779c3f0764a2c0f18f1251649ddd1ee':
  Update API naming to follow style guide.
2014-09-16 08:57:52 +00:00
Chris Craik
9ec684467a am d0ca31dc: am 103a3379: am 447f8cd8: Merge "Enable shadow for GhostView" into lmp-dev
* commit 'd0ca31dc14351662eaf4106b9bbec9a4bf75fafa':
  Enable shadow for GhostView
2014-09-16 08:57:37 +00:00
Ihab Awad
02e2375c44 am 64741972: am fd9884ad: am 336c84c3: Merge "Add system feature for ConnectionService API support (1/3)" into lmp-dev
* commit '647419725bdddb764bfc6ae638ac0288bc8591e5':
  Add system feature for ConnectionService API support (1/3)
2014-09-16 08:57:27 +00:00
George Mount
409e9a32c0 am b3a4720f: am aa386270: am 9da2ace7: Merge "Fixed OOM due to visibility transitions." into lmp-dev
* commit 'b3a4720f3411ac14002d6d8b69fc15d4188829fb':
  Fixed OOM due to visibility transitions.
2014-09-16 08:40:49 +00:00
George Mount
ded715cd78 am 5846345b: am 9588dada: am 4bf9a24d: Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev
* commit '5846345b2a97a1441c37902539f7ceadc80f8fbc':
  Fixed enter/exit transitions working against shared elements.
2014-09-16 08:40:44 +00:00
Eino-Ville Talvala
197244c414 am d9d6b219: am 194e9509: am ac7be719: Merge "Camera2: Clean up corner case error handling" into lmp-dev
* commit 'd9d6b219d6bc1fddd4d0871dc765d670d6e8b817':
  Camera2: Clean up corner case error handling
2014-09-16 08:40:38 +00:00
Andres Morales
76d2e35f57 am f26f125a: am e887d0a5: am 1d436165: Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev
* commit 'f26f125a5240bea2f3aa7daaea490d53daaefcc8':
  Add hidden API for pausing and resuming NFC polling.
2014-09-16 08:40:14 +00:00
Jeff Sharkey
ec20c174db am 07b76d6f: am 1d98fbf2: Merge "Update API naming to follow style guide." into lmp-dev
* commit '07b76d6fed3bf3ba4a61226b9dd1484e69e084ac':
  Update API naming to follow style guide.
2014-09-16 08:39:37 +00:00
Chris Craik
23034c9328 am 103a3379: am 447f8cd8: Merge "Enable shadow for GhostView" into lmp-dev
* commit '103a33792460a4e16b4f3a2a57a315a19a3a719e':
  Enable shadow for GhostView
2014-09-16 08:39:24 +00:00
Ihab Awad
6de325caa0 am fd9884ad: am 336c84c3: Merge "Add system feature for ConnectionService API support (1/3)" into lmp-dev
* commit 'fd9884adc315137dca6a49777d7767d258fdc862':
  Add system feature for ConnectionService API support (1/3)
2014-09-16 08:39:13 +00:00
Yohei Yukawa
84f20ec49d Merge "Minimize the number of default enabled IMEs part 3" into lmp-dev 2014-09-16 00:19:55 +00:00
Ang Li
85be272268 Merge "Fix a typo in comment." into lmp-dev 2014-09-16 00:00:37 +00:00
Chet Haase
18c56d0ac4 Merge "Avoid invalidating view during some outline invalidations" into lmp-dev 2014-09-15 22:40:04 +00:00
Chet Haase
27652eff44 Avoid invalidating view during some outline invalidations
We were invalidating the view during outline invalidation far
too often. Sometimes, it's appropriate to invalidate the view when
the outline changes, but not when the outline is being invalidated
in the middle of drawing the view, which is done in reaction to a view
invalidation.

Issue #17460940 Volantis: panning in Calendar from month to month is only at 30fps

Change-Id: I7bdee17dc9c7df89d4cd3d781010823cef931222
2014-09-15 15:33:10 -07:00
Ang Li
953b5625d5 Fix a typo in comment.
Change-Id: I23224b1adf946ebec0ec7a39686913189c9b8287
2014-09-15 15:09:16 -07:00
George Mount
2716ff8fa7 am aa386270: am 9da2ace7: Merge "Fixed OOM due to visibility transitions." into lmp-dev
* commit 'aa386270cf60bb57dfcad5f0b5cded9d4a87b978':
  Fixed OOM due to visibility transitions.
2014-09-15 22:04:49 +00:00
George Mount
6521ebcfdb am 9588dada: am 4bf9a24d: Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev
* commit '9588dada867027b3938ba99b0cacfda7f784c2b7':
  Fixed enter/exit transitions working against shared elements.
2014-09-15 22:04:36 +00:00
Eino-Ville Talvala
c27591b8eb am 194e9509: am ac7be719: Merge "Camera2: Clean up corner case error handling" into lmp-dev
* commit '194e950920fd5ef1188d3b55fbbecf54b2dc26a1':
  Camera2: Clean up corner case error handling
2014-09-15 22:04:30 +00:00
Andres Morales
43a4762e88 am e887d0a5: am 1d436165: Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev
* commit 'e887d0a59e3e0e28ffdbb7d584fbca67c9c350b9':
  Add hidden API for pausing and resuming NFC polling.
2014-09-15 22:04:05 +00:00
Jeff Sharkey
49c0e7375b Merge "Update API naming to follow style guide." into lmp-dev 2014-09-15 21:51:18 +00:00
Chris Craik
7436d1997c Merge "Enable shadow for GhostView" into lmp-dev 2014-09-15 21:32:06 +00:00
Jeff Sharkey
de74231f24 Update API naming to follow style guide.
Bug: 17510755
Change-Id: If73d81b416355559592feb895a62132194f4ba62
2014-09-15 14:17:46 -07:00
Paul Miller
3ff073ad0a Disallow passing a StringBufferInputStream to a WebResourceResponse
BUG:17489928

Change-Id: Ie41671ad721c0c4da95d96332c4ec4d4ca2bff7c
2014-09-15 20:18:50 +00:00
Ihab Awad
de4e52aa49 Merge "Add system feature for ConnectionService API support (1/3)" into lmp-dev 2014-09-15 20:14:51 +00:00
George Mount
cd8b84fc25 am f006bac7: am e0b9e2f1: am 7d3d95e7: Merge "Fix exit transitions hiding views permanently." into lmp-dev
* commit 'f006bac76dcbaf91652cbb9e118ddc48bc179766':
  Fix exit transitions hiding views permanently.
2014-09-15 19:33:32 +00:00
George Mount
08ff5c14fe Merge "Fixed OOM due to visibility transitions." into lmp-dev 2014-09-15 18:12:24 +00:00
George Mount
94e7e7ef91 Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev 2014-09-15 18:12:13 +00:00
Eino-Ville Talvala
5fa15be4e9 Merge "Camera2: Clean up corner case error handling" into lmp-dev 2014-09-15 18:11:11 +00:00
George Mount
27bc8aa583 Fixed enter/exit transitions working against shared elements.
Bug 17499971

The enter and exit transitions were targeting the shared element.
This means you'd get double transitions on the shared element.

Also, the enter transition was not properly initialized to have
an invalid target so it was targeting all views.

Change-Id: I4f3510c70bea90f09be01776bc0ad1ffb42d99d5
2014-09-15 11:08:39 -07:00
George Mount
79b2781aa7 Fixed OOM due to visibility transitions.
Have maximum size for Visibility transition bitmaps.

Also changed Visibility to avoid transitioning out child views
while transitioning out their parents.

Also moved view-to-bitmap code to common utility.

Bug 17469198

Change-Id: I05f069a267539b479da1b39cdad2cc9270c5c381
2014-09-15 11:05:36 -07:00
Ihab Awad
1ec6888685 Add system feature for ConnectionService API support (1/3)
Bug: 17445268
Change-Id: Ibf52cb394f00d075afd07b883a91f00da84b3c85
2014-09-15 09:10:54 -07:00
Andres Morales
bd9d664743 Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev 2014-09-15 15:10:45 +00:00
George Mount
48520a6c5a am e0b9e2f1: am 7d3d95e7: Merge "Fix exit transitions hiding views permanently." into lmp-dev
* commit 'e0b9e2f107660e09daa5c0a5ecc1a616cd7da097':
  Fix exit transitions hiding views permanently.
2014-09-15 14:43:29 +00:00
George Mount
2911b2046a Merge "Fix exit transitions hiding views permanently." into lmp-dev 2014-09-15 14:06:52 +00:00
Yohei Yukawa
dc489241cf Minimize the number of default enabled IMEs part 3
With this CL, the behavior of getDefaultEnabledImes() changes
as follows:

- Previously system IMEs are always enabled by default as long
  as it is a software keyboard that supports En_* subtype. With
  this CL, getDefaultEnabledImes() relies on the locale returned
  from getFallbackLocaleForDefaultIme() instead of calling
  isSystemImeThatHasEnglishKeyboardSubtype() to minimize the
  number of enabled IMEs.
- Previously default enabled system IMEs are chosen in a
  country-agnostic way. As a result, "en_IN" is enabled even
  when the system locale is "en_US". With this CL, the system
  first tries to find IMEs with taking the coutnry into account,
  and use the country-agnostic way when and only when fallback
  logic is required.

BUG: 17347871
Change-Id: I6571d464a46453934f0a8f5e79018a67a9a3c845
2014-09-15 13:13:45 +09:00
Alan Viverette
a0fad0ae43 am 4d5c7c2f: am 62b910c0: am 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
* commit '4d5c7c2f626085fe96a9fa73714a28d40d51e680':
  Clean up view drawable tinting methods, fix default modes
2014-09-15 00:15:11 +00:00
Alan Viverette
14d639755e am 62b910c0: am 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
* commit '62b910c008da3fbcf11f67340002aa14e1d297b0':
  Clean up view drawable tinting methods, fix default modes
2014-09-15 00:00:37 +00:00
Chris Craik
203d1cce5c Enable shadow for GhostView
bug:17331776
Change-Id: Ia5819422e8cb53d2a4da110f819823b4e90e2fee
2014-09-14 16:28:52 -07:00
Alan Viverette
b56f5d2ab1 Clean up view drawable tinting methods, fix default modes
Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07
2014-09-14 15:48:50 -07:00
Eino-Ville Talvala
9503785393 Camera2: Clean up corner case error handling
- If a session is closed, and a new session is created immediately
afterwards, but then fails to be configured, the first session sees an
onUnconfigured call which it wasn't expecting, and throws an
exception on an internal thread, leading to app death.
Add a guard against this case.

- If the lower levels skip a frame (illegal per design), be slightly more
robust to that by accepting any successful result as the latest completed
frame, instead of just incrementing the completed frame count. This will
lead to missing results, but should allow shutdown, etc, to complete
cleanly.

- Convert TIMED_OUT error codes to CAMERA_ERROR CameraAccessExceptions.
This is a common error code returned by waitUntilIdle.

Also, improve debug logging to log a session ID with verbose logging,
and add a few verbose logs.

Bug: 16899526
Change-Id: I7a31f0a12effc2611e1f9c2408224ee82c37c912
2014-09-14 14:41:47 -07:00
Alan Viverette
ef7c8c74eb am 3bf962be: am d2f58ac3: am 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
* commit '3bf962beeb4ca56669c9e05b55df5f274bbe2906':
  Reduce instructions required to obtain and recycle TypedArray
2014-09-14 20:38:22 +00:00
Alan Viverette
4a7ac30043 am d2f58ac3: am 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
* commit 'd2f58ac3e3e0b49f33b98bd9f99f7658fd18b9a6':
  Reduce instructions required to obtain and recycle TypedArray
2014-09-14 20:21:46 +00:00
John Spurlock
c787555c36 am 6f002333: am 1c1683a3: am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
* commit '6f002333c30d98c4c51b2217dae4bcd05f8a36f3':
  Saver: PowerManager call to set low power mode.
2014-09-14 20:21:36 +00:00
John Spurlock
b9e2fe1d4a am 1c1683a3: am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
* commit '1c1683a35a0267c03729fa36b930c3dc803aff7a':
  Saver: PowerManager call to set low power mode.
2014-09-14 20:09:39 +00:00