3724 Commits

Author SHA1 Message Date
Chet Haase
b3975088b6 am 9023cf91: Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev
* commit '9023cf91018c75a179d04256fd4e306065528117':
  Set wallpaper bitmap reference to null before reloading
2012-10-25 12:23:20 -07:00
Chet Haase
9023cf9101 Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev 2012-10-25 12:19:34 -07:00
Chet Haase
589a6af173 Set wallpaper bitmap reference to null before reloading
Give the GC a chance to collect the current bitmap if it needs to,
as it allocates memory for the next one. This helps avoid OOM situations
that can sometimes occur in extreme circumstances (huge bitmaps)

Also set the default_wallpaper to the right default size.

Issue #7352961 Wallpaper edge is cut-off while scrolling through home page

Change-Id: If76b55061d04b29af7f66a6162e307b8b53bf4ae
2012-10-25 11:57:09 -07:00
Daniel Sandler
c3fc322286 Fix Google Now on lockscreen.
We can't make the navbar slippery anymore if lockscreen is
going to intercept all the touches. :)

Bug: 7413021
Change-Id: I1658262e43c37d0b1a554cda434ac43c0a0a86c0
2012-10-25 13:28:33 -04:00
Daniel Sandler
38c904a6bc Merge changes Ia0c2450f,I0fac062f into jb-mr1-dev
* changes:
  Be a little more lenient with panel-open gestures.
  Missing copyright headers.
2012-10-24 17:55:10 -07:00
Baligh Uddin
de18c8bf21 Import translations. DO NOT MERGE
Change-Id: I3717e675767f545d33b89efc85909a2d172808b8
Auto-generated-cl: translation import
2012-10-24 12:45:34 -07:00
Daniel Sandler
be2cf3206e Be a little more lenient with panel-open gestures.
The code would not consider any drag that did not complete
the "peek" distance (the distance the panel opens when you
press and hold on the status bar; on tablets this is
statusbarheight + closehandleheight, and on phones it's
headerheight + closehandleheight) as a candidate for a
fling, and set that drag's effective velocity to 0.

This CL just removes that check. Now a fling must meet the
minimum linear velocity and minimum Y distance thresholds
(100dp/sec and 20dp, respectively) to change the position of
the panel (closed->open or open->closed).

