| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I3e5699a22103af1fa9c7ec476f4401a53771e5a0
|
|
|
|
| |
Change-Id: I46c56ec11d883a3df1bf43944ea66240a5ea3962
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 2606783
Change-Id: I8ea5e3564a21b98aadb8789e24276507c7ef46b7
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The drop region is now 70dip^2. This means it invisibly
overlaps nearby icons ever so slightly---not enough to
prevent icons being properly dropped on the workspace.
Bug: 2623734
Change-Id: I945160ef6bdfc0a4ac3cf9db57d440bad424dfc4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also closes the gap below the buttons (not visibly, but the
hit rect now reaches the bottom of the screen). Bug: 2630273
Change-Id: I8e8de6b63f91b2fcf87c3af856003cc36dd6c096
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To do this, we invoke resolveActivity to see what activity
would result from viewing an arbitrary (but valid) URL. If
there's just one installed, or there are multiple and the
user has chosen a default handler for http:, we take that
component and launch it with CATEGORY_HOME (so as not to
upset the URL in the frontmost window/tab/what-have-you).
We also use this information to extract the localized name
of the app, which is then installed into the hotseat as the
contentDescription (for accessibility).
If there's no default and multiple options are availble,
we'll get the activity chooser instead. In this case, we
just fire off that chooser and let the user pick an app
(possibly setting a default along the way). Because the
default may change, we reload all this hotseat information
every time one of the hotseats is tapped.
Another side-effect of this approach is that until there
exists a default browser, the original URL will be sent to
the activity the user chooses from the ResolveActivity. So
we need a sensible default URL here; one can be found in
R.string.default_browser_url (similar to Browser's
R.string.homepage_base).
This change also moves the hotseat intents and icons into
arrays.xml for easier configuration.
Change-Id: I06268df8b59e0f41f1f8b0e47f823db4c44ec761
|
|/
|
|
| |
Change-Id: Ia9b370372f0ea1ae5271030d946db621161f30a2
|
|
|
|
|
| |
Bug: 2559083
Change-Id: I969b13227b12a62484c9a91cb671128a3f3c2398
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
0: (nothing)
1: News & Weather
=>2: Search; Protips
3: Music
4: (nothing)
Will add Market widget to screen 2 (center) when available.
Bug: 2559083
Change-Id: Id025bfbb1514959906d7d42601c3358ef870aebe
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hotseats are permanent slots on either side of the
AllApps button. Their functions are:
LEFT/BOTTOM: Phone
Launched via the hardcoded class name
com.android.contacts/.ContactsLaunchActivity.
RIGHT/TOP: Browser
Launched by querying to see which application is the
default for URLs, then starting that activity directly.
In the future, it would be ideal to allow an application
with permission to access LauncherProvider to customize
these (icons, contentDescriptions, and Intents).
Bug: 2559083
Change-Id: I56f6e745f8574aa17e28feaa9d2118fb4a715cd4
|
|
|
|
|
|
|
|
| |
This way we can figure out how many apps to send to the grid
at a time even if the grid hasn't been instantiated yet.
Bug: 2599979
Change-Id: I7960fe1adae6976555334422335f3a4b28d0675e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed another redundant sort
* Correctly set the thread priority to BACKGROUND for the
all apps loading step.
* Moved batch delay to a resource
* Reduced delay between loading batches of apps to 100ms
(we really just want to sleep a tiny bit between batches
to give the UI time to react)
Bug: 2562420
Bug: 2599979 (related)
Change-Id: I1ae72a68c1a47377a9eb62827fe7666bfc50caa5
|
|
|
|
|
| |
Bug: 2559083
Change-Id: Id77fe641520c36eaee10f10c04d7df04b7637184
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ifd8564bca26265540589a48ea281e8ce9fa1001e
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Bug #2562729
In landscape, the left and right dots buttons are 93dip wide; this makes them overlap
with widgets at the bottom of the screen. The dots do not need to be that wide but
we chose this size to make it easier to tap them in portrait. To avoid issues in
landscape, this change introduces a new type of ImageView that can ignore touch
events in a certain zone. This was easier and cheaper than re-cutting 36+ assets.
Change-Id: Id261fba41a43dede943e72060e39e87658e4b0df
|
|
|
|
| |
Change-Id: I9f0ef8370bbf3e73f86dabf006372fc243f302b9
|
|
|
|
|
|
| |
landscape mode
Change-Id: Iffe3e95a10e49f1dadcab2f4f177e79c0140699e
|
|
|
|
| |
Change-Id: I1b4b8c830701a1aa08a31a78fdff92216bf2ef5f
|
|
|
|
| |
Change-Id: I4ca8fcf9d65746116b3c244e724344d8f90eeba0
|
|
|
|
| |
Change-Id: Ie01900dcb6fd6381d18dcfa80bddb7bfdff19b13
|
|
|
|
|
|
|
| |
Also vertically align AllApps2D's home icon with Workspace's
grid icon.
Change-Id: I81a8759ed33afd08336482484f1b9bdb9a36718e
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fiddles the manifest to allow the app's shared user id and
process to be changed at build time via resource overlays, so we
can build launcher to run in the acore process for low-end devices.
Also switches the cert of launcher back to shared, to allow for
this. (Note this only really matters if the shared user id is set,
otherwise launcher will still get its own uid.)
Change-Id: I0bd0a06e1442c4bfe5ceb2d438cb58f29d911578
|
|
|
|
|
| |
Bug: 2485104
Change-Id: I6a84768f45141528361eaee1f0ce4b37e50ca487
|
|
|
|
|
|
| |
where we don't correctly re-initialize it when starting in various states.
Change-Id: Id648c7bba5d8b55a32b5b33363ddf6e74701df87
|
|
|
|
| |
Change-Id: I466c97cb63687ec3dab5109a8e77445e78e8b3ee
|
|
|
|
|
|
|
| |
hdpi devices will see the Nexus wallpapers; mdpi devices
will see the old wallpapers.
Change-Id: If019eb90e9d67ede7865a8ea9f7a330d43a664ab
|
|
|
|
|
|
|
|
| |
all_apps.xml is now a trampoline that loads the correct layout file.
Also take this opportunity to make 2D the default.
Change-Id: Iba2500da1bf4f505f1a5c2f6f32ed6e72ec34c5f
|
| |
|
|
|
|
| |
Change-Id: I53f7985a2fe0dc4e61143242c110f3604e8ed1a1
|
|
|
|
| |
Change-Id: Ie4b209a3cda914a547b0fc6abfc81a0a681aa5ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.
TODO:
- some mdpi assets are not in fact mdpi
- related to above: static wallpapers not working yet
- add dynamic selection of 2D/3D AA; currently you must
choose one at build time by picking the appropriate class
in all_apps.xml (see separate CL for sapphire overlay
that does this)
Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
|
|
|
|
| |
Bug #2478416
|
| |
|
|
|
|
| |
driver to render one frame.
|
| |
|
|
|
|
|
|
| |
picked up.
related to bug 2309687
|
|
|
|
|
|
|
|
|
|
|
| |
ShortcutInfo which is
used for the workspace.
Consolidate the three icon resampling functions into one.
Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
curve and uses a smaller bitmap.
|
| |
|