44992 Commits

Author SHA1 Message Date
Svetoslav Ganov
a35df7dacc am 0ed01ab5: Merge "Printers in the list of printers change position." into klp-dev
* commit '0ed01ab57f1277a3889da10daa87733c1af6e0d0':
  Printers in the list of printers change position.
2013-10-01 18:44:58 -07:00
Svetoslav
a4e395057f am c6568719: Merge "Ignore historical printer records for installed services" into klp-dev
* commit 'c6568719671206e726f260fad390680f7fb0ee9e':
  Ignore historical printer records for installed services
2013-10-01 18:44:25 -07:00
Jim Miller
d273cae2c4 resolved conflicts for merge of fb2e3c8d to master
Change-Id: Ic9fe2674e0eb82d071f9b547b6089acacf705576
2013-10-01 15:42:45 -07:00
Alan Viverette
18c631931b Merge "Add accessibility display adjustments" 2013-10-01 18:33:01 +00:00
Fabrice Di Meglio
c993e7447d Merge "Update TimePicker widget and its related dialog" 2013-10-01 18:10:21 +00:00
Chris Wren
0b664c3f83 Merge "add a test for BackupData helpers." 2013-10-01 13:57:20 +00:00
Svetoslav Ganov
ce5cb02eca am b415525a: Merge "Print job files and print job records not always cleaned up." into klp-dev
* commit 'b415525a16074b6dc8e295655648b7c7c1074bbb':
  Print job files and print job records not always cleaned up.
2013-09-30 19:46:15 -07:00
Baligh Uddin
9feabd64f2 Merge "Import translations. DO NOT MERGE" 2013-10-01 02:42:42 +00:00
Alan Viverette
410d4e33c5 Add accessibility display adjustments
BUG: 9057596
Change-Id: I5e7cc05159387cb00701e162d015e2f7ca6cbf4c
2013-09-30 15:38:09 -07:00
Jeff Sharkey
b8e2f178e9 am cc637d9a: Merge "New roots UX, async, performance, docs." into klp-dev
* commit 'cc637d9ae5920ac2f685090f595dc1e1643d71cc':
  New roots UX, async, performance, docs.
2013-09-30 14:17:44 -07:00
Michael Wright
04fa591845 am edb444b4: Merge "Add missing constructor parameter to KeyEvent" into klp-dev
* commit 'edb444b44419def54292cf8325c22697213153fa':
  Add missing constructor parameter to KeyEvent
2013-09-30 14:17:40 -07:00
Zhijun He
d61289f34a am 9552f9b8: Merge "Camera2: remove CameraDevice#getProperties" into klp-dev
* commit '9552f9b8c2bc6d671809514cb402cbc48ee2e323':
  Camera2: remove CameraDevice#getProperties
2013-09-30 14:17:33 -07:00
Lajos Molnar
acb1088189 am 974a6e12: Merge "Make SubtitleController thread safe" into klp-dev
* commit '974a6e1231f80644e382567c5f0a5fb9b6962d27':
  Make SubtitleController thread safe
2013-09-30 14:16:49 -07:00
Raph Levien
ea8b77ae00 am e048f84a: Fix for jank when fast-scrolling DeskClock\'s world cities list in RTL
* commit 'e048f84a762d5f85829ceb2b45de52b73727de74':
  Fix for jank when fast-scrolling DeskClock's world cities list in RTL
2013-09-30 14:16:32 -07:00
Alan Viverette
182637f6c2 am 015bcd4d: Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev
* commit '015bcd4dd43b850ef209c64dae9c08ccaef9ea80':
  Add warning about using MergeCursor in CursorAdapter
2013-09-30 14:14:43 -07:00
Daniel Sandler
a3ea0441d0 am 723ad75e: Merge "API cleanups for Notification." into klp-dev
* commit '723ad75e107f57dc541dfca600745895e1251974':
  API cleanups for Notification.
2013-09-30 14:14:30 -07:00
Jean Chalard
25419efae8 am 5638d29a: Merge "Fix conflicting/unclear documentation in InputConnection." into klp-dev
* commit '5638d29a648ee5722bb88355351c56fde7d6bc93':
  Fix conflicting/unclear documentation in InputConnection.
2013-09-30 14:14:01 -07:00
Svetoslav
b31aea5fb8 am 25b0151a: Merge "Printers in the list of printers change position." into klp-dev
* commit '25b0151a570ff6fb7a6acd9c788b9c3cc9f76be9':
  Printers in the list of printers change position.
2013-09-30 14:13:48 -07:00
Adam Powell
66d1cd9da1 am 8fb6d97a: Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev
* commit '8fb6d97ad5671b4abc1940d8bc56cf7448e45c35':
  Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu
2013-09-30 14:13:35 -07:00
Chet Haase
a16299b1cf am 033837dd: Merge "Make fading transitions work better" into klp-dev
* commit '033837dd6bf32b33d9a67d340efd167f94bf80cf':
  Make fading transitions work better
