7191 Commits

Author SHA1 Message Date
Michael Jurka
cae6b43b03 Merge "Centering the crop by default in system wallpaper cropper" 2014-01-15 12:52:08 +00:00
Adrian Roos
d8ea484e2c Make brightness panel behave like volume panel.
Moves the brightness panel to the same spot as the volume panel. To avoid a conflict with the volume panel, brightness is dismissed when the volume keys are pressed.

Bug: 7217009
Bug: 7217154
Change-Id: Ib8331a1e390cbedca40fa237243ea2cfd088e521
2014-01-14 16:12:33 -08:00
John Spurlock
4a5eb8fe18 Merge "Add demo-mode command to hide notification icons." 2014-01-14 21:29:57 +00:00
John Spurlock
7f42fc5007 Add demo-mode command to hide notification icons.
Bug:11285517
Change-Id: I341feadbf164afd34fef192a541f14a2ff67e8e2
2014-01-14 16:20:39 -05:00
John Spurlock
fd0e6c0d6f Allow lights-out + bar icon dimming on low-end devices.
Maintain fallback to OPAQUE mode on low-end devices in place of the
translucent modes.

Bug: 12546110
Change-Id: Ia3582c305cb09aadd56c6aa58b039a174675c79a
2014-01-14 14:51:23 -05:00
Michael Jurka
2ab14daeba Centering the crop by default in system wallpaper cropper
Bug: 12034934

Change-Id: Ice1b1140bd6e351dd4e520f555f245d84a645aac
2014-01-14 15:11:37 +01:00
Michael Jurka
35f922d1d0 Update system wallpaper cropper with latest changes from Launcher3 cropper 2014-01-14 14:10:32 +01:00
John Spurlock
28f7dbec4f Merge "Remove only com.google reference from SystemUI." 2014-01-13 21:41:07 +00:00
Geoff Mendal
17fc100ea1 Merge "Import translations. DO NOT MERGE" 2014-01-13 20:37:13 +00:00
Geoff Mendal
d8f45184b5 Import translations. DO NOT MERGE
Change-Id: Ib8169e516ef1d0b7911adabbd945673b199eddd2
Auto-generated-cl: translation import
2014-01-13 11:59:12 -08:00
John Spurlock
01534780df Use accessors for @hidden fields.
Change-Id: I7d66070afb707262cc0dff93b9f9a1dbe77b0092
2014-01-13 12:03:49 -05:00
John Spurlock
dfc6319064 Remove only com.google reference from SystemUI.
Change-Id: Ie02bf3662307fa1ea3c68b908a7856fbf0482bb7
2014-01-13 11:27:25 -05:00
Adrian Roos
5b0acf0d7d Hide camera icon in navbar when disabled by DPM.
Hides the camera icon in the keyguard more reliably if the device policy disables it.

Bug: 11655611
Change-Id: Ic66f41b6703bf2028edc269cf10f9c167a22081d
2014-01-10 18:19:49 -08:00
Baligh Uddin
20d9741be2 Merge "Import translations. DO NOT MERGE" 2014-01-09 03:46:45 +00:00
Baligh Uddin
1adf652d45 Merge "Import translations. DO NOT MERGE" 2014-01-09 03:46:35 +00:00
John Spurlock
fd3c089b1a Merge "Battery meter: remove bolt color compromise & improve pct." 2014-01-08 20:50:34 +00:00
John Spurlock
4b786ff4b5 Battery meter: remove bolt color compromise & improve pct.
- Bolt remains opaque (white) below a threshold level, otherwise
   transparent.
 - Draw the entire shape using a path, removing the need for a
   software layer.
 - Use a similar approach to make the percentage text readable,
   but this still requires a software layer (since text is involved).

