Commit Graph

469 Commits

Author SHA1 Message Date
Michael Jurka 2a4b1a809c Make All Apps<-->Workspace transition smoother
- grouping workspace/all apps anims into one
animator set, prevents blip when one of them ends
early and its end anim handler does lots of work
mid-animation
- updating pivots for all apps zoom if layout
changes
- avoid running unnecessary animations on
workspace pages
- prevent unnecessary reloading of pages in
All Apps

Change-Id: I53a75f7c4c7d254057e2f8f4fd17711e8862256d
2011-12-12 15:30:58 -08:00
Adam Cohen 90f53da680 am b4848296: am c00f0b99: No longer using fastInvalidate() pattern for half of AllApps transition
* commit 'b4848296880a351b40b1f01a0bb675e7e9c6ee52':
  No longer using fastInvalidate() pattern for half of AllApps transition
2011-12-06 23:11:55 -08:00
Adam Cohen c00f0b9967 No longer using fastInvalidate() pattern for half of AllApps transition
Turns out this was likely causing the hardware layer to be redrawn and hence
an anti-optimization

Change-Id: Ib98beebec6efed339eb9f918c24579af529e028e
2011-12-06 19:54:37 -08:00
Adam Cohen 23a4d305ab Adding system property to force enable launcher rotation
Change-Id: If855a84a37716b86a84bf571c15c5ee715ff1845
2011-12-01 17:26:44 -08:00
Michael Jurka 05bf644e37 Fix memory leak in Launcher
Leak happened when a stack view was on the
workspace and then workspace forced a rebind of
its items (for example, when an app was installed)

Bug # 5629171
2011-11-30 20:30:17 -08:00
Michael Jurka 92f3d46cf3 Clean up unused code and import declarations
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Winson Chung 97d6f9a705 Merge "Fixing an issue where qsb press states could be out of sync. (Bug 5627327)" into ics-mr1 2011-11-23 15:38:34 -08:00
Adam Cohen ea49c1c861 Merge "Prevent the creation of Shorcuts with null intents (issue 5629292)" into ics-mr1 2011-11-23 14:37:59 -08:00
Michael Jurka e326f186af Unload widget previews when launcher is not visible
Can save ~1-2MB of RAM

Bug #5104303

Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
2011-11-22 17:00:06 -08:00
Adam Cohen d919882006 Prevent the creation of Shorcuts with null intents (issue 5629292)
Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
2011-11-22 16:51:26 -08:00
Winson Chung bb185bdd57 Fixing an issue where qsb press states could be out of sync. (Bug 5627327)
- Adding haptic feedback to qsb button clicks (Bug 5652304)

Change-Id: I93d7c7a737f167d7ddf2b426d87e3a062feccac3
2011-11-21 12:35:41 -08:00
Winson Chung d016015c23 Enabling clings for tablets (Bug 5506377)
Change-Id: Id0cdc7e2a101788f790340cd5acf6abb33419de6
2011-11-18 11:43:44 -08:00
Michael Jurka b737ee6ab2 speeding up transition from other apps -> Launcher 2011-11-15 16:36:30 -08:00
Michael Jurka 1899a36ab3 Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)
Change-Id: I2a2218975141d7659184de83e505c7ab6e613232
2011-11-13 17:08:23 -08:00
Adam Cohen ebea84d1c9 Unifying overscroll btw phone and tablet
-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka 81efbad05e Reduce unnecessary layout passes
- Also delete unused code
2011-11-10 11:22:48 -08:00
Adam Cohen 0cf2a7c3ee Using public API for widget padding
Change-Id: I37c90ddf6309cdf29daacdf2c7663eb41d13338b
2011-11-08 15:07:01 -08:00
Michael Jurka b3e22d99c1 Potential fix for launcher lockup (5369863)
- also, removing unused parameters and doing some function renames
2011-10-31 16:33:43 -07:00
Michael Jurka 4da7a3e556 Fix NPE
Bug # 5340102