2013-09-30 14:13:27 -07:00
Raph Levien
8ba6752935 am adf14902: Merge "Fix for Text fading on RTL app names is done at the beginning..." into klp-dev
* commit 'adf149029f701464c66cc5cacbbbc649c1319bcd':
  Fix for Text fading on RTL app names is done at the beginning...
2013-09-30 14:12:47 -07:00
Romain Guy
e3fb7eca81 am 33ed738d: Expose View.executeHardwareAction() Bug #10911502
* commit '33ed738d49dce3af5851d0566739e9ed593057a5':
  Expose View.executeHardwareAction() Bug #10911502
2013-09-30 14:12:05 -07:00
Alan Viverette
32c2b98d27 Merge "Preserve but don't draw accessibility focus for unfocused windows" 2013-09-30 18:13:59 +00:00
Baligh Uddin
99a6183443 Import translations. DO NOT MERGE
Change-Id: Iee979063c738b4b4618adce2b8d32b0c482485c7
Auto-generated-cl: translation import
2013-09-30 10:13:00 -07:00
Svetoslav Ganov
cfab2457f2 Printers in the list of printers change position.
While the logic was correct the array map that holds the list of pritners
does not keep the position of the items constant. Switched to linked hash
map which gives this guarantee.

bug:10955751

Change-Id: Idbbe14d753e6a1ad1002f2289b10cb62d7f9f040
2013-09-28 12:09:29 -07:00
Svetoslav
d8dbc13b47 Ignore historical printer records for installed services
When loading historical records for previously used printers we
now ignore the ones whose target print service is not installed.

bug:10955652

Change-Id: Ib295e7d88ed3c308ef6d8a11bdc1792ebbb6d526
2013-09-27 18:46:24 -07:00
Jim Miller
fb2e3c8d47 Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev 2013-09-28 01:18:17 +00:00
Svetoslav Ganov
b415525a16 Merge "Print job files and print job records not always cleaned up." into klp-dev 2013-09-28 01:06:51 +00:00
Jeff Sharkey
cc637d9ae5 Merge "New roots UX, async, performance, docs." into klp-dev 2013-09-28 00:27:29 +00:00
Svetoslav Ganov
dd68da2741 Print job files and print job records not always cleaned up.
1. We want the files for a print job to be removed as early as possible
   typically because the print job was cancelled, completed, the app
   or the spooler crashed during print job construction. We were keeping
   around in the spooler and hence to disc infos for jobs that are in
   final state since the app that created them may hold a reference to
   a local print job objec whose info it can access to get the latest
   print job state potentially after the job reached final state. The
   issue was that we were persisting to disc created print jobs which
   were during construction which requires careful handling for the
   various cases above. This is tricky and error prone.

   We used to tell the spooler to forget the print jobs infos when the
   app that created them died. The implementation to forget a print
   job was not careful and was nuking currently running print jobs in
   addition to the ones in a terminal state. Further, if the app dies
   before a print job is completed we were left with a stale print
   job in the spooler since we missed the signal to forget it (assuming
   we forget only inactive jobs). These issues suggest that the approach
   is problematic.

   Now we have a cache of print job infos for the jobs an app created.
   This cache is updated when the state of a print jobs changes using
   the new print job state observation code. When the app dies we
   remove the cached jobs for that app. Now if the app calls to get
   the print jobs it gets the cached ones, i.e. the print jobs it
   created during its lifetime, plus the print jobs that are still
   active fetched from the spooler. Note that transient state cannot
   be kept in the spooler since we unbind from it if there is no
   work and it may get killed.

2. Improved the print sub-system logging code to show the cached
   print job infos for apps and also dump the print job PDF file
   names.

bug:10958357

Change-Id: I6f7c1968b6b7ba5be182a10df044ff7ea1fc3a61
2013-09-27 17:26:44 -07:00
Michael Wright
edb444b444 Merge "Add missing constructor parameter to KeyEvent" into klp-dev 2013-09-28 00:26:30 +00:00
Jeff Sharkey
6efba22ce5 New roots UX, async, performance, docs.
Yet another iteration from UX on how roots should be ordered.  Since
we no longer categorize by type, remove from public API.  Updated
asset drop with new dividers.

Update public API docs to be explicit about required columns.  Hide
flags and columns that aren't required for third-party apps.

Move remainder of potentially blocking work to AsyncTasks, including
creating directories, picked root resolution, and creation of new
documents once picked.

Improve performance of layouts by removing baseline alignment and
reduce hierarchy depth.  Set alpha on ImageViews directly to avoid
offscreen rendering hit.

Limit returned recents to 45 days.  Show load in recents when still
waiting for backends.  Show empty message when no recents stacks to
create from.  Use unique key when saving recent stacks.

Bug: 10941423, 10819454, 10964412, 10960718
Change-Id: I08cf589dcda7e203acf67928f4d30322ae36ee94
2013-09-27 17:13:13 -07:00
Zhijun He
9552f9b8c2 Merge "Camera2: remove CameraDevice#getProperties" into klp-dev 2013-09-27 23:58:27 +00:00
Jim Miller
6c9df5054a Fix permissions on WindowManagerService.showAssistant()
Since binder call permissions are not transitive by design,
the proper way to fix this is to have the call talk directly
to keyguard from the navigation bar.