Bug: 12131168
Change-Id: Ifde5e99121155bf1be171f44b2c80c116b17c9e7
2014-01-08 15:04:50 -05:00
Mike Lockwood
c02c4a7c5b SettingsProvider: Allow disabling immersive mode confirmation for specific packages
Change-Id: I2fac06cbe3321d7384278d875c91128bcc15d629
2014-01-08 10:48:03 -08:00
Baligh Uddin
3104c96ee2 Import translations. DO NOT MERGE
Change-Id: I0b5c058dcbb0fd0d8b410cc475c0342ae5477457
Auto-generated-cl: translation import
2014-01-08 09:36:59 -08:00
Baligh Uddin
267bba6f64 Import translations. DO NOT MERGE
Change-Id: Ia1ebb3566930294e42b3310a5d8ffa845852fa77
Auto-generated-cl: translation import
2014-01-08 09:01:38 -08:00
Svetoslav
a7aa078fb2 Merge "PrintSpooler crash if printer is reported to have only one color mode." 2014-01-07 02:03:01 +00:00
Svetoslav
b0d97b87ba PrintSpooler crash if printer is reported to have only one color mode.
bug:11993304

Change-Id: I4932cf1b5b9b89f0cbf97011782ede037e7d814c
2014-01-06 18:00:54 -08:00
Baligh Uddin
c2ee7bb146 Merge "Import translations. DO NOT MERGE" 2014-01-06 21:45:23 +00:00
Baligh Uddin
d5b2a3aae8 Import translations. DO NOT MERGE
Change-Id: I88c828f80f2fc1ff71f868c0e6630d68ddac9ba4
Auto-generated-cl: translation import
2014-01-06 13:17:32 -08:00
John Spurlock
f121921d9a Merge "Add rotation-lock to Quick Settings on phones." 2014-01-06 19:21:58 +00:00
Baligh Uddin
23ab74de5e Import translations. DO NOT MERGE
Change-Id: Id551f263c58a8e036dd44b509242ed3b0ea38f3a
Auto-generated-cl: translation import
2014-01-02 08:21:41 -08:00
Baligh Uddin
a0b866d12d Merge "Import translations. DO NOT MERGE" 2013-12-26 20:58:36 +00:00
Baligh Uddin
bbd861c23a Import translations. DO NOT MERGE
Change-Id: I27cfb0c604a4ab3deef7c4a55701e74cb1905172
Auto-generated-cl: translation import
2013-12-26 11:15:59 -08:00
Baligh Uddin
799cff63c7 Merge "Import translations. DO NOT MERGE" 2013-12-26 19:09:24 +00:00
Baligh Uddin
869de0d1d0 Import translations. DO NOT MERGE
Change-Id: I90b992fe5850b901f15b4c9ae778a316d574edb2
Auto-generated-cl: translation import
2013-12-26 11:08:12 -08:00
Baligh Uddin
5afdc7d7c5 Import translations. DO NOT MERGE
Change-Id: I20a01148e49e1ca8c3be44150987c0846f9671ee
Auto-generated-cl: translation import
2013-12-26 09:55:09 -08:00
Svetoslav
2c1b177dcf Sometimes write may be called twice in a row for the same content.
In a rare case it is possible that on write of a print document
adapter is called twice for the same pages with nothing being
changed. This happens if while doing a write we get an update
request which correctly avoids calling layout on the adapter
but does call on write as we ignore that we are waining for the
requested pages to be written. Fun.

Change-Id: I33d7d26c7c4b083dc7b66bf762697b6dafd1ccc4
2013-12-20 17:10:49 -08:00
Michael Jurka
1971963fbe Merge "Change wallpaper sizing" 2013-12-20 20:01:00 +00:00
Michael Jurka
824a4b5ea4 Change wallpaper sizing
- ignore suggested dimensions
- when orientation changes, scale up wallpaper if
it doesn't fill the whole screen, or scale back to
original size if not necessary

Change-Id: I75b7519a105d4097bf7a35cd8af61fc40f45f8fb
2013-12-19 15:42:50 -08:00
John Spurlock
8ab172e8d9 Add rotation-lock to Quick Settings on phones.
Make the rotation-lock QS tile available for display on phones.

Devices < sw600dp are only allowed to lock rotation to their
natural orientation (i.e. portrait on most phones), so tweak
the QS tile label to make this clear.  e.g. "Locked to Portrait"
instead of "Rotation Locked" on portrait phones.