Change-Id: Ibcdb549f4987f67c797c0618c8f54d3b1054261f
2011-10-28 15:28:50 -07:00
Adam Cohen 15d1836b2b am 44fbf9de: Merge "Fixing stutter in AllApps transition" into ics-mr0
* commit '44fbf9de0e4694d785383b6c276cc24f86923118':
  Fixing stutter in AllApps transition
2011-10-18 12:51:56 -07:00
Adam Cohen b64d36e6f8 Fixing stutter in AllApps transition
-> Tightened up the interpolator and decreased the duration of the
   AllApps-in animation. This removes many excess frames at the end
   of the transition, and frees up perf for swiping AllApps:
   (issue 5359751)
-> Changed when AllApps state gets reset -- now only after
   leaving home, and then pressing home, or when the screen
   turns off.

Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545
2011-10-17 21:53:41 -07:00
Winson Chung eb95dde9d6 am ea45c2cb: Merge "Fix NPE" into ics-mr0
* commit 'ea45c2cb53b4d745f43850dcc4e794748425c5df':
  Fix NPE
2011-10-17 07:07:00 -07:00
Mathew Inwood 07b3b2f11f Merge "Add source bounds of QSB bar to global search intents." 2011-10-17 03:09:45 -07:00
Winson Chung ea45c2cb53 Merge "Fix NPE" into ics-mr0 2011-10-14 14:10:41 -07:00
Michael Jurka 9d906c7742 Fix NPE
Bug # 5455516

Change-Id: I61617d47d1275cfb983adb07e77b8293eb26a763
2011-10-14 06:27:52 -07:00
Mathew Inwood cf7f63bb4d Add source bounds of QSB bar to global search intents.
Bug: 5235747

Change-Id: I4baae02923da89826559bd133024453cd4cec661
2011-10-14 14:14:32 +01:00
Michael Jurka 2dcda1f72c am 5130e401: Move haptic feedback on All Apps button to touch down
* commit '5130e401a005fcf6afba6e8e72a628fc45f9a287':
  Move haptic feedback on All Apps button to touch down
2011-10-13 12:43:13 -07:00
Michael Jurka 5130e401a0 Move haptic feedback on All Apps button to touch down
Bug #5453040

- Also fixing one case where db cursor wasn't closed
Bug #5453040

Change-Id: Id5e8f3c30690160900a6be2cd60c1062ff48ee54
2011-10-13 05:05:37 -07:00
Mathew Inwood 8193f690c2 Don't ignore fast keystrokes when launching search.
When typing fast on an external keyboard, the sequence goes thus:
1. keypress received, global search intent launched with the key included
   as the initial query
2. activity is paused
3. another keypress received, another global search intent in launched
   with this new key
4. Search activity appears, new keystrokes then end up here

Clearing the typed text immediately results in the first keystroke(s)
being ignored. Do that in onResume() instead so we don't lose them.

Bug: 5276707
Change-Id: I047293f62714ab1438894be7cf84ed127156b2ea
2011-10-13 10:16:01 +01:00
Michael Jurka 24a667c556 Merge "Add haptic feedback when All Apps button is pressed" into ics-mr0 2011-10-11 16:08:35 -07:00
Michael Jurka 2a55232840 Add haptic feedback when All Apps button is pressed
Bug 5432097

Change-Id: I600054705b7c48a69ee17bb4058c91ea8cf7260d
2011-10-11 15:45:17 -07:00
Michael Jurka c1f5d26675 Fix stutter when swiping workspace first time
Bug # 5366313

Change-Id: If4212d0cd626d0829e3e4487da52f455b0b89983
2011-10-11 11:11:36 -07:00
Adam Cohen 16d7ffc5d5 Adding some dump() logging regarding deleted widgets
Change-Id: Ia11cc27267d06d57e0e16bfabe3b5076481058e5
2011-10-05 17:51:48 -07:00
Winson Chung c51db6accf Fixing some search box issues.
- Voice search still clickable and causes crash (Bug: 5371480)
- Empty search box when QSB is disabled (Bug: 5358074)

