74871 Commits

Author SHA1 Message Date
Andreas Huber
91befdc0c4 Information required to decrypt buffers is now packaged into MediaCodec.CryptoInfo
New API on MediaExtractor to retrieve a CryptoInfo structure where applicable.

Change-Id: I18edfc9ac56a4544c8f17cba24401b96dacbff7d
related-to-bug: 6275919
2012-04-18 12:19:51 -07:00
Chris Wren
26fbf27ad1 fixing the build break in notification_template_big_text.xml
Change-Id: Ibeef587e27d1f97dae2b6184be5e7b2548768f5e
2012-04-18 11:50:56 -04:00
Daniel Sandler
6a858c347f Gestures for expanding notifications.
Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
2012-04-18 11:21:19 -04:00
Chet Haase
3d100d97a5 Merge "Fix logic of animator start/cancel/end callbacks" 2012-04-18 07:41:45 -07:00
Daniel Sandler
b9a6d4d052 Merge "New InboxStyle template for expanded notifications." 2012-04-18 05:28:00 -07:00
satok
e1e874854a Optimize the timing to query sentence level spell checking
Bug: 6354647
Change-Id: I52e6c21387c7f4d6fc05b4c50bbb0a5a6c75194b
2012-04-18 16:52:44 +09:00
Bart Sears
cdd9d43c4e Merge "Try out the latest SystemUI version of DroidNaskh" 2012-04-17 22:11:46 -07:00
Michael Chan
2c1dcfdabb Merge "Added identity and namespace to Calendar Attendees" 2012-04-17 21:27:53 -07:00
Daniel Sandler
879c5e07c0 New InboxStyle template for expanded notifications.
Bug: 6336834
Change-Id: I67b273350b984673cbfb19267451a3782d0477fc
2012-04-17 23:41:58 -04:00
Jeff Brown
6947fd0f96 Merge "Fix build." 2012-04-17 19:53:47 -07:00
Jeff Brown
426f905b84 Fix build.
Change-Id: I277042c91b34af59e70941fd5b458581310b1c22
2012-04-17 19:52:56 -07:00
Steven Ross
b7f0af2aca Merge "Always showing FaceUnlock view before bind fixes 6330358" 2012-04-17 19:30:23 -07:00
Svetoslav Ganov
6da9677f49 Merge "Views with zero alpha are shown for accessibility." 2012-04-17 19:29:42 -07:00
Svetoslav Ganov
b3830f6737 Views with zero alpha are shown for accessibility.
1. Views that a user cannot see should not be reported for
   accessibility. The check for zero alpha was missing.

bug:6291855

Change-Id: I3cb4c19cccf0dc2427677df630d124c36bd4770b
2012-04-17 19:27:38 -07:00
Jeff Brown
6957b60378 Merge "Add Dvorak keyboard layout." 2012-04-17 19:21:34 -07:00
Michael Chan
37f1d29784 Added identity and namespace to Calendar Attendees
Bug: 6353721
Change-Id: I8cf7a5bbeb5380320b9bb11875168bef4e180b31
2012-04-17 19:03:38 -07:00
Jeff Brown
4a3862f6b0 Add Dvorak keyboard layout.
Added support for mapping both scan codes and HID usages to
KeyLayoutMap and KeyCharacterMap.  Keyboard overlays can
now influence how key events are mapped to key codes.

Bug: 6110399
Change-Id: I6619fd2d3e1337c55928f89869dbc45b535c7ccf
2012-04-17 18:50:05 -07:00
Michael Chan
62d52f9ff8 Fix build
Change-Id: I56d6305b6c28dab8c6d4d04d56df277e0ca39d91
2012-04-17 18:39:00 -07:00
James Dong
f7d3bdfc22 Merge "AddExternalSource(String path) needs to turn the path to fd if it is a file" 2012-04-17 18:36:48 -07:00
James Dong
c4c0284e45 AddExternalSource(String path) needs to turn the path to fd if it is a file
o related-to-bug: 5542712