Simplify RotationLockController now that the sw600 check is no
longer hardcoded in RotationPolicy.

Remove redundant sw600dp check in SystemUI, everything driven
from the RotationPolicy helper, though SystemUI can still
choose not to display the tile at all with a resource config.

Clean up some of the docs in RotationPolicy to make clear the
subtle distinction between the two ways of locking rotation:
 - From Accessibility (locks to natural orientation on all devices)
 - From System UI (locks to natural < sw600dp, else current rotation)

Bug:11062710

Change-Id: I5caa4485c9501315da9fed964d6667d3012b43cb
2013-12-19 17:47:20 -05:00
Baligh Uddin
7fa0bde682 Merge "Import translations. DO NOT MERGE" 2013-12-17 17:23:42 +00:00
Baligh Uddin
dd05f47fbe Import translations. DO NOT MERGE
Change-Id: I592a031d629ff17b22100ca6a26c19b97c9cbb5e
Auto-generated-cl: translation import
2013-12-16 10:40:38 -08:00
Baligh Uddin
4cdfdc50b8 Import translations. DO NOT MERGE
Change-Id: I1dbccd0aee68a031d7259302a3bdf2526b066449
Auto-generated-cl: translation import
2013-12-16 10:08:38 -08:00
Kenny Root
6a0db59901 resolved conflicts for merge of e0b14ea7 to master
Change-Id: Ie018d3e2eba1eb2d655c153880e1951b68c2bd51
2013-12-13 15:59:51 -08:00
Kenny Root
62d509d24f am 37c69fdd: Merge "Use java.util.Objects instead on internal API"
* commit '37c69fdd826f3973966430adc1abfbefc19bc16e':
  Use java.util.Objects instead on internal API
2013-12-13 14:17:29 -08:00
Kenny Root
e6585b32ea Use java.util.Objects instead on internal API
Not needed since java.util.Objects implements all the needed
functionality.

Change-Id: Icd31d49a9801d1705427f028e9ac927d58e7d34c
2013-12-13 13:40:30 -08:00
Andres Morales
ec31555d88 Merge "Adding INfcUnlockSettings and NfcUnlock interface class." 2013-12-12 17:36:40 +00:00
Michael Jurka
48e8f01390 Merge "Fix wallpaper cropping bugs" 2013-12-10 22:06:32 +00:00
Baligh Uddin
38bae539f8 Remove deprecated locales
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
2013-12-09 22:41:12 +00:00
Andres Morales
38a7ed05f8 Adding INfcUnlockSettings and NfcUnlock interface class.
Change-Id: Ie55a5d4bb58c2944952fc84cce32d3573a3a1a22
2013-12-09 14:41:01 -08:00
The Android Open Source Project
ebcb32f58a Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEAD
Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
2013-12-05 13:10:46 -08:00
Geoff Mendal
47b73a05d4 Import translations. DO NOT MERGE
Change-Id: Ic23f9b9d0544004948470e20f919f4d564c88926
Auto-generated-cl: translation import
2013-12-04 12:09:45 -08:00
John Spurlock
b4de207bc3 Merge "Move moveable non-public framework resources up to SystemUI" 2013-12-03 22:19:06 +00:00
Michael Jurka
e39c9a953c Fix wallpaper cropping bugs
- take into account that image decoder might not
respect inSampleSize
- check rounded values so we don't have crop rects
that lie outside a bitmap's dimensions
- correctly set initial scale on bitmaps that are
larger than the screen size
- switch to using asynctask when setting wallpaper
dimensions
2013-12-02 15:05:44 -08:00
John Spurlock
74d2480845 Move moveable non-public framework resources up to SystemUI
Specifically, non-public resources only referenced by SystemUI
and nowhere else in frameworks or system apps (via @*android:)

Remove orphan resources found during the process.

Change-Id: I005514ff1ce52e1622849bc01cd825b09fa55842
2013-12-02 17:37:40 -05:00