Change-Id: I97cef678b012c8294fca9149e22458abed31075d
2011-10-05 14:30:32 -07:00
Winson Chung a182096cb2 Fixing crash when you are dragging an app and the packages change under you. (Bug: 5280181)
- Removing unused dimension for app icon content size

Change-Id: If3910010577e902937d284296479f9a699516de3
2011-10-04 11:29:11 -07:00
Adam Cohen 82ebbd2a2f Removing auto-padding of widgets, as it is now done at framework level
Change-Id: Ia3bc171e297e07eba00c447a794a28f8201dac44
2011-09-30 15:06:26 -07:00
Adam Cohen ac56cff186 Adding keyboard support to folders and fixing renaming rough edges
Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
2011-09-29 11:53:57 -07:00
Michael Jurka b964f9c5c2 remove references to google apps
Change-Id: Id373dc701afdd476e125936711bbb040e1451f9e
2011-09-28 15:52:34 -07:00
Adam Cohen dc16b6077e Enable auto-rotation in phone UIs in eng builds (for testing)
Change-Id: I4749a861b860dede699593b8d06a17405345b8e4
2011-09-26 15:12:33 -07:00
Winson Chung 1f74ff7eba Should be updating voice icon as well on search packages changed. (Bug: 5352338)
Change-Id: I5a30e56b871556027d50e442e3f385b1a29a2850
2011-09-21 19:24:26 -07:00
Winson Chung 7a74ac9cd6 Tweaking clings in response to usability testing. (5057945, 5056643)
- Updating assets
- Removing folder cling text
- Fading in folder cling after folder animation
- Highlighting different icon in allapps cling

Change-Id: I6e4fadf10b81a91296304f008644ee1d154ec5f8
2011-09-20 17:51:10 -07:00
Winson Chung 9d9d74f2b0 Launcher tweaks.
- Updating search bar bg
- Removing clings from the layout if they are already dismissed
- Tweaking cling description paddings for languages that are more verbase
- Tweaking wallpaper picker gallery spacing

Change-Id: I801cdf4b1d0cc49a53113318d7b9075f6fa218bd
2011-09-19 16:06:37 -07:00
Adam Cohen ff648b5512 Issue 5218087, HONEYCOMB_MR2 -> ICE_CREAM_SANDWICH for widget padding
-> Also moved a couple dimens to be consistent

Change-Id: I897e1fc0706b8dcc6f6c1efe719c97b6a3932407
2011-09-19 11:59:13 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Adam Cohen 31e8624c45 Merge "Fixing widget minResizeWidth/Height interpretation (Issue 5327589)" into ics-factoryrom 2011-09-18 16:01:29 -07:00
Winson Chung 9627936d4f Merge "Updating the qsb. (5051804)" into ics-factoryrom 2011-09-18 12:20:45 -07:00
Adam Cohen cbf47e38e2 Fixing widget minResizeWidth/Height interpretation (Issue 5327589)
Change-Id: I16bf9bb20baad4fa1e0676d98bb93de758af0ebc
2011-09-16 17:40:50 -07:00
Winson Chung c7aef8ca75 Updating the qsb. (5051804)
Change-Id: I7f5745e64b96951d4ec8d5714389df7ebff30c81
2011-09-16 14:29:35 -07:00
Adam Cohen 446e940fc8 Locking orientation on phones (issue 4967793)
Change-Id: I6b5fe63547f43c408feea75f35dc0a08d06c258c
2011-09-15 20:08:40 -07:00
Adam Cohen cff6af81d7 Tuning AllApps <--> Workspace transitions
-> Removed extraneous service transactions during scrolling

Change-Id: I60a201e7a94608d6fbafd2350f39a466d7a4c003
2011-09-14 14:04:49 -07:00