Commit Graph

1934 Commits

Author SHA1 Message Date
Winson Chung cf4b91fa3f Merge "Adding fling-to-delete." 2012-03-20 15:22:41 -07:00
Winson Chung 043f2af567 Adding fling-to-delete.
- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
2012-03-20 15:18:05 -07:00
Adam Cohen 47a876d443 Tweaking reordering algorithm -- added "pushing" notion
-> Fixed bug when no available space was found

Change-Id: I90898773d259aa84c89d645a1375f2013a520223
2012-03-19 16:36:44 -07:00
Adam Cohen 482ed823af Initial implementation of CellLayout auto-reordering
Change-Id: Id5b5080e846907a7d9cd6535f6e7285e83a0ff71
2012-03-15 13:48:12 -07:00
Winson Chung 0e5a56d62d Merge "Fixing some issues/regressions related to scaled icons." 2012-03-12 11:45:42 -07:00
Michael Jurka d9a57a9e4a Merge "Fix case where shortcut label wasn't updating" 2012-03-09 16:04:37 -08:00
Michael Jurka e384affda6 Fix case where shortcut label wasn't updating
When installing an updated version of an app,
update the title (we were previously only doing
the icon).

Bug: 6069921
2012-03-09 15:59:25 -08:00
Winson Chung eecf02da58 Fixing some issues/regressions related to scaled icons.
- Fixes issue with folder icons being clipped in landscape in sw720dp (Bug: 6118397)
- Fixes issue with divider being in wrong orientation in sw720dp
- Fixes issue with scaled icons not being drawn with filtering
- Fixes issue with side pages showing under the hotseat when in landscape in phone UI
- Animates the drag view on pick up and drop

Change-Id: Iad26427ec63fcbc9bdb3b29a4645689ba445d5c8
2012-03-08 13:37:46 -08:00
Winson Chung 401d3a57b9 Fixing issue where long pressing on an icon in a Folder without moving causes a click as the icon is still "pressed".
Change-Id: If6a3bcab79492efa8588c282e0d3e7a5b54dc785
2012-03-08 12:11:15 -08:00
Andrew Flynn 633f1aad55 am 989dc514: am bc239a15: Scale icons down for sw600dp-land mode.
* commit '989dc51400f4511e8411b0f1e6c525c024fbb949':
  Scale icons down for sw600dp-land mode.
2012-03-07 17:04:57 -08:00
Michael Jurka 9e371e95f1 Merge "Don't do equal comparison with trim memory level." 2012-03-07 11:32:29 -08:00
Dianne Hackborn 4f560cec93 Don't do equal comparison with trim memory level.
It is possible for the app to get different values, for example
if memory is already low then it will immediately go to one of
the low memory levels when the app goes in the background.

Change-Id: I6522cb0385748d926ea7868eacaf588790672f1b
2012-03-06 19:07:47 -08:00
Andrew Flynn bc239a1546 Scale icons down for sw600dp-land mode.
Cached icons are statically all the same size, so we need to do
it on the fly.