Bug: 7390976
Change-Id: Ia0c2450f9fdf3f27b890aab240a155dad1ab052f
2012-10-24 15:23:42 -04:00
Daniel Sandler
50a531337e Missing copyright headers.
Change-Id: I0fac062ffa52fc21f32d25d3f0a38e263e701c46
2012-10-24 15:02:27 -04:00
Hiroshi Lockheimer
c63aa96218 Merge "Fix NPE." into jb-mr1-dev 2012-10-23 16:26:25 -07:00
Daniel Sandler
1a3bdd5097 Fix NPE.
Bug: 7401286
Change-Id: I45334c4b2263bb611952b7dd949f5df98556377d
2012-10-23 19:21:20 -04:00
Michael Jurka
a665df573e Merge "Use lighter background for Recents" into jb-mr1-dev 2012-10-23 15:06:46 -07:00
Michael Jurka
9ed2bebe09 Use lighter background for Recents
Also, re-enable gradient on tablets
(gradient will be disabled in device-specific
overlays on devices that don't render it well)

Bug: 7381275
2012-10-23 15:02:57 -07:00
Baligh Uddin
8ed482224c Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-23 11:19:07 -07:00
Baligh Uddin
8cd4ef8f7b Import translations. DO NOT MERGE
Change-Id: I349b6bc4c17141a0ac74e50b573382a2cf694f7e
Auto-generated-cl: translation import
2012-10-23 10:34:11 -07:00
Daniel Sandler
365ece1dd0 Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev 2012-10-23 10:31:23 -07:00
Daniel Sandler
0058f4ed50 Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev 2012-10-23 08:34:57 -07:00
Daniel Sandler
ac47ff70c3 Reset ExpandHelper when the panel is collapsed.
Fixes a rather unpleasant bug in which the ExpandHelper
could get locked in "expanding" mode if the panel was closed
(for example, with the back button) while you were in the
middle of an expand gesture. In this situation ExpandHelper
would hungrily eat all future touch events destined for the
notification panel, making it impossible to click or even
clear any notifications.

Bug: 7330828
Change-Id: I9c493db5e8fd8ef1aca53f77820780d60fa4e5a7
2012-10-23 10:41:44 -04:00
John Spurlock
780a13b0f4 Merge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev 2012-10-23 04:10:29 -07:00
Daniel Sandler
bd9cafa433 Dreams/Sleep Mode is now Daydreams.
Bug: 7395321
Change-Id: I3173cd9205df94217911a2d432d1be1db9e3d539
2012-10-23 01:21:33 -04:00
Amith Yamasani
0b828ee0d5 Merge "Set the correct flags for brightness dialog to show on all users" into jb-mr1-dev 2012-10-22 16:25:22 -07:00
Michael Jurka
4ce82df5cc Merge "Solve issue where labels in Recents were blank" into jb-mr1-dev 2012-10-22 16:23:44 -07:00
Michael Jurka
fe09ad80bc Solve issue where labels in Recents were blank
Bug: 7352816

Change-Id: Ic0d7f35191ce973a71744aa6ea81351b7bdb8d50
2012-10-22 16:14:26 -07:00
Amith Yamasani
7ecdc7fd9b Set the correct flags for brightness dialog to show on all users
Earlier fix was writing to the wrong flags.

Bug: 7393822
Change-Id: Ifd51fb30de00be6de381980a05f2769c4283b515
2012-10-22 16:09:58 -07:00
Baligh Uddin
5be59670c2 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-22 15:28:42 -07:00
John Spurlock
1bbd49d72e Fix nav bar glitch when quickly turning screen off then on.
Keyguard now disables all navbar buttons when turning screen off
instead of only recents.

Navbar is told about screen off/on and disables the layout transition
animation on screen off - if the user quickly turns the screen back
on they do not see the end of the fade out animation.

Bug:7377776
Change-Id: I96a050d58c6c9ce8537f50408655006fadbfcd4f
2012-10-22 17:10:25 -04:00
Svetoslav Ganov
d07f8d0b37 Merge "Re-fixing content descritpion on quick settings toggle. Bug: 7362316" into jb-mr1-dev 2012-10-22 13:45:13 -07:00
Daniel Sandler
a4be1b2bcd Merge "Fix empty notification panel." into jb-mr1-dev 2012-10-22 12:14:13 -07:00
Daniel Sandler
564c03dac5 Merge "Really hide the settings button on tablets." into jb-mr1-dev 2012-10-22 12:12:48 -07:00
Baligh Uddin
23a78f3105 Import translations. DO NOT MERGE
Change-Id: Iecf97b4e7ed628d9617fae86007efa7236c3fe15
Auto-generated-cl: translation import
2012-10-22 12:00:30 -07:00
Daniel Sandler
50bc4f5a7c Fix empty notification panel.
If the panel closed before the flip animation completed, you
would have had a bad time.

Bug: 7391510
Change-Id: I45c29de45b718bc63e7be1a5544c1f73ac6f46e0
2012-10-22 14:47:55 -04:00
Daniel Sandler
7382a025a7 Really hide the settings button on tablets.
Bug: 7382185
Change-Id: Id452e2499ba2089b8cfb0071b6aedf6d1d917b35
2012-10-22 14:37:20 -04:00
Michael Jurka
2a430cccc2 Add NPE check to fix crash in Recents
Bug: 7383315
2012-10-22 10:56:18 -07:00
Daniel Sandler
cc0106cd99 Merge "Properly show emoji in the notification ticker." into jb-mr1-dev 2012-10-22 08:17:59 -07:00
Daniel Sandler
3c84c9bc7a Merge "Show brightness dialog for all users." into jb-mr1-dev 2012-10-22 08:16:14 -07:00
Daniel Sandler
2dd0c3a576 Merge "New lockscreen: allow search gesture from nav bar." into jb-mr1-dev 2012-10-22 07:59:18 -07:00
Kenny Root
9bef3294d3 Merge changes Ie3c8ca8d,Ia175b36d into jb-mr1-dev
* changes:
  Try to free cache before giving up on install
  Robustly add symlink and add for non-primary users
2012-10-19 16:37:55 -07:00
Casey Burkhardt
4be114b6d4 Re-fixing content descritpion on quick settings toggle.
Bug: 7362316

Change-Id: I6d4afbcbfbe3e38a6bdd080bc60409854de08251
2012-10-19 16:29:28 -07:00
Daniel Sandler
d5483c3157 New lockscreen: allow search gesture from nav bar.
Show a lights-out pip if home is invisible but search is
still OK.

Change-Id: Ifc69c12296cc8e8cf7c89dd06173d7abf499a878
2012-10-19 16:48:12 -04:00
Adam Cohen
6dad395ca8 Merge "Fix transition into Recents with live wallpaper" into jb-mr1-dev 2012-10-19 13:17:54 -07:00
John Spurlock
8c82025650 Merge "Frameworks base: Promote dream setting defaults to config." into jb-mr1-dev 2012-10-19 11:00:00 -07:00
Daniel Sandler
b9d36649ca Properly show emoji in the notification ticker.
Add an emoji test to StatusBarTest (working around some
difficulties in actually putting high-Unicode chars in the
layout xml).

Bug: 7378383
Change-Id: Ifce9844b26f67d2799521623e5161aa4dad69ed1
2012-10-19 13:38:11 -04:00
Michael Jurka
833808d0c6 Fix transition into Recents with live wallpaper
Fixes regression introduced by:
738cfc91053fc888397ec2d139e0798f8c95b3ca
(Fixing wallpaper flash when going in/out of Recents)
2012-10-19 19:12:29 +02:00
Michael Jurka
e9687ba8bd Merge "Fixing wallpaper flash when going in/out of Recents" into jb-mr1-dev 2012-10-19 09:06:49 -07:00
John Spurlock
ed108f3d12 Frameworks base: Promote dream setting defaults to config.
So that:
 - the values can be shared (to fix assoc bug)
 - the values can be customized in product overlays

Bug:7373284
Change-Id: I37f037082523a3d975f6014f36afa28c60117372
2012-10-19 11:32:03 -04:00
Michael Jurka
738cfc9105 Fixing wallpaper flash when going in/out of Recents
Bug: 7372516
Bug: 7216872

Change-Id: I2a2308a85caf9f2ad2d382c709e5f8867bd060be
2012-10-19 16:58:50 +02:00
Michael Jurka
80343f646f Fix recents animations for secondary users
Bug: 7361640

Change-Id: Ibd177bf01758fb8706b82dcf3bf234e052c38aa3
2012-10-19 16:50:29 +02:00
Kenny Root
cea3743499 Try to free cache before giving up on install
Try to get installd to free up cache before giving up when there is too
little space free.

Bug: 7232123
Change-Id: Ie3c8ca8dfc190abbb9a29a7baee31f32e9de7d69
2012-10-18 17:21:59 -07:00
Jeff Sharkey
8d9a1f66d9 More migration to Global settings.
Bug: 7375796
Change-Id: I3954ce141ad30073896090a28eee743ba15fd736
2012-10-18 15:38:14 -07:00
Chet Haase
58e60c239f Merge "Track size changes correctly for static wallpapers" into jb-mr1-dev 2012-10-18 12:57:23 -07:00
Jeff Hamilton
e09aed49e3 Merge "Changes to support updating location providers." into jb-mr1-dev 2012-10-18 12:45:02 -07:00