67627 Commits

Author SHA1 Message Date
Kenny Root
687bdf0ae1 Move keystore to system/security repo
Move keystore to system/security at revision
a91203b08350b2fc7efda5b1eab39e7541476b3a

Change-Id: I7dbd625b864e9c63489b08e9fd28dfb22da81072
2012-02-15 15:55:21 -08:00
Jeff Brown
57ff581bd9 Merge "Keep the display event receiver around forever." 2012-02-15 15:44:14 -08:00
Jeff Brown
1654d0b8d9 Keep the display event receiver around forever.
There is really no point disposing the display event receiver
anymore.  Moreover, it's hard to choose a good time to do it
since the Choreographer only supports one-shot callbacks now.

So let's made the code simpler.

Bug: 5721047
Change-Id: I8533a54e93a787e0ca30d99a1f1eea85534b13b9
2012-02-15 15:40:52 -08:00
Jeff Brown
c4c0a22ae9 Merge "Simplify Choreographer API." 2012-02-15 15:37:49 -08:00
Fabrice Di Meglio
019ace3ebf Merge "Fix the build" 2012-02-15 15:37:21 -08:00
Fabrice Di Meglio
aba0336170 Fix the build
Change-Id: I7c6a2536e894efde951e70188597f39811e2091f
2012-02-15 15:30:37 -08:00
Stephen Hines
f6fb3ab8c0 Merge "Update Element.isCompatible() to work with NONE." 2012-02-15 15:21:01 -08:00
Alex Sakhartchouk
6be163651c Merge "Fixing uint32 size_t mismatches." 2012-02-15 15:14:21 -08:00
Jeff Brown
4a06c8008b Simplify Choreographer API.
Removed the listeners and schedule animation / draw methods.
Instead all requests are posted as one-shot callbacks, which is a
better match for how clients actually use the Choreographer.

Bug: 5721047
Change-Id: I113180b2713a300e4444d0d987f52b8157b7ac15
2012-02-15 15:06:01 -08:00
Fabrice Di Meglio
54546f22fb Make MarginLayoutParams startMargin and endMargin API public
Change-Id: I519f8ede818b068883ee1565d28e188298af9f0e
2012-02-15 14:54:48 -08:00
Scott Main
308b1eaa0a am deb92c61: am fc28fbd4: am 26703326: docs: Google+ badge now sizes properly; remove reposition hack
* commit 'deb92c612bc4b91be8f85da06c618c64b1cd20a8':
  docs: Google+ badge now sizes properly; remove reposition hack
2012-02-15 14:24:07 -08:00
Jesse Wilson
3200d086a6 Merge "Implement the (hidden) ExtendedResponseCache interface." 2012-02-15 14:17:55 -08:00
Eric Fischer
5c447e6b7c Restore deleted strings still referenced from public.xml to fix the build.
Change-Id: I613c28133152f08cd82c435640aea7680282c2d2
2012-02-15 14:06:28 -08:00
Fabrice Di Meglio
c46a5f0267 Merge "Make View paddingStart and paddingEnd API public" 2012-02-15 13:59:27 -08:00
Fabrice Di Meglio
2c884826b2 Make View paddingStart and paddingEnd API public
Change-Id: I39fd987c866e8bfadbaa9a29c0e38b3b7ce03f7e
2012-02-15 13:57:09 -08:00
Jesse Wilson
18c227ba72 Implement the (hidden) ExtendedResponseCache interface.
Bug: http://code.google.com/p/android/issues/detail?id=25418
Change-Id: I4b20d576bac7036f94e57db7124de44f5b8d75be
2012-02-15 16:53:57 -05:00
Eric Fischer
5093b63ffb Merge "Import translations." 2012-02-15 13:35:14 -08:00
Scott Main
deb92c612b am fc28fbd4: am 26703326: docs: Google+ badge now sizes properly; remove reposition hack
* commit 'fc28fbd4e2ccac932f6a72370d4bf4f4d043d49d':
  docs: Google+ badge now sizes properly; remove reposition hack
2012-02-15 13:29:54 -08:00
Eric Fischer
942a30c30d Import translations.
Change-Id: I7ae04712d8ec088c38cb55b6152197896d18c620
2012-02-15 13:28:07 -08:00
Scott Main
fc28fbd4e2 am 26703326: docs: Google+ badge now sizes properly; remove reposition hack
* commit '26703326784a6de45830236bd0a97345f93448d4':
  docs: Google+ badge now sizes properly; remove reposition hack
