Commit Graph

1469 Commits

Author SHA1 Message Date
Daniel Sandler 1f3264bf9f am 81a92481: Fix drawing glitches in 2DAA. 2010-06-04 07:38:30 -07:00
Daniel Sandler 81a9248156 Fix drawing glitches in 2DAA.
Bug: 2739938
Change-Id: Ifeacc3ea7995b3fa90165943bc45d701a6234098
2010-06-03 21:31:02 -07:00
Daniel Sandler 9d2b252cb7 am 6662645a: Merge "Make 2D All Apps work better in landscape and on hdpi." into froyo 2010-06-03 14:17:47 -07:00
Daniel Sandler 6662645a67 Merge "Make 2D All Apps work better in landscape and on hdpi." into froyo 2010-06-03 14:12:11 -07:00
Daniel Sandler 86b40541a8 Make 2D All Apps work better in landscape and on hdpi.
* Correct the density (or, rather, remove the density) of
  the icons in the cache to ensure they're drawn px-for-px.

* Create a new landscape layout for 2DAA that aligns things
  properly (viz: Home icon at right, padding tuned, 6
  columns).

* Performance improvement: Make the app grid, icons, and
  home icon all opaque (by setting a black background) and
  move the home icon so it doesn't overlap the grid.

Change-Id: I961323e9e39cb122cdc694853706e7fcdd10142f
2010-06-03 10:35:44 -07:00
Daniel Sandler 718a0a382c am 596c0e6d: Don\'t perform collision checks for items in folders. 2010-06-02 22:41:39 -07:00
Daniel Sandler 596c0e6dbb Don't perform collision checks for items in folders.
Bug: 2735146
Change-Id: Ie4d03b09cc75bfc176ec91be6f6f4369af5cc2a3
2010-06-02 13:34:01 -07:00
Jason Sams 98994c4a83 Remove RS_Kind info from element setup
Change-Id: Ia851229b6e107d4c19bd20c6acfef4f8fae280d1
2010-06-01 15:54:10 -07:00
Daniel Sandler 8cc4732448 am 8802e960: Defend against overlapping items in the workspace. 2010-05-27 09:20:47 -07:00
Daniel Sandler 8802e96049 Defend against overlapping items in the workspace.
Should the Launcher's database become corrupted by
mysterious forces (e.g.: third-party launchers; botched
upgrades; smoke monsters) in such a way as to cause two
items to share the same cell, we now ignore loading the
latter.