Change-Id: Iea32012996ca9de4c86f144de916df64fcab3c52
2012-04-17 18:31:20 -07:00
Bart Sears
b285e83e26 Try out the latest SystemUI version of DroidNaskh
This is the latest drop (ver 1.00) of DroidNaskhShifAlt.ttf
from Monotype.  Checking it in so we can see if there is any
clipping.

Bug: 5987379
Change-Id: I25697e64c1643dc4d36fe4ff6a407549c1165d60
2012-04-17 18:25:16 -07:00
Jeff Brown
420489ca1f Merge "Support loading keyboard layout overlays from resources." 2012-04-17 17:59:03 -07:00
Jeff Brown
6ec6f79e1a Support loading keyboard layout overlays from resources.
Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically.  The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed.  This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary.  We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
2012-04-17 17:56:32 -07:00
Michael Chan
4db3ca7f81 Merge "Add support for identity in calendar attendees" 2012-04-17 17:56:25 -07:00
Craig Mautner
1b66766f62 Merge "Add call-stack reporting methods into Debug" 2012-04-17 17:28:20 -07:00
Craig Mautner
a51a9564fd Add call-stack reporting methods into Debug
Added two public methods to Debug. These methods return a String
indicating the caller (getCaller()) or callers (getCallers(int depth))
of the calling method. The String indicates the class, method and line
number of the caller(s). Similar to using Throwable.fillInStackTrace()
but much more concise.

Change-Id: I53d0085aa50e4501d28e8eb3ad5b91ef700ac218
2012-04-17 17:25:50 -07:00
Guang Zhu
d7f256dd2f TileBenchmark test app needs read sdcard permission
Since the app is using JB API level, it's required to declare
an explicit READ_EXTERNAL_STORAGE permission

Change-Id: I84142d51aeab4bc28269a6fea716c8663e080118
2012-04-17 16:01:34 -07:00
Michael Chan
48ec622265 Add support for identity in calendar attendees
Bug: 6353721
Change-Id: I8667f55e09adf09b070323484342fc296240ff51
2012-04-17 15:58:28 -07:00
John Reck
06fd472390 Merge "Fix a bug with enterTouchMode removing focus" 2012-04-17 15:37:48 -07:00
Andreas Huber
c5cbcb51ba Merge "Make seekTo not throw exceptions." 2012-04-17 15:10:36 -07:00
Andreas Huber
2b9d6bd092 Make seekTo not throw exceptions.
Change-Id: I9d0469962364b86fbab920e9ac65f468fc630737
related-to-bug: 6276111
2012-04-17 15:02:22 -07:00
Alex Yakavenka
fe37acae72 Telephony: Dynamically instantiate IccCard
Change-Id: I8c4d800158fb1eb12de66d437cb0d76695ff98d3
2012-04-17 15:00:30 -07:00
John Reck
09dd116cd3 Fix a bug with enterTouchMode removing focus
Bug: 6347083
 Fix an issue where enterTouchMode would remove focus from the
 view that already has focus and is focusableInTouchMode. This
 causes issues with WebView, as it updates internal state when
 losing and gaining focus.

Change-Id: I5c1f72cc08baf3445e2be9e0496606a53fb9929e
2012-04-17 14:29:05 -07:00
Chet Haase
17cf42cb85 Fix logic of animator start/cancel/end callbacks
The callbacks for animators in some corner cases were not being
called correctly. For example, startDelayed animators that were
started and then ended didn't send out the proper events.

This CL fixes that logic. Specifically:
- An animator that is end()'d will implicitly start() itself and then
assign an end value. This was already the case, but listeners were not
getting notified. Now this situation causes callbacks to listeners for
both the start and end events.
- startDelayed animators that are end()'d or cancel()'d prior to finishing
the startDelay phase will send out events (start and cancel/end, as appropriate)
to listeners.

