Commit Graph

5049 Commits

Author SHA1 Message Date
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
Eric Fischer 1505f2a6a0 Import translations. DO NOT MERGE
Change-Id: If67d70210d679fb8a80811086b7263462d596f65
2012-03-09 10:44:55 -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
Eric Fischer 550bb79f80 Import translations. DO NOT MERGE
Change-Id: Ie18400f31d711fc0d0fa9b22ef5c8e9831238dd9
2012-03-07 11:15:08 -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 989dc51400 am bc239a15: Scale icons down for sw600dp-land mode.
* commit 'bc239a15464f543a41b960b946aa77258454efaf':
  Scale icons down for sw600dp-land mode.
2012-03-06 13:38:18 -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 d90674902e Merge "Always remove drag view immediately when cancelling drag. (Bug: 6119112)" 2012-03-06 10:49:12 -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
Michael Jurka 9949c8ba0e Remove unused resources 2012-03-05 14:24:24 -08:00
Eric Fischer f90a513712 Import translations. DO NOT MERGE
Change-Id: Iaaa795bbfe85368cf6ae08d49136d7087ad6d8b1
2012-03-05 12:23:53 -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
Eric Fischer 169c1f5fe2 Merge "Import translations. DO NOT MERGE" 2012-03-02 11:44:59 -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
Eric Fischer ee10efd08a Import translations. DO NOT MERGE
Change-Id: Ifd949fe3e7bf9569ce5f34ca111e5b34620bd137
2012-03-02 11:15:01 -08:00
Andrew Flynn 50bdd86957 am d5418217: am 9d852533: Merge "QSB should use horizontal divider in landscape mode" into ics-scoop
* commit 'd5418217662d715176fb75d0d71971039b06d24f':
  QSB should use horizontal divider in landscape mode
2012-03-01 17:41:29 -08:00
Andrew Flynn d541821766 am 9d852533: Merge "QSB should use horizontal divider in landscape mode" into ics-scoop
* commit '9d852533dedb556bd3072b4af5d4ccf6828de63b':
  QSB should use horizontal divider in landscape mode
2012-03-01 17:39:36 -08:00
Andrew Flynn 9d852533de Merge "QSB should use horizontal divider in landscape mode" into ics-scoop 2012-03-01 17:36:26 -08:00
Andrew Flynn eefe659777 am 1316494d: am 48c1f5c5: New icons for sw600dp all apps button
* commit '1316494d10df782bbdbd6584e2c88fd02770ef44':
  New icons for sw600dp all apps button
2012-03-01 17:17:59 -08:00
Andrew Flynn 1316494d10 am 48c1f5c5: New icons for sw600dp all apps button
* commit '48c1f5c56daf57d8a0960476187f2b4ee3088e78':
  New icons for sw600dp all apps button
2012-03-01 17:15:08 -08:00
Andrew Flynn 2321a8c980 QSB should use horizontal divider in landscape mode
Change-Id: Ida234b7c5daa60c7f13f661a3477e8a7278f68f7
2012-03-01 17:10:25 -08:00
Andrew Flynn 48c1f5c56d New icons for sw600dp all apps button
Change-Id: I1b9e236cbd7f492f3dc9ad5bc1b8147e8f831c4c
2012-03-01 16:55:11 -08:00
Andrew Flynn 99bf593820 am 9972b386: am 4359c9f2: Add default_workspace.xml for sw600dp/ and sw720dp/
* commit '9972b3868c75711713c26e48fbdaff26b97645fa':
  Add default_workspace.xml for sw600dp/ and sw720dp/
2012-03-01 16:47:01 -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 9972b3868c am 4359c9f2: Add default_workspace.xml for sw600dp/ and sw720dp/
* commit '4359c9f22537c0eec44b6ff1d488b79d11cdeeac':
  Add default_workspace.xml for sw600dp/ and sw720dp/
2012-03-01 13:43:34 -08:00
Andrew Flynn a3e22d6a36 am 0dca1ec4: New small/large screen division for Launcher.
* commit '0dca1ec41479a74f8da080224fa0c7eacab674d6':
  New small/large screen division for Launcher.
2012-03-01 10:19:02 -08:00
Andrew Flynn 4359c9f225 Add default_workspace.xml for sw600dp/ and sw720dp/
Change-Id: Ie91eab12546d136ff78689be3af4a351d67e457f
2012-03-01 08:42:30 -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 a7044d2eaf Merge "Fixing NPE when null intent passed to InstallShortcutReceiver. (Bug: 6089830)" 2012-02-29 13:48:21 -08:00
Eric Fischer 238967b57c Import translations. DO NOT MERGE
Change-Id: Ife3c85342f8b852c1e3c54e9e08d355b08b1f2d0
2012-02-29 11:22:33 -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 483e01b0ae Merge "Fixing drag and drop framerate regression in workspace" 2012-02-28 14:24:59 -08:00
Adam Cohen a595770463 Merge "When adding or moving a resizable widget, the widget may resize" 2012-02-28 14:24:24 -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
Eric Fischer fcb1341218 Import translations. DO NOT MERGE
Change-Id: I6c3bf77001cedd8352e23818c1c242b3f99687ab
2012-02-28 10:16:46 -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
Eric Fischer a95d329dea Import translations. DO NOT MERGE
Change-Id: I1044223a2ba289e5d7e900fce3bcd2df7c69e093
2012-02-27 12:24:21 -08:00
Eric Fischer 93f6a0c97f Merge "Mark string format tokens as placeholders." 2012-02-25 19:30:07 -08:00
Winson Chung 6fa610dae2 Fixing typo.
Change-Id: Ic797e7b91e77cc2afb5a4414a7636dfc61d1aab7
2012-02-24 15:53:44 -08:00