Prevents a runtime crash (http://b/2655516).

Bug: 2655516
Change-Id: Ia514746f04f0e51b2cd07e9290589a6eab75bdd2
2010-05-26 16:50:49 -04:00
Daniel Sandler 8f0844ee78 am 3e297b57: Merge "Mask bitmap creation errors while dragging shortcuts." into froyo 2010-05-25 12:17:28 -07:00
Daniel Sandler d822fbec46 am cdc49731: Merge "Ignore requests to add items to non-existant screens." into froyo 2010-05-25 12:16:01 -07:00
Daniel Sandler 3e297b57a0 Merge "Mask bitmap creation errors while dragging shortcuts." into froyo 2010-05-25 12:10:24 -07:00
Daniel Sandler cdc4973136 Merge "Ignore requests to add items to non-existant screens." into froyo 2010-05-25 12:09:36 -07:00
Daniel Sandler 3f8175a86e Mask bitmap creation errors while dragging shortcuts.
If we're unable to create a bitmap for the drag, e.g. due to
memory pressure, give up.

Bug: 2650809
Change-Id: I5d7360dbb1bd736a629451467e93cccdfc255b67
2010-05-25 11:49:48 -04:00
Daniel Sandler 291ad12232 Ignore requests to add items to non-existant screens.
Should avoid crashes when using Launcher2 alongside
third-party launchers that add additional workspaces.

Bug: 2709532
Change-Id: I7775b43e582346ba686524e357a2b262e9fc4dcd
2010-05-25 10:35:44 -04:00
Daniel Sandler ab285f8574 am 2e2656cc: Merge "Disable hotseat buttons if AllApps is visible." into froyo 2010-05-24 11:36:51 -07:00
Daniel Sandler 2e2656ccaa Merge "Disable hotseat buttons if AllApps is visible." into froyo 2010-05-24 11:31:34 -07:00
Daniel Sandler 3e9454a9ac Disable hotseat buttons if AllApps is visible.
Bug: 2707845
Change-Id: Ic4039f9737b3218a45bb3e8456c47927edd3fe3d
2010-05-24 11:22:41 -04:00
Jason Sams 13a75d5f1e Update names and move clear to script.
Change-Id: I17af3cd027248f52ce6516f81968c6b3d976a09d
2010-05-19 18:58:48 -07:00
Joe Onorato 53a34ea27c am f3d5ea92: Have LauncherModel poke the gc after it\'s done, to give the renderscript objects a chance to get deleted, since they aren\'t in the java heap. 2010-05-18 18:53:23 -07:00
Joe Onorato f3d5ea926d Have LauncherModel poke the gc after it's done, to give the
renderscript objects a chance to get deleted, since they aren't
in the java heap.

Bug 2685490

Change-Id: Ifff97b64585ac0f6faed0feb6362f6137682e32d
2010-05-18 18:44:36 -07:00
Jason Sams 29ebdeaa1f Merge "Fix regression in master. The attempt to remove the last frame hack in all apps caused home to sometimes render black upon returning from an application." 2010-05-18 17:07:49 -07:00
Jason Sams 5c1417acfc Fix regression in master. The attempt to remove the last frame hack in
all apps caused home to sometimes render black upon returning from an application.

Change-Id: I4444d7a6e62548f5a996c12b7e11aa46876d44e4
2010-05-18 17:06:04 -07:00
Kenny Root 93c0985c42 am d0b7a8cf: Import revised translations 2010-05-17 15:03:58 -07:00
Kenny Root d0b7a8cf2b Import revised translations
Change-Id: I627268e91946716036c1a37b22db48326ce7007d
2010-05-17 11:35:17 -07:00
Jason Sams ad1bdf0204 Launcher2 cleanup.
Will remove dead script functions once reflection is working.

Change-Id: Ieffcf55047b5e241a8cffb1852619d04e1a00d53
2010-05-14 17:55:13 -07:00
Jason Sams 14f67edd3f Update Launcher2 to work with LLVM.
Change-Id: I992b812ec58d182e5df7ddad3ab8e7d9e7b88551
2010-05-11 14:02:43 -07:00
Daniel Sandler cfb390545f am e1cc6c37: Fix 2617318 - NPE in Launcher2. 2010-05-07 10:53:11 -07:00
Daniel Sandler e1cc6c3745 Fix 2617318 - NPE in Launcher2.
Applies the fix in change Id91712fa to widgets.

Bug: 2617318
Change-Id: I1e1dac6238a26497eacc23b161df171ae40bb588
2010-05-07 11:49:29 -04:00
Adam Powell 8be8b97130 am 68b4182d: Merge "Bug 2639807 - Add smarter smoothing to home screen touch scrolling." into froyo 2010-05-05 11:07:16 -07:00
Joe Onorato 506c1b49aa am fad1fb5e: Tweak locking in launcher so mLock isn\'t held while the slow stuff happens. 2010-05-05 11:07:12 -07:00
Adam Powell 68b4182d77 Merge "Bug 2639807 - Add smarter smoothing to home screen touch scrolling." into froyo 2010-05-04 15:17:11 -07:00
Joe Onorato fad1fb5ed4 Tweak locking in launcher so mLock isn't held while the slow stuff happens.
Bug 2652948

Change-Id: I9d386395278830ead5deda17b8b09e0dcfeff989
2010-05-04 14:43:16 -07:00
Adam Powell fe8e279dbc Bug 2639807 - Add smarter smoothing to home screen touch scrolling.
Change-Id: I242e11f5aec218ae2b8f80ef3babcb2836c173db
2010-05-04 14:20:28 -07:00
Ficus Kirkpatrick 9fed405972 am c15bd51d: Merge "Update default homescreen layout to latest design." into froyo 2010-05-03 15:23:33 -07:00
Adam Powell 7b220c71e3 am fefa0ce2: Fix bug 2646531 - regression in home screen bitmap caching 2010-05-03 15:23:32 -07:00
Ficus Kirkpatrick c15bd51dbf Merge "Update default homescreen layout to latest design." into froyo 2010-05-03 14:16:55 -07:00
Ficus Kirkpatrick 24c0a79821 Update default homescreen layout to latest design.
Change-Id: I3e5699a22103af1fa9c7ec476f4401a53771e5a0
2010-05-03 12:06:08 -07:00
Adam Powell fefa0ce22a Fix bug 2646531 - regression in home screen bitmap caching
Looks like the code path for buildDrawingCache(false) has some bugs.
This reverts to the old code path and tries to manage the creation of
those caches a bit better.

Change-Id: Ic468e9db396c51f723454dc3832e0cd1c0c82004
2010-05-03 10:23:50 -07:00
Adam Powell 11c8f9cb93 am 1896a6ec: Merge "Filter input events and smooth out touch scrolling. Bug 2639807" into froyo 2010-04-29 17:38:24 -07:00
Kenny Root 057131d535 am 82faa751: Import revised translations 2010-04-29 17:09:28 -07:00
Adam Powell 1896a6ec2d Merge "Filter input events and smooth out touch scrolling. Bug 2639807" into froyo 2010-04-29 16:57:49 -07:00
Adam Powell fea5d02507 Filter input events and smooth out touch scrolling. Bug 2639807
Change-Id: I71a18497862a30db5ff0f52f566fb86eae213ea3
2010-04-29 16:46:03 -07:00
Kenny Root 82faa75153 Import revised translations
Change-Id: I46c56ec11d883a3df1bf43944ea66240a5ea3962
2010-04-29 15:35:49 -07:00
Ficus Kirkpatrick 9a3c919ca5 am 9d179ade: Merge "Add Market widget to default workspace." into froyo 2010-04-28 16:00:20 -07:00
Ficus Kirkpatrick 9d179ade1a Merge "Add Market widget to default workspace." into froyo 2010-04-28 15:49:10 -07:00
Ficus Kirkpatrick 3862a6639a Add Market widget to default workspace.
Bug: 2606783
Change-Id: I8ea5e3564a21b98aadb8789e24276507c7ef46b7
2010-04-28 15:23:44 -07:00
Romain Guy 5593296715 am 19b0600e: Merge "Avoid ANR in Home by avoiding a sycnhronized call on the UI thread. Bug #2614636" into froyo 2010-04-28 14:06:18 -07:00
Daniel Sandler 8da7bebfb9 am e1d923a6: Increase hot rectangle of trash can. 2010-04-28 14:02:04 -07:00