2012-02-15 13:26:51 -08:00
Scott Main
2670332678 docs: Google+ badge now sizes properly; remove reposition hack
Change-Id: If5e402b8acb249e0ea81436f3d5ecf468934b81f
2012-02-15 13:22:30 -08:00
Romain Guy
cb1abb15a7 Merge "Make it easier to enable dirty regions debugging" 2012-02-15 12:38:05 -08:00
Romain Guy
b04f7e9438 Make it easier to enable dirty regions debugging
adb shell setprop hwui.debug_dirty_regions true

Change-Id: Ifd269c443f5257b1e9c4ea987b134dcf6231106c
2012-02-15 12:36:54 -08:00
Daisuke Miyakawa
ddda82cd62 Merge "Introduce convertAndStrip()" 2012-02-15 12:22:06 -08:00
Michael Jurka
fc2884ad9a Merge "Move two symbols into section for SystemUI" 2012-02-15 12:06:09 -08:00
Jason Sams
c107b10354 Merge "Beging IO stream out from allocation to surface texture." 2012-02-15 12:05:26 -08:00
Jason Sams
163766cbe7 Beging IO stream out from allocation to surface texture.
Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
2012-02-15 12:04:24 -08:00
Daisuke Miyakawa
510db8feb6 Introduce convertAndStrip()
Phone app will use this for actual phone calling, coping with
IccProvider, etc.

Add unit tests for the method, and stripSeparators() which is missing

Bug: 5546664
Change-Id: I49b996abe7a44f7db4301b62f667189281fc40e9
2012-02-15 11:29:21 -08:00
Gilles Debunne
8181201c6e Merge "Invalidate display list on alpha change" 2012-02-15 10:23:18 -08:00
Robert Greenwalt
d6049d4832 Fix the build.
Adding new config resource to the private side of public.xml

Change-Id: Ia095d75d6874d781dc02e66070da7e9468acdf98
2012-02-15 10:15:24 -08:00
Robert Greenwalt
2d9d7fb74b am 1b2583c4: am 7874efeb: am c8711ca7: Merge "Stop using shared DUN APN when tethering stops." into ics-mr1
* commit '1b2583c41c37c055821d8f4ebbdc717f108c3b48':
  Stop using shared DUN APN when tethering stops.
2012-02-15 07:53:53 -08:00
Robert Greenwalt
f8b8eafc45 am 7a08ef44: am e3776a47: am fc19160a: Merge "Add a config to set Dun capabilities." into ics-mr1
* commit '7a08ef442ad6138352785690a8e341607d763399':
  Add a config to set Dun capabilities.
2012-02-15 07:53:51 -08:00
Justin Ho
2c2a41e9a4 am d9a19ffa: am e6ccc94e: am c312ba32: Merge "Update 4G WiMAX assets for notification area as well Bug: 5724605" into ics-mr1
* commit 'd9a19ffa1f4f1a9554a40c7944eddf63f0800edd':
  Update 4G WiMAX assets for notification area as well Bug: 5724605
2012-02-15 07:53:47 -08:00
Steven Ross
71878402dd Merge "Removing dependence on enable_facelock" 2012-02-15 03:29:57 -08:00
Michael Jurka
1e0ced79ca Move two symbols into section for SystemUI 2012-02-14 23:30:06 -08:00
Michael Jurka
0e78df863b Merge "Fix recents on crespo" 2012-02-14 23:26:49 -08:00
Michael Jurka
693ce6447d Fix recents on crespo 2012-02-14 23:25:08 -08:00
Stephen Hines
2094811371 Update Element.isCompatible() to work with NONE.
In the past, we used a null reference to signify a user-created Element. The
use of DataType.NONE for user-created Elements thus required an update to our
Element compatibility check.

Change-Id: I3293a645eff85c9040487c22f3a3240862f74350
2012-02-14 19:42:42 -08:00
Jeff Brown
fef3d62b16 Merge "Add support for posting Runnables to the Choreographer." 2012-02-14 19:41:32 -08:00
Jeff Brown
472ea60685 Merge "Add a barrier mechanism to the MessageQueue." 2012-02-14 19:41:22 -08:00
Jeff Brown
968588573c Add support for posting Runnables to the Choreographer.
Also clean up the Choreographer so that it doesn't directly extend
Handler and so that it doesn't schedule animation or drawing unless
there are listeners or callbacks attached.

