Jason Sams and Android (Google) Code Review
1444e6e29c
Merge "Code cleanup possible with new reflected classes."
2010-06-21 17:44:53 -07:00
Kenny Root and Android Git Automerger
cfc73db0c3
am 8a3ef2ed: Import revised translations
...
Merge commit '8a3ef2ed6c2cc89ae96384358fa5fcba58b50ac0'
* commit '8a3ef2ed6c2cc89ae96384358fa5fcba58b50ac0':
Import revised translations
2010-06-21 10:16:51 -07:00
Kenny Root
8a3ef2ed6c
Import revised translations
...
Change-Id: I8b250fac67c854a118fd481466e2e28f773e2229
2010-06-20 18:58:37 -07:00
Jason Sams
60a55bbf54
Code cleanup possible with new reflected classes.
...
Change-Id: If9e79383722c0df997526717c52ded4921b6663e
2010-06-18 15:11:19 -07:00
Shih-wei Liao
9180ff6a59
slang with java_package_name pragma now works on allapps.rs. Add Null Pointer Checking. Add gSelectIconTexture.p checking.
...
Change-Id: I8aa04e15352a71bad0d6f6ca62ebde4085cbce03
2010-06-15 17:30:00 -07:00
Jason Sams
1aa4ff083c
Update AppApps to use reflected files.
...
Previous files were hand written placeholders.
This also fixed the physics bug where movement was right.
Change-Id: I98838084d60f0eaf22f7fbd148a80b2f73f9a14c
2010-06-15 17:13:46 -07:00
Shih-wei Liao and Android (Google) Code Review
4d7c5cd993
Merge "Add pragma on java package name, for reflection purpose."
2010-06-14 16:11:43 -07:00
Shih-wei Liao
c8149656bc
Add pragma on java package name, for reflection purpose.
...
Change-Id: I30a3cc2177b320a76d093cd018216ae936e81150
2010-06-14 11:46:11 -07:00
Joe Onorato and Android Git Automerger
8fc05199d6
am ab66ed2e: Merge "This variable can be checked outside the lock because it\'s only set from the ui thread." into froyo
...
Merge commit 'ab66ed2e067cbd1bc415b6cf66f3b5191b166461'
* commit 'ab66ed2e067cbd1bc415b6cf66f3b5191b166461':
This variable can be checked outside the lock because it's only
2010-06-11 11:15:14 -07:00
Joe Onorato and Android Git Automerger
9d944c6fb8
am d0afc87d: Fix crash in getCurrentWorkspaceScreen.
...
Merge commit 'd0afc87d9639a228b247cfbc2cf19d16132137b3'
* commit 'd0afc87d9639a228b247cfbc2cf19d16132137b3':
Fix crash in getCurrentWorkspaceScreen.
2010-06-11 11:15:10 -07:00
Joe Onorato and Android (Google) Code Review
ab66ed2e06
Merge "This variable can be checked outside the lock because it's only set from the ui thread." into froyo
2010-06-11 10:54:31 -07:00
Joe Onorato
790c2d9fc5
This variable can be checked outside the lock because it's only
...
set from the ui thread.
This will help the ANR in LauncherModel.onReceive because if
we're under contention, there's a good chance that we haven't loaded
yet. It won't completely fix it, but that will take a large refactoring.
Bug 2672967
Change-Id: I2c97a416767b4bb6aac0252f02e2aa2055ae8a4e
2010-06-11 00:14:11 -07:00
Joe Onorato
d0afc87d96
Fix crash in getCurrentWorkspaceScreen.
...
Bug 2761789
Change-Id: I9f005c876ca20f774e6d8046e34451a7fecbe805
2010-06-11 00:03:15 -07:00
Jason Sams
ce6160d7c3
remove extra set of transulcent on pixel format.
...
Change-Id: I2b6a16d8070a045e56e90fd073f63473b600ea90
2010-06-10 11:42:48 -07:00
Kenny Root and Android Git Automerger
2061acae28
am a9bda02f: Import revised translations
2010-06-09 22:51:11 -07:00
Kenny Root
a9bda02f7c
Import revised translations
...
Change-Id: I1c61fee7e093d6f1dc9bb1f178ebec89378e2754
2010-06-09 22:37:22 -07:00
Joe Onorato and Android Git Automerger
ca8c8e7248
am 774b3279: Fix the folder bug. The change that had previously fixed this got reverted somehow.
2010-06-08 17:48:45 -07:00
Joe Onorato
774b327991
Fix the folder bug. The change that had previously fixed this got reverted somehow.
...
Change-Id: I308656a5b1748e8aca254410b049110afaa7affc
2010-06-08 17:39:37 -07:00
Romain Guy and Android Git Automerger
78f51daa71
am 36354e4e: Merge "Improve workspace\'s scrolling performance." into froyo
2010-06-08 13:07:19 -07:00
Romain Guy and Android (Google) Code Review
36354e4e73
Merge "Improve workspace's scrolling performance." into froyo
2010-06-08 12:59:44 -07:00
Joe Onorato and Android Git Automerger
acc017320a
am cc67f476: Improve launcher loading performance by only doing re-binds.
2010-06-08 11:58:38 -07:00
Joe Onorato
cc67f476c0
Improve launcher loading performance by only doing re-binds.
...
This always reloads the workspace, because I think it's a less risky change and that only adds
~100ms.
Change-Id: I215b1f741f022e47ce06e78b9cfdd9967a8f1b9d
2010-06-08 11:32:28 -07:00
Daniel Sandler and Android Git Automerger
31333b9716
am 843e860e: Load All Apps before the workspace if All Apps is showing.
2010-06-08 10:15:11 -07:00
Romain Guy
8783a05158
Improve workspace's scrolling performance.
...
This is achieved by moving the 3D All Apps surface out of the screen when
it is not needed anymore. This saves us compositing costs that slow down
the drawing of the workspace.
Change-Id: I06ce1f77449fe1864517f4161913bc162c8e6b46
2010-06-07 17:08:34 -07:00
Daniel Sandler
843e860e8e
Load All Apps before the workspace if All Apps is showing.
...
This change reorganizes the increasingly Byzantine loader
thread so that the order of (workspace, allapps) can be
reversed if the user is currently looking at the all apps
view. The perceptual improvement in performance is huge if
you change the Launcher's orientation while All Apps is
visible (which forces a reload/bind of everything); now that
AA doesn't have to wait behind the workspace it
(specifically, its first batch of icons) appears much, much
faster.
Bug: 2722977
Change-Id: I07a9afd5f1cff4019f2640b082872176ba0a887e
2010-06-07 16:45:16 -04:00
Daniel Sandler and Android Git Automerger
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 and Android Git Automerger
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 and Android (Google) Code Review
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 and Android Git Automerger
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 and Android Git Automerger
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 and Android Git Automerger
8f0844ee78
am 3e297b57: Merge "Mask bitmap creation errors while dragging shortcuts." into froyo
2010-05-25 12:17:28 -07:00
Daniel Sandler and Android Git Automerger
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 and Android (Google) Code Review
3e297b57a0
Merge "Mask bitmap creation errors while dragging shortcuts." into froyo
2010-05-25 12:10:24 -07:00
Daniel Sandler and Android (Google) Code Review
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 and Android Git Automerger
ab285f8574
am 2e2656cc: Merge "Disable hotseat buttons if AllApps is visible." into froyo
2010-05-24 11:36:51 -07:00
Daniel Sandler and Android (Google) Code Review
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 and Android Git Automerger
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 and Android (Google) Code Review
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 and Android Git Automerger
93c0985c42
am d0b7a8cf: Import revised translations
2010-05-17 15:03:58 -07:00