110896 Commits

Author SHA1 Message Date
Mindy Pereira
e8ce8ba2b5 Add doubletap swipe to scalegesturedetector
Change-Id: I070b09ed7295e0c3e07c6dffcdaba20226f7c2a3
2013-08-29 16:33:02 -07:00
Jason Monk
1f809c7761 Merge "Don't clear Global Proxy on boot." into klp-dev 2013-08-28 14:41:15 +00:00
John Spurlock
d20aeab028 Merge "SystemUI asset update post ux asset merge." into klp-dev 2013-08-28 13:26:01 +00:00
John Spurlock
0d1376811c SystemUI asset update post ux asset merge.
Bug:10502089
Change-Id: I88b0b4a17018766bccb99426f8f270214c883427
2013-08-28 09:02:40 -04:00
Daniel Sandler
f31da76a3a Merge "Remove period from "No service."" into klp-dev 2013-08-28 13:01:21 +00:00
Daniel Sandler
52a1923592 Remove period from "No service."
Bug: 10460869
Change-Id: I57b030518c9cfec367da21e39af7a001a565daa4
2013-08-28 08:42:14 -04:00
Zhijun He
5b6ce5a292 Merge "ImageReader: Fix null listener case" into klp-dev 2013-08-28 02:22:37 +00:00
John Spurlock
ae73139f37 Merge "Remove unreferenced assets from SystemUI." into klp-dev 2013-08-28 01:26:13 +00:00
Baligh Uddin
ef8000670e Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:45:47 +00:00
Baligh Uddin
c513608dc1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:58 +00:00
Baligh Uddin
397c7aaf8d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:36 +00:00
Svetoslav Ganov
ca09dbc67b Merge "Print APIs update." into klp-dev 2013-08-28 00:07:09 +00:00
Martijn Coenen
bbbc8660cd Merge "Add NFC reader-mode API." into klp-dev 2013-08-27 23:08:56 +00:00
Zhijun He
e2a11bb74d ImageReader: Fix null listener case
Only do the handler check when listener is not null.

Bug: 10360518
Change-Id: I9940942ae95a492c92e028e5f862beea16e1da80
2013-08-27 16:02:21 -07:00
Alan Viverette
3d1b3cb9d9 Merge "Add documentation to onTouchEvent for accessibility" into klp-dev 2013-08-27 22:48:03 +00:00
Sreeram Ramachandran
d8d4c51e3b Merge "Fix channel set option in wifi batch scan command." into klp-dev 2013-08-27 22:45:30 +00:00
John Spurlock
4bf5c0e242 Remove unreferenced assets from SystemUI.
Bug:10502089
Change-Id: I9c414ff88054a764ab56f70ae8a0c0c82c248be9
2013-08-27 17:53:08 -04:00
Sreeram Ramachandran
268f329521 Fix channel set option in wifi batch scan command.
Fix by not including extraneous delimiters, and changing the delimiter from a
space to a comma.

Bug: 10444428
Change-Id: Ia3197045d44a2f959316935ae085575500e65459
2013-08-27 14:49:23 -07:00
Martijn Coenen
c20ed2ff12 Add NFC reader-mode API.
Allows applications to temporarily force the NFC controller
to only do tag discovery. This will allow Android applications
to read and interact with devices that employ HCE.

Bug: 10360259
Change-Id: I709ead9a26f8e6ae8582cc295d82bd896e7c5bba
2013-08-27 14:32:53 -07:00
Craig Mautner
61f0f9ada5 Merge "When adding a window evaluate all tasks." into klp-dev 2013-08-27 21:20:52 +00:00
Craig Mautner
ac738a25f8 Merge "Hide stackId from prying eyes." into klp-dev 2013-08-27 21:20:30 +00:00
Christopher Tate
d381680b63 Merge "Make sure to actually log when Log.wtf() hiccups" into klp-dev 2013-08-27 21:15:03 +00:00
Christopher Tate
941adc95e1 Make sure to actually log when Log.wtf() hiccups
Bug 10494724

Change-Id: I687d7df73a8f4594d42955f100d928e98bbd9b30
2013-08-27 14:10:44 -07:00
Sandeep Siddhartha
572ec4e88c Merge "Temporary disable Hotword on lockscreen" into klp-dev 2013-08-27 20:31:32 +00:00
Sandeep Siddhartha
c4c330156e Temporary disable Hotword on lockscreen
Change-Id: Icdddcc0308b9f3153172e34a8f4d051c58829653
2013-08-27 13:25:40 -07:00
Craig Mautner
018be3da7b When adding a window evaluate all tasks.
Previously the code was adding a window based only on the tasks on
the stack belonging to the window being added. But if a window from
another stack was on top the window would be added out of order.

In particular when there was a dialog over the launcher app and the
device was rotated, the launcher window was being added over the
dialog. This caused the launcher icons to obscure the dialog and for
the dialog buttons to be untouchable.

Fixes bug 9984067.

Change-Id: I9a57eb641d118f4a90e98af8ca77127ab5364e79
2013-08-27 13:25:17 -07:00
John Spurlock
373bc29292 Merge "Fix NPE for devices w/out soft-nav." into klp-dev 2013-08-27 20:16:30 +00:00
John Spurlock
f6b639773c Fix NPE for devices w/out soft-nav.
And fix other places w/out null guards in PhoneStatusBar.

Bug:10507892
Change-Id: I1be1b4c88bedd097530fd44d3506b716957f9c14
2013-08-27 16:12:54 -04:00
Chet Haase
f1c3f28eb9 Merge "Fix NPE when setting new LayoutTransition" into klp-dev 2013-08-27 19:50:43 +00:00
Chet Haase
fee6f2b3d3 Fix NPE when setting new LayoutTransition
ViewGroup.setLayoutTransition() has logic to cancel a previously-running
transition and remove the ViewGroup's listener from that transition. However,
it is possible for the transition to be set to null on the ViewGroup on the
cancel() call, making the next call to remove the listener crash with an NPE.