Fixes bug 9409008

Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
2013-09-27 16:29:36 -07:00
Lajos Molnar
974a6e1231 Merge "Make SubtitleController thread safe" into klp-dev 2013-09-27 22:57:22 +00:00
Michael Wright
5b6803c913 Merge "Move EventHub over to using EPOLLWAKEUP when available" 2013-09-27 22:48:32 +00:00
Elliott Hughes
cfd9a2c1db am 917f88f0: am 82e5d875: am ebd397ad: Merge "Regenerate all the OpenGL stubs."
* commit '917f88f033aafb89cbb77feda2932cf88698a56a':
  Regenerate all the OpenGL stubs.
2013-09-27 15:44:14 -07:00
Elliott Hughes
917f88f033 am 82e5d875: am ebd397ad: Merge "Regenerate all the OpenGL stubs."
* commit '82e5d8758a61f1a49700f67f6ddb69219528bad2':
  Regenerate all the OpenGL stubs.
2013-09-27 15:41:25 -07:00
Elliott Hughes
82e5d8758a am ebd397ad: Merge "Regenerate all the OpenGL stubs."
* commit 'ebd397ad9182c37487ba95aaa71ae6dcf0c9d762':
  Regenerate all the OpenGL stubs.
2013-09-27 15:37:56 -07:00
Elliott Hughes
ebd397ad91 Merge "Regenerate all the OpenGL stubs." 2013-09-27 22:33:25 +00:00
Lajos Molnar
29f5183794 Make SubtitleController thread safe
Add the concept of an anchor looper.
Allow show/hide/selectTrack/selectDefaultTrack to be called from thread
other than anchor looper.

Change-Id: Iaf2f3d3c46d1b00a0a24156745ec16b301c80c04
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10919206
2013-09-27 14:55:36 -07:00
Zhijun He
599be6182e Camera2: remove CameraDevice#getProperties
Also cleanup some unnecessary imports.

Bug: 10360518
Change-Id: Id54aa4c9e3dff2bd354e3ebb83687b000842ea3f
2013-09-27 14:31:41 -07:00
Michael Wright
a977707d6e Add missing constructor parameter to KeyEvent
When in the SyntheticKeyHandler, a missing constructor paramater caused the
wrong contstructor to be called. This would cause the device id, scan code and
flags to be incorrect.

Bug: 10966229
Change-Id: Ib84ef88d28c0da517b376c5493a851cf8fe0a9f7
2013-09-27 14:12:23 -07:00
Raph Levien
e048f84a76 Fix for jank when fast-scrolling DeskClock's world cities list in RTL
This is a fix for bug 10863979.

The onPreDraw() method in TextView was canceling the draw every time a
the horizontal scroll changed. These dropped frames were visible as
jank. The fix is to never cancel the draw. It seems likely that the
previous rationale for canceling draw is no longer valid, due to other
fixes, because the scroll state will have been fully updated.

Change-Id: I8c2da5450723f993055a49b1cb57320c08f2a11e
2013-09-27 13:36:24 -07:00
Fabrice Di Meglio
eeff63a5c3 Update TimePicker widget and its related dialog
- the old TimePicker widget is still there for obvious layout compatibility reasons
- add a new delegate implementation for having a new UI based on a radial picker
- use the new delegate only for the TimePickerDialog (which does not need to be
the same)
- added support for Theming and light/dark Themes
- added support for I18N (hour formatting and time separator and also position of
AM/PM indicator coming from Unicode CLDR)
- added support for RTL
- verified support for Keyboard
- verified that CTS tests for TimePicker are passing (for both the legacy and the
new widgets)

Also added a new HapticFeedbackConstants.CLOCK_TICK and its related code for
enabling ticks vibration.

Change-Id: Ib9b53a152bd9e97383dc391ef8c26da91217298f
2013-09-27 12:09:41 -07:00
Alan Viverette
015bcd4dd4 Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev 2013-09-27 18:03:47 +00:00
Nick Kralevich
3d28abf392 am 19db8894: am 19f9f445: am 7a56d949: Merge "Fix SELinux.java doc errors"
* commit '19db889424addfdf2eae9e3dac1c97d93e13cb74':
  Fix SELinux.java doc errors
2013-09-27 09:40:09 -07:00
Nick Kralevich
19db889424 am 19f9f445: am 7a56d949: Merge "Fix SELinux.java doc errors"
* commit '19f9f445bfe368f801f893aad6dbd372562746ac':
  Fix SELinux.java doc errors
2013-09-27 09:37:56 -07:00
Nick Kralevich
19f9f445bf am 7a56d949: Merge "Fix SELinux.java doc errors"
* commit '7a56d949ef524d00e4091827104ac2450e4ec9db':
  Fix SELinux.java doc errors
2013-09-27 09:35:01 -07:00
Nick Kralevich
7a56d949ef Merge "Fix SELinux.java doc errors" 2013-09-27 16:32:57 +00:00