Change-Id: Iae294ff4668f987db8fe5127bae724bf08363542
2012-03-06 13:31:44 -08:00
Winson Chung 41bb19d277 Always remove drag view immediately when cancelling drag. (Bug: 6119112)
Change-Id: Ib0a829c5bee834700e29dba8538c83b773d017b2
2012-03-05 18:37:21 -08:00
Adam Cohen 89f38eaf84 Stripping out dead code for global drag and drop so that it doesn't have to be maintained
Change-Id: I133a0a73f761c52e533bd35d7aaef76726f73b97
2012-03-02 14:51:29 -08:00
Michael Jurka b7aa41dc38 Merge "Improve code to determine which pages are visible" 2012-03-02 14:06:14 -08:00
Michael Jurka 47f747418e Improve code to determine which pages are visible
Change-Id: I2c349d987ddb5f399283088c128e6d4d056da4da
2012-03-02 13:45:03 -08:00
Adam Cohen 7f1435c303 Merge "Fixing animation bug when moving an icon to an adjacent screen" 2012-03-02 11:16:16 -08:00
Andrew Flynn 826a661d5b resolved conflicts for merge of a3e22d6a to master
Change-Id: I8770574acf86e280a9d15d4309686111260e09d9
2012-03-01 16:26:50 -08:00
Andrew Flynn 0dca1ec414 New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
2012-02-29 17:30:37 -08:00
Adam Cohen 85b467bf3f Fixing animation bug when moving an icon to an adjacent screen
Change-Id: I42eed5240bb23689285da8afdd37a1228e4cc486
2012-02-29 15:38:46 -08:00
Adam Cohen ca83eeb091 Fix bug where widget min spans weren't being loaded on workspace bind
Change-Id: I984c3e226ae1c602a6b1dd366241e7f2d093f2a4
2012-02-29 15:18:40 -08:00
Michael Jurka b8fffe7639 Merge "Fix wallpaper offsets for live wallpapers on tablet" 2012-02-29 14:34:33 -08:00
Michael Jurka 9551537718 Fix wallpaper offsets for live wallpapers on tablet
we were giving values that weren't an even fraction
(ie n/4 where n = the screen # we're on) and
therefore live wallpapers couldn't tell when we
were fully settled on one of the workspace screens

Bug# 6029132
2012-02-29 14:19:33 -08:00
Winson Chung 71d764f7ed Merge "Fixing flashing icon on delete, and offset of delete animation." 2012-02-29 13:48:24 -08:00
Winson Chung c3a747ac24 Fixing NPE when null intent passed to InstallShortcutReceiver. (Bug: 6089830)
Change-Id: Ideeb26abd29039f9b8d2dde0a752986249148a8c
2012-02-29 10:56:54 -08:00
Winson Chung 61967cb17f Fixing flashing icon on delete, and offset of delete animation.
Change-Id: I993f2d8e54cc7052e16f318a09ada80e9b766147
2012-02-29 10:25:41 -08:00
Adam Cohen f0777b9d7a Fixing drag and drop framerate regression in workspace
-> Animating the alpha on workspace during drop was slowing things down.
   Instead we modify the alpha on the individual CellLayoutChildren objects
   which have hardware layers, so modulating their alpha is cheap.

Change-Id: Id31e47cd05d593d2fef0ab28e15a9d4e11ed1aa1
2012-02-28 14:23:50 -08:00
Adam Cohen d41fbf5680 When adding or moving a resizable widget, the widget may resize
-> If a widget is resizable, and there is not enough room to add it
   in its current (or default) size, but can be scaled down to fit
   a certain area, it will be resized to fit the available space
-> The resizing is animated using a crossfade and scale between
   the original dragView and the widget rendered in the final size

Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
2012-02-27 17:30:32 -08:00
Winson Chung aeae56bf12 Prevent build break.
Change-Id: Id4413263c3b2c0b470b78dc4936714353cd849dd
2012-02-24 15:47:37 -08:00
Michael Jurka 5f1c44ab0d Merge "Delaying building of hardware layers when Launcher is resumed" 2012-02-24 15:39:52 -08:00
Michael Jurka 6ee21d28fa Delaying building of hardware layers when Launcher is resumed 2012-02-24 13:39:21 -08:00
Winson Chung 325f7fef37 Merge "Fixing issue where icons can't be clicked during launcher transition." 2012-02-24 13:09:05 -08:00
Winson Chung 9b0b2fefb2 Fixing issue where icons can't be clicked during launcher transition.
- Also tweaking the workspace fade in/out interpolators

Change-Id: I65d1aefbead13f662c84a2f1178c73615153fd5a
2012-02-24 13:04:26 -08:00
Michael Jurka 6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Andrew Flynn 7747119b40 am 91685094: am 79b79dd5: Remove unused sw600dp/ strings.
* commit '9168509491a5d052f28af71b99f6980ef859ca4d':
  Remove unused sw600dp/ strings.
2012-02-24 11:13:37 -08:00
Andrew Flynn 79b79dd579 Remove unused sw600dp/ strings.
Change-Id: I92f823d475c9a8425f3930e016b72f1df2132836
2012-02-24 09:37:17 -08:00
Winson Chung bd7f37acba Fixing issue where dragview was jagged when scaled.
Change-Id: Ibc4b6e023428f39464f015726a22c2ec5130e63b
2012-02-23 17:55:08 -08:00
Winson Chung 81a05a1366 Merge "Tweaking pickup animation, vibration and removing glow from drag view." 2012-02-23 16:47:06 -08:00
Michael Jurka b89ba237b9 Merge "Cancel scroll indicator fade during allapps/workspace transition" 2012-02-23 16:39:12 -08:00
Winson Chung 61b0c69d3f Tweaking pickup animation, vibration and removing glow from drag view.
Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
2012-02-23 16:33:08 -08:00
Michael Jurka a8352d22af Cancel scroll indicator fade during allapps/workspace transition
Change-Id: I8661c17adbf0a129730b44641930fb68ba9afed6
2012-02-23 16:28:37 -08:00
Winson Chung 88f334571f Lowering long press time for workspace items.
Change-Id: I6a3b0e13681f07d0e50bf2dcec777037c4ef51a5
2012-02-23 15:23:56 -08:00
Winson Chung 72d598400d Animating the widget previews on drag from AppsCustomize.
Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
2012-02-23 12:21:12 -08:00
Winson Chung 867ca62c0e Fading out workspace when dragging to higlight dragged object.
Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
2012-02-23 10:32:03 -08:00
Adam Cohen 7a326648c5 Fixing issue where widget preloading not being cleaned up on failed drop
-> issue 6046370

Change-Id: Iee33fc22ae0bfe012fe33efd5b358a2199fdf424
2012-02-22 12:03:22 -08:00
Winson Chung 46569ae107 Merge "Allow touches to fall through AllApps nearing end of transition (Bug: 5991846, 6016062, 5991846)" 2012-02-17 15:10:12 -08:00
Winson Chung 7044272f18 Allow touches to fall through AllApps nearing end of transition (Bug: 5991846, 6016062, 5991846)
- Also updating mTransitionProgress so control when drops succeed

Change-Id: I2f672c64f0a87249dcf7d254f963b8b2710c849f
2012-02-17 11:14:29 -08:00
Winson Chung 46353de2ab Updating shared preferences on background thread to prevent StrictMode violations when dismissing clings (Bug 5972880)
Change-Id: I56703e0237d54029fafbb04730ab126637762f13
2012-02-16 14:05:54 -08:00
Justin Ho bbbb2b94b5 am cfa1a75b: Merge "Part of fixing issue #6006757: Keyboard dismissal lags" into ics-mr1
* commit 'cfa1a75bd4edb3e3a9d93c8b02ab6a1ecb74e79b':
  Part of fixing issue #6006757: Keyboard dismissal lags
2012-02-16 09:25:05 -08:00