Bug: 5721047
Change-Id: I35350c8d41d4fa3f8c8c7bc43edd82e581b55a68
2012-02-14 19:36:12 -08:00
Jeff Brown
e799cb78b4 Add a barrier mechanism to the MessageQueue.
The synchronization barrier enables selectively blocking
execution of synchronous messages until the barrier is released.
Asynchronous messages may continue running in the meantime.

The barrier is intended to be used to implement more sophisticated
scheduling policies related to view hierarchy traversals.  While
traversals are pending, most messages posted to the message queue
must be held up.  This is to satisfy the invariant that traversals
will occur before subsequently posted messages are handled.

The exception to this rule are "asynchronous" messages that represent
external events or interrupts that come from other components such
as VSYNC pulses, input events or sensor events.  Because these messages
are typically delivered at arbitrary times, they are independent of
traversals or other typical synchronization boundaries.

Messages can now be flagged as asynchronous to indicate that they
are weakly ordered.

Bug: 5721047
Change-Id: I1446dcfbc896f33b48355adc28967ace8c8c9b9b
2012-02-14 19:27:15 -08:00
Svetoslav Ganov
5dd53e1f12 Merge "Incorrect behavior of View clear focus v2.0." 2012-02-14 19:09:54 -08:00
Mathias Agopian
70579d5d41 Merge "Don't wrap EGLImageKHR and EGLSyncKHR anymore" 2012-02-14 18:59:47 -08:00
Svetoslav Ganov
b36a0ac970 Incorrect behavior of View clear focus v2.0.
The framework tries to have a focused view all the time. For
that purpose when a view's focus is cleared the focus is given
to the first focusable found from the top. The implementation
of this behavior was causing the following issues:

1. If the fist focusable View tries to clear its focus it
   was getting focus but the onFocusChange callbacks were not
   properly invoked. Specifically, the onFocusChange for
   gaining focus was called first and then the same
   callback for clearing focus. Note that the callback
   for clearing focus is called when the View is already
   focused.

2. If not the first focusable View tries to clear focus,
   the focus is given to another one but the callback
   for getting focus was called before the one for clearing,
   so client code may be mislead that there is more than
   one focused view at a time.

3. (Nit) The implementaion of clearFocus and unFocus in ViewGroup
   was calling the super implementaion when there is a
   focused child. Since there could be only one focused View,
   having a focused child means that the group is not focused
   and the call to the super implementation is not needed.

4. Added unit tests that verify the correct behavior, i.e.
   the focus of the first focused view cannot be cleared
   which means that no focus change callbacks are invoked.
   The callbacks should be called in expected order.
   Now the view focus clear precedes the view focus gain
   callback. However, in between is invoked the global
   focus change callback with the correct values. We may
   want to call that one after the View callbacks. If
   needed we can revisit this.

Change-Id: I8cfb141c948141703093cf6fa2037be60861cee0
2012-02-14 17:50:51 -08:00
Gilles Debunne
5e78d9bea5 Invalidate display list on alpha change
Bug 5945886

Change-Id: Ibab3ad2c9e526c038672699b571de154dfc8d17c
2012-02-14 17:46:43 -08:00
Mathias Agopian
508c165b19 Don't wrap EGLImageKHR and EGLSyncKHR anymore
this simplify our EGL wrapper implementation a lot.
This wrapping is no longer needed now that we can only
support a single underlaying EGL implementation.

Change-Id: I8213df7ac69daac447f1fe6e37044b78aac4e9a9
2012-02-14 17:14:36 -08:00
Jeff Brown
91ec0b722f Merge "Clean up InputChannel file descriptor data type." 2012-02-14 17:11:41 -08:00
Romain Guy
79952ee29a Merge "Clarify documentation of Bitmap.createScaledBitmap/createBitmap Bug #6015472" 2012-02-14 16:55:55 -08:00
Siva Velusamy
03290d2714 Merge "gltrace: Patch up all glUniform*() calls." 2012-02-14 16:36:44 -08:00