Commit Graph

16456 Commits

Author SHA1 Message Date
Winson Chung 4f916f4b35 Adding extra logging to try and catch cases where Market button does not work.
Change-Id: I09fde1daf3afc1921ad1cc48358ee6c55df4ab7a
2012-03-27 16:22:57 -07:00
Winson Chung 4884647ab2 Fixing issue where scrolling indicator was showing on the tablet. (Bug 6164741)
Change-Id: Ie62deaa74920496f0152c596e87cc6e9809de47a
2012-03-27 15:38:37 -07:00
Adam Cohen 7fbec10b36 Fixing EmptyStackException (issue 6117943)
Change-Id: If5816c654dc1e4d5de1e72804e4cf1e845336a96
2012-03-27 12:42:19 -07:00
Adam Cohen 19f3792523 Implementing spring-back version of reordering
-> If you hover above occupied cells, we try to find a new location
   for the items. The items only remain in the temporary position
   while the drag ivew is over their original position after which
   they animate back.
-> Items in the temporary positions animate in such a way so indicate
   that they are in a temporary state, and in such a way so as to hint
   at where they will return to.

Change-Id: I7537c65228c505afbd2f1c22938cfd9d7719839a
2012-03-26 18:40:56 -07:00
Michael Jurka 031d3d8838 Merge "Fixing potential crash when trying to create 0x0 bitmaps" 2012-03-26 10:59:13 -07:00
Michael Jurka c7e52f55d6 Fixing potential crash when trying to create 0x0 bitmaps
Bug: 5926437
Change-Id: Id1284584104b1c4933525ea5e8744338718e4986
2012-03-26 10:58:16 -07:00
Winson Chung 93eef082ec Making the text reflect the container when you are unable to drop onto a space.
Change-Id: Ib3734b7f7767bdf0fb4c95dcc1298da02c04e9cd
2012-03-26 10:55:49 -07:00
Winson Chung 568c659352 Merge "Fixing potential issue where loader was still running after the fragment was detached. (Bug 5682275)" 2012-03-26 10:53:01 -07:00
Winson Chung 97ea93e521 Fixing potential issue where loader was still running after the fragment was detached. (Bug 5682275)
Change-Id: I79fd21e2ad269eb09fa974264f9f319f654cad19
2012-03-23 16:37:14 -07:00
Winson Chung 7bdeb601f9 Merge "Adding animation post-installing a shortcut." 2012-03-23 14:54:09 -07:00
Winson Chung f0c6ae0e35 Adding animation post-installing a shortcut.
Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
2012-03-23 11:17:25 -07:00
Winson Chung 41f56a1bcc Merge "Allow fling gesture while dragging from AllApps to dismiss drag." 2012-03-23 10:40:30 -07:00
Michael Jurka 72db6d7969 Cancelling scroll indicator animation during All Apps transition
Was causing slowdown in the All Apps transition

Change-Id: I0f5934c0732e04519b426f008c8154b8a66517e9
2012-03-23 08:06:02 -07:00
Michael Jurka 9ed7dab49c Merge "Minor code cleanup" 2012-03-23 03:09:38 -07:00
Adam Cohen 6b8a02d63a Fixing animation bug for reordering
Change-Id: Ibb8f53a9beb2ddcacab93507fe7469639e0e0587
2012-03-22 15:15:38 -07:00
Adam Cohen 8baab35b00 Code cleanup + a bit of documentation for reordering
-> in preparation for more substantial changes

Change-Id: I68657af1efc17be66ab973e0815991d3f1697a1f
2012-03-22 13:29:51 -07:00
Winson Chung a48487a814 Allow fling gesture while dragging from AllApps to dismiss drag.
Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
2012-03-22 13:00:16 -07:00
Michael Jurka 6c8a579082 Minor code cleanup
Change-Id: I92c0f9c9c96bace85a96a781bb4fdf2604c6f75b
2012-03-22 05:24:37 -07:00
Michael Jurka 6f8cb5201d Merge "Fix more cases where blips show up in All Apps" 2012-03-21 14:25:11 -07:00
Michael Jurka 08c93d7eca Merge "Eliminate custom alpha handling in CellLayout" 2012-03-21 05:14:55 -07:00
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
Michael Jurka a52570f8f9 Eliminate custom alpha handling in CellLayout
Also rename CellLayoutChildren to ShortcutsAndWidgetsView

Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
2012-03-20 11:13:05 -07:00
Michael Jurka 39e5d176e6 Fix more cases where blips show up in All Apps
- defer any updates to the widget previews if we're
mid-transition
- call System.gc() before a transition to avoid gc
mid-transition

Change-Id: If8b4699b142af20b2f14e9a8653f893139adf90e
2012-03-20 01:40:41 -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