The fix is to use a temporary variable to hold the old reference and
not depend on the class instance variable remaining valid/non-null across
the call to cancel().

Issue #10488932 Hangout NPE in ViewGroup.setLayoutTransition on initiating a new conversation
Issue #10509201 ViewGroup.setLayoutTransition(null) causes crash when being called in LayoutTransition.TransitionListener.endTransition()

Change-Id: I7c181b79e6601024c93a8dc246d32b751f78b216
2013-08-27 12:22:29 -07:00
Fabrice Di Meglio
6d7771b575 Merge "Fix bug #10462461 CTS TimePickerTest are broken for testSetOnTimeChangedListener()" into klp-dev 2013-08-27 19:04:13 +00:00
Svetoslav Ganov
aec1417ca9 Print APIs update.
1. Added scale to fit and scale to fill fitting modes.

2. Added APIs for a print app to specify which constraints imposed
   by the print attributes were satsified during a layout so they
   are not handled by the printer again, e.g. if the content is to
   be in landscape the the app generated such content the printer
   should rotate the content again.

3. Added some printer statuses.

4. Added a helper class that generates PDF documents with correct
   size based on the passed in print attributes.

5. Exposed a ctor for PageRange which was hidden by mistake and apps
   could not create page ranges. Added API for changing the printer
   status.

Change-Id: If1334a61d2d931027b98075f653018d456b1b768
2013-08-27 11:56:18 -07:00
Tom O'Neill
aeda265c4d Merge "Remove or reduce visibility of deprecated methods" into klp-dev 2013-08-27 18:23:18 +00:00
Chris Wren
d220a830f4 Merge "Change DBG to false to eliminate logcat messages." into klp-dev 2013-08-27 18:20:44 +00:00
Svetoslav Ganov
6b8c69edd2 Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev 2013-08-27 18:14:01 +00:00
Tom O'Neill
7f6f45723a Remove or reduce visibility of deprecated methods
- Fix additional getInt() path, restores the location settings screen
functionality.

- Should fix "unresolved link" build breakages in
git_klp-dev-plus-aosp-without-vendor, which is much more persnickety than
klp-dev for some reason.

- Add warning that we may add additional location modes in the future.

- Finish fix for b/10461763 and b/10461474

Change-Id: Id7155e3a0d7526a377d446018ef3bdb057bad3a6
2013-08-27 10:53:15 -07:00
John Spurlock
107e2d418b Merge "Allow wallpaper to extend into the entire screen." into klp-dev 2013-08-27 17:19:35 +00:00
John Spurlock
ef4adae5de Allow wallpaper to extend into the entire screen.
Previously it was constrained to displayInfo.appWidth/appHeight
which comes from PWM.getNonDecorDisplayWidth/Height, which includes
the nav bar.

Also adjust window layout to entire screen.

This allows wallpaper to extend into the navigation bar region,
important if the nav bar is hidden or transparent.

Bug:10505328
Change-Id: Ia6057b9c57b476a48f3b2d8b6368fd631e944a3e
2013-08-27 12:56:41 -04:00
Eino-Ville Talvala
fb3d78118b Merge "Camera2: Add CameraDevice#flush()" into klp-dev 2013-08-27 16:49:04 +00:00
Tom O'Neill
4a9c7fec66 Merge "Address API council comments on location mode API council" into klp-dev 2013-08-27 15:44:16 +00:00
Svetoslav Ganov
cb8ed39b3f Update AccessibilityNodeInfo API as per API council request
bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
2013-08-27 08:26:13 -07:00
John Spurlock
ec566dd06f Merge "Update system bar assets to new style." into klp-dev 2013-08-27 15:05:27 +00:00
John Spurlock
e189f662df Update system bar assets to new style.
Update to new system bar assets (ic_*, stat_*).

Update color resources driving style for battery meter + clock.

Add new xxhdpi versions.

Bug:10502089
Change-Id: Ic957ad9886fbb05ed0ca1765fb9e324bfd8ab609
2013-08-27 10:52:08 -04:00
Jason Monk
a8220a73c5 Don't clear Global Proxy on boot.
Doesn't clear the global proxy when a deprecated one is not found because
there still may be a non-deprecated global proxy present.

Bug: 10457179
Change-Id: I68e6d5aee7b4940f9315484060c7d82cb8ccfa70
2013-08-27 10:51:24 -04:00
Tom O'Neill
42aa4ad688 Merge "Address API Review for SettingInjectorService" into klp-dev 2013-08-27 14:35:43 +00:00
Lorenzo Colitti
703187f765 Merge "Add a simple test for NetworkManagementService." into klp-dev 2013-08-27 04:08:54 +00:00
Sandeep Siddhartha
4e22b851be Merge "Touch up the Hotword API" into klp-dev 2013-08-27 02:24:25 +00:00
Sandeep Siddhartha
407d794a9d Touch up the Hotword API
- Few comments got missed from the last review

Change-Id: I933912c51794875be5d129351d4f06bc040537a6
2013-08-26 18:01:34 -07:00
Ying Wang
b240578f03 Fix docs build.
Change-Id: I7bfcfea052de6959230bb361400e760eab35b78c
2013-08-26 17:48:22 -07:00
Sandeep Siddhartha
b0a17400cb Merge "Add Service API to perform Hotword recognition" into klp-dev 2013-08-27 00:38:40 +00:00