76599 Commits

Author SHA1 Message Date
Dianne Hackborn
5b5cc4d536 Have the stable layout take into account the window's fullscreen flag.
When using stable layouts, you are typically expected to hide and
show the status bar through the system UI fullscreen flag.  This hides
both the status bar and the action bar.  The stable layout assumed
that when not hiding the status bar through the system UI flags, that
the status bar would be visible.

This change makes things a little smarter, also looking at the
window's fullscreen flag (which only hides the status bar).  If this
flag is set on the window, then the stable layout now assumes that
the status bar will never be shown.  This allows us to position the
action bar correctly in the situation where the application has set
the window to fullscreen and requested a stable layout, instead of
always leaving room for the status bar above it.

Change-Id: I757072ae99cd3741753af7210dbf51afe94d3db5
2012-05-16 17:24:11 -07:00
Daniel Sandler
a0e0d5806c Merge "Removing a notification that isn't there isn't a big deal." into jb-dev 2012-05-16 10:12:48 -07:00
Daniel Sandler
39f8889d98 Merge "Fix longpress handler in notifications." into jb-dev 2012-05-16 10:12:23 -07:00
Daniel Sandler
491d3a9bfa Fix longpress handler in notifications.
Bug: 6452142
Change-Id: Iaa8e189cd1536f2826d5fe3721ead9bc33397711
2012-05-16 13:04:06 -04:00
Elliott Hughes
4ed93c63fc Merge "Mention that ProGuard inlines accessors." into jb-dev 2012-05-16 09:55:12 -07:00
Daniel Sandler
fe0806a3b6 Removing a notification that isn't there isn't a big deal.
You shouldn't do it, but there's no need to fault your
process.

Bug: 6396830
Change-Id: I47c20b9829e4e8bb98862f33c3c52be1b5987f37
2012-05-16 12:43:02 -04:00
Daniel Sandler
559146fc98 Merge "New fonts in notifications." into jb-dev 2012-05-16 08:06:02 -07:00
Daniel Sandler
e2c6d77c5f Merge "Fix 1U notifications." into jb-dev 2012-05-16 08:05:56 -07:00
Daniel Sandler
2c3e9e199a New fonts in notifications.
Bug: 6418617
Change-Id: Ie7ed4530c737e1d4fe1f7fab61dfae162ea263a3
2012-05-16 11:02:06 -04:00
Daniel Sandler
70334ac231 Merge changes If0b865ac,Ie0c61300 into jb-dev
* changes:
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:19:15 -07:00
James Dong
5ddb19e530 Remove dependency of libvideoeditor_jni.so on static libs from video editor engine
related-to-bug: 6502980