Change-Id: I40a0f2fdb19d9ec7c3726a91363686c6ecb7d915
2012-04-17 13:58:44 -07:00
Chet Haase
df1423e28c Merge "Adding new CHANGING transition to LayoutTransition." 2012-04-17 13:56:28 -07:00
John Reck
6849e4dd45 Merge "Add destroyed check" 2012-04-17 13:54:54 -07:00
Steven Ross
fe444b48ba Always showing FaceUnlock view before bind fixes 6330358
Sets the view to visible directly on the UI thread when feasible
this includes all cases where FaceUnlock is bound.
The delay in processing a message was causing the bug.
This additionally replaces the call in the keyguardview show
with one when the facelockareaview is initialized.

Change-Id: I8511f175d68023372e11d6e76fa1c44df6ac8a3d
2012-04-17 16:36:55 -04:00
Chet Haase
7dd4a536a1 Adding new CHANGING transition to LayoutTransition.
LayoutTransition used to depend on child views being added/removed or
shown/hidden in the transition container. These evens would trigger animations
to fade the child view as well as those to animate the side-affected changes
to sibling views. This CL enables a new feature in LayoutTransition that
enables animating any changes to the layout of the children in the container
whenever a layout occurs. For example, you can change the LayoutParams of a
child view and call requestLayout() to automatically animate those changes.

This capability is not enabled by default. To enable, call the new
LayoutTransition.enableTransitionType(LayoutTransition.CHANGING) method.

Change-Id: I4d07a3b36245353b2151f0dca4f75080ab6a4592
2012-04-17 13:33:55 -07:00
John Reck
8a7e177bb5 Add destroyed check
Bug: 6350066

Change-Id: Icf077bcf9678a036a669124c27e56e191a935960
2012-04-17 13:32:00 -07:00
Craig Mautner
c843642fbb Merge changes I4752bdf1,I37690cf2
* changes:
  Move Surface operations into existing transaction.
  Clear orientation variable until rotation is done.
2012-04-17 13:18:45 -07:00
Irfan Sheriff
26c246a3f1 Merge "fix build - new current.txt" 2012-04-17 12:52:20 -07:00
Matthew Xie
b85a769e0b Merge "Check nullpointer of discoverableTimeout in initBluetoothAfterTurningOn." 2012-04-17 12:48:00 -07:00
Jean-Baptiste Queru
453d98fc70 fix build - new current.txt
Change-Id: Ia114d5f3fef2b84272237eded88c7908f65851f6
2012-04-17 12:46:15 -07:00
Chris Craik
3844067c3c am a6d62b76: am 4f998a1e: am fd862e98: Add header for forward compatibility
* commit 'a6d62b76ad8f09bd677fa115fbb71fdae2510552':
  Add header for forward compatibility
2012-04-17 12:08:25 -07:00
Andreas Huber
87459dbc59 Merge "MediaCrypto's constructor can throw RuntimeException." 2012-04-17 12:05:22 -07:00
Chris Craik
a6d62b76ad am 4f998a1e: am fd862e98: Add header for forward compatibility
* commit '4f998a1e4865f11f772bbe18a702f4ad95ab353e':
  Add header for forward compatibility
2012-04-17 12:05:12 -07:00
Chris Craik
4f998a1e48 am fd862e98: Add header for forward compatibility
* commit 'fd862e9828d544f593a622f2914d1257366ae802':
  Add header for forward compatibility
2012-04-17 12:02:47 -07:00
Amith Yamasani
d95ce04bdc Merge "Make sure persistent processes are not replicated for secondary users." 2012-04-17 11:55:54 -07:00
Craig Mautner
acaf9cca86 Move Surface operations into existing transaction.
Several Surface operations - notably setPosition, setSize, and show -
had been moved outside of a Surface.openTransaction/closeTransaction
window. This corrects that problem.

In addition, before animations were separated from layout the Surface
frame was computed prior to returning from relayoutWindow(). After
separation the frame was being computed during animation. This checkin
restores the frame calculation in layout.

Fixes bug 6343291.

Change-Id: I4752bdf1fed0f2b46c5eb9508825c9b1b0fd702f
2012-04-17 11:55:00 -07:00
Jeff Brown
0192e966ff Merge "Add persistence for selected keyboard layout." 2012-04-17 11:52:29 -07:00