Change-Id: I77aa67dac73ecb6200cfc885c426c23d70929e5d
2012-05-16 01:04:40 -07:00
Daniel Sandler
030243a083 Fix 1U notifications.
Bug: 6502730
Change-Id: I057b7ac038354c68e45b0a85c44511b2af16b9ab
2012-05-16 02:37:07 -04:00
Daniel Sandler
0749e8e8a3 Move BigPicture's header to the top of its large view.
Bug: 6494690
Change-Id: If0b865ac72b24c16286f9c334558c12d5b70abd4
2012-05-16 02:37:06 -04:00
Daniel Sandler
8680bf865a Action button improvements:
- Horizontal layout
  - At most 2 are shown
  - Tombstones are now shown (if the intent is null, the
    button is disabled; use it for quick feedback of an
    action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
2012-05-16 01:27:54 -04:00
Daniel Sandler
ae14715284 Merge "Prevent IME from being closed by the notification panel." into jb-dev 2012-05-15 20:03:42 -07:00
Daniel Sandler
4391b0bc69 Prevent IME from being closed by the notification panel.
Bug: 6450921
Change-Id: I124c3776728456fdd71e57cfcf898b11a8dfc7ec
2012-05-15 22:54:44 -04:00
Romain Guy
d44a16864d Merge "Don't draw onto a hw surface using the software renderer Bug #6485955" into jb-dev 2012-05-15 19:19:41 -07:00
Romain Guy
413baf8a03 Don't draw onto a hw surface using the software renderer
Bug #6485955

If an invalidate gets scheduled right before the EGL surface is destroyed,
the next draw pass is done in software. This causes the software renderer
to connect to the surface forever which prevents the hardware renderer
from coming back when the screen is turned back on.

The fix here is to ignore the draw request when hw acceleration is requested
but not yet available. Proper software fallback will still happen when an
error is encountered with hardware rendering (in which case hw acceleration
will not be marked as requested anymore.)

Change-Id: I1edc4a51c8dd38240aa2345092a18a081a756fc1
2012-05-15 19:15:47 -07:00
Svetoslav Ganov
67d10a5867 Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev 2012-05-15 18:56:45 -07:00
Svetoslav Ganov
4528b4e882 Prefetching of accessibility node infos getting incorrect views.
1. The prefetcher of accessibility nodes infos was not folloing
   the childForAccessibility relationship when finding the views
   whose node infos to prefetch.

2. NumberPicker was not reporting the correct parent.

bug:6471710

Change-Id: Ia7ad5dd031fb4b3816dfe630d5212201cfafa236
2012-05-15 18:32:23 -07:00
Amith Yamasani
0763e01c78 Merge "Fix amnesia problem in MultiSelectListPreference." into jb-dev 2012-05-15 18:18:43 -07:00
Dianne Hackborn
80fea051ba Merge "Fix some issues with updating the offsets of a window." into jb-dev 2012-05-15 18:15:47 -07:00
Dianne Hackborn
79f5777d7c Merge "A few odds and ends." into jb-dev 2012-05-15 18:15:20 -07:00
Dianne Hackborn
3e52fc2515 Fix some issues with updating the offsets of a window.
- Apply the correct crop rect at this point.
- Apply the correct position by taking into account the frame left/top.
- Don't directly apply the new values if the window is currently
  animating, since we need to go through the whole animation step
  to determine what the correct position is (taking into account
  any transformations).

Change-Id: I15d79354d9779867c49c7c0880faccdead7b021d
2012-05-15 17:58:02 -07:00
Xia Wang
1d366274ba Merge "Fix issue: Disable soft ap when test activity is created. Add timer for soft ap enalbing timer: 6192139" into jb-dev 2012-05-15 17:34:44 -07:00
Eric Fischer
7266e83363 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-15 17:32:09 -07:00
Elliott Hughes
f4ba5c8456 Mention that ProGuard inlines accessors.
Bug: http://code.google.com/p/android/issues/detail?id=27775
Change-Id: I6d8eaf41e3b7de30a9ef0cd03e3d6a9eec92c063
2012-05-15 17:29:33 -07:00
Eric Fischer
fb4d663a5a Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-15 17:28:27 -07:00
Eric Fischer
cf31066f81 Import translations. DO NOT MERGE
Change-Id: Ic1fae2f961943dc4304b2733edb54e65dd5c5526
2012-05-15 17:27:43 -07:00
Amith Yamasani
cd9ea08d9c Fix amnesia problem in MultiSelectListPreference.
Bug: 6478079

Pointer assignment instead of copy was resulting in mValues being cleared
on next launch, since mValues became the same pointer as mNewValues.

Change-Id: I91014948e4f48056474b3ab31aab6d35e0ad69ca
2012-05-15 17:17:24 -07:00
Adam Powell
e095ceaa79 Merge "Handle returning a result from automatic up navigation from another task." into jb-dev 2012-05-15 17:11:45 -07:00
Eric Fischer
e067d3873b Import translations. DO NOT MERGE
Change-Id: I4f28c7c07dc52c1bb3c320692e7286bceedde177
2012-05-15 17:08:14 -07:00
John Reck
7a59c5aebc Merge "Always do a HIT_TEST" into jb-dev 2012-05-15 16:55:45 -07:00
Adam Powell
3d193d92f6 Handle returning a result from automatic up navigation from another
task.

When navigating up from a different task, if the current activity has
a result set only finish the current activity instead of trying
finishAffinity. Log this so that developers know why this behavior is
happening.

Bug 6465336

Change-Id: Ic7cec6f0c0d5861296091e2aea9344309f5fc600
2012-05-15 16:53:34 -07:00
Michael Chan
2faa075ed7 Merge "Update docs for launching custom app for calendar events" into jb-dev 2012-05-15 16:30:15 -07:00
Xia Wang
2f19a3103c Fix issue: Disable soft ap when test activity is created.
Add timer for soft ap enalbing timer: 6192139

Change-Id: I9f9a6a1f0787efdfbb924af80f7d610c07cd32e5
2012-05-15 16:10:55 -07:00
Fabrice Di Meglio
31a4cbf00c Merge "Fix bug #6495019 Character gets garbled when locale is changed" into jb-dev 2012-05-15 15:29:25 -07:00
Chris Craik
6675f691ed Merge "Invalidate on new picture if scale/content size changes" into jb-dev 2012-05-15 15:28:21 -07:00
clchen
c8654acf63 Merge "Updating the accessibility gestures to remove unused gestures (circles) and adding more examples to improve recognition." into jb-dev 2012-05-15 15:28:08 -07:00
Guang Zhu
5c0a99f3a1 Merge "Expose class name in AppWidgetHostView for accessibility" into jb-dev 2012-05-15 15:28:03 -07:00
clchen
d3a6b725e0 Updating the accessibility gestures to remove unused gestures
(circles) and adding more examples to improve recognition.

Change-Id: Ib89b6efb5ca48bc50f0b51017519304d3d20748e
2012-05-15 15:19:47 -07:00
Stephen Hines
a7ea0d3968 Merge "Add unit tests for convert (with relaxed precision)." into jb-dev 2012-05-15 15:11:55 -07:00
Dianne Hackborn
e302a16235 A few odds and ends.
- Add documentation on "television" UI mode.
- Tweak new documentation and implementation around propagating
  URI grants through choosers.
- Add new activity launch flag for closing system dialogs.

Change-Id: I978c05f0dc3d16e1c55d43631828b9efa6335b19
2012-05-15 14:58:32 -07:00
Fabrice Di Meglio
15cc68ced0 Fix bug #6495019 Character gets garbled when locale is changed
- add missing cached data clearing. The Shaper was caching the HB_Face so
clear them too
- do minor code refactoring

Change-Id: Ifa86cc63815bdb4b51ce688cf16e986415b1e8c1
2012-05-15 14:55:49 -07:00
James Dong
5301a56cc3 Merge "Revert "Remove dependency of libvideoeditor_jni.so on static libs from video editor engine"" into jb-dev 2012-05-15 14:54:38 -07:00
Adam Powell
5ff7efa253 Merge "Appease the simians" into jb-dev 2012-05-15 14:54:00 -07:00
James Dong
f20e4f4b1a Revert "Remove dependency of libvideoeditor_jni.so on static libs from video editor engine"
This reverts commit cbaa821b7f286a54767cc8bc549504ea2ed86e4d.
2012-05-15 14:51:52 -07:00
Adam Powell
a60314c707 Appease the simians
Ensure that the shown panel view is not currently attached to a parent
before adding it to the panel decor view.

Bug 6430928

Change-Id: Ic64ec4222db4754e64afdf06d7d2b77fb5ef825a
2012-05-15 14:33:13 -07:00
Guang Zhu
1affb93764 Expose class name in AppWidgetHostView for accessibility
The class is public, part of framework, exposing it for launcher
testing.

Change-Id: Icd9b0f3e300de964b98de8d9f5f62fdc916584e3
2012-05-15 14:29:33 -07:00
James Dong
6387c8a9cb Merge "Remove dependency of libvideoeditor_jni.so on static libs from video editor engine" into jb-dev 2012-05-15 14:24:13 -07:00