Commit Graph

143 Commits

Author SHA1 Message Date
Fabrice Di Meglio d6a33c6f34 Fix Launcher drop targets for App remove / uninstall / info
- make the code aware of the layout direction
- use start drawables
- fix animation drop rect

Change-Id: I35f01b9079aef418c0a22b39e32344c7bf5a0660
2013-02-06 15:40:46 -08:00
Fabrice Di Meglio cc11f74258 Add first RTL support to Launcher
See bug #8064062 Launcher needs to be RTL aware

Change-Id: I24b1f1977fb65246afd2005440567b5850939621
2013-01-23 18:23:06 -08:00
Romain Guy e34a213c32 Add missing layout attributes
Bug #7334849

Change-Id: Iae01cf5c587716951dee849e9c4116717d137d8f
2012-10-17 12:04:05 -07:00
Michael Jurka 45355c4596 Re-merge "Add support for custom manta cling"
Also, fix issue where mako was crashing because
Launcher was trying to load a custom cling for it.
It was doing this because a custom home layout was
specified by SetupWizard, but for now we only want
custom clings on large devices

Bug: 7302705
Bug: 6992663

This reverts commit 2ebcf509f0.

Change-Id: I46533309d5c62edfbd3a3b178c6965ffc73b6476
2012-10-08 15:53:53 +02:00
Michael Jurka 2ebcf509f0 Revert "Add support for custom manta cling"
This reverts commit 68255cbabe.
2012-10-08 02:38:56 +02:00
Michael Jurka 68255cbabe Add support for custom manta cling
- Load a custom cling if custom workspace layout is specified
- Also persist any custom workspace layout

Bug: 6992663
2012-10-05 15:36:20 +02:00
Fabrice Di Meglio 369dd0c3e6 7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest
- add basic RTL support in the AndroidManifest so that Widgets will be able
to support RTL too
- force LTR layout direction to AppsCustomizeTabHost so that we dont have to
deal with layout mirroring yet

(do not need to force also LTR layout direction to Wallpaper activity and fragment
as another CL is removing the ActionBar on them)

Change-Id: I66623a3fcec0d7adef62b0ab8c8b2170e09f1b1b
2012-09-25 12:55:37 -07:00
Adam Cohen 985b9b6406 Cleaning up folders for 7-inch and 10-inch UIs
Change-Id: I44c068ea288e4683aa7dc9e86bdac6226bb42b75
2012-08-15 15:37:27 -07:00
Winson Chung 827a558073 Fixing issue where drop target text was not showing in tablet ui. (Bug 6789399)
Change-Id: I619f0a0118e53cfc703870fcc9083bb9bf1855b2
2012-07-10 16:31:41 -07:00
Michael Jurka dac8591072 Updating how widget previews look
Also fixing issue where some widget previews would
be way too large when picked up

Bug: 6472013

Change-Id: Iebfc33b1070da591a9d1d32d7c8e65a3fb057a7e
2012-05-22 21:03:55 -07:00
Winson Chung 947245ba8a Fixing issue where landscape delete button is not centered. (Bug 6493651)
Change-Id: I782351da2daf511a79e5c9f1d3cef90bec2ca6d1
2012-05-15 16:38:05 -07:00
Adam Cohen d5f8c3479a Refactoring padding dimens for CellLayouts and Workspace
Change-Id: Ib354b822588717b7bb81b4dcb14c834e5b8d4892
2012-04-26 15:48:08 -07:00
Michael Jurka 6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Winson Chung e96e5cb768 Fixing a few landscape issues.
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback

Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
2011-11-28 16:24:54 -08:00
Winson Chung 3f4e142380 Minor fixes to Launcher
- Tweaking the AllApps tab padding
- Fixing issue where the cling punch out might be in the wrong location
- Removing unused dragging code related to drop/scroll area overlap
- Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264)
- Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822)

Change-Id: I707397c231188a9feee8c0856374e0483cf37296
2011-11-18 10:13:04 -08:00
Winson Chung 345ed924ba Merge "Fixing small regressions in folder text offset. (Bug 5600902)" into ics-mr1 2011-11-16 12:24:57 -08:00
Winson Chung 8ea7f6b0cb Fixing small regressions in folder text offset. (Bug 5600902)
- Tweaking AppsCustomize tab bar dimens

Change-Id: I5809c0ffb5fb0f7e0124d875c97198aafa4e43e3
2011-11-14 15:34:48 -08:00
Michael Jurka 1899a36ab3 Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)
Change-Id: I2a2218975141d7659184de83e505c7ab6e613232
2011-11-13 17:08:23 -08:00
Michael Jurka 141dbd0e02 Improve Apps/Widgets transition
- Avoid using a bitmap when doing crossfade when switching between Apps/Widgets tabs, also fixes a visual issue on stingray (5104303)

Change-Id: I7365c629e704f37e18350ad15a849c034553d0b3
2011-11-11 16:48:48 -08:00
Adam Cohen ebea84d1c9 Unifying overscroll btw phone and tablet
-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka 81efbad05e Reduce unnecessary layout passes
- Also delete unused code
2011-11-10 11:22:48 -08:00
Winson Chung 6032e7ed8e Fixing issue where AllApps labels were getting clipped (Bug: 5490118)
- Tweaking the AllApps grid spacing

Change-Id: I7eb79edfd170500c1fecd6841e6f022bd40ac250
2011-11-08 15:54:45 -08:00
Winson Chung b5e74c8b60 Fixing issue where widget previews were being scaled up.
Change-Id: I94eaa1beb0579c8045a3b4c6ff72f7b9622a62ff
2011-10-28 16:43:21 -07:00
Peter Ng 8db7000140 Asset updates
- Change how default widget previews look (5509429)
- Improve antialiasing in portal assets

Change-Id: I9993aec46a9a9ab8a732b4fc150120c935523f02
2011-10-27 11:26:04 -07:00
Winson Chung f8c1b58b8f Fixing small tablet issues
- Removing phone search container bg from tablet ui
- Fixing the tab text for tablet AppsCustomize
- Fixing wallpaper items in wallpaper chooser

Change-Id: I3424cd8f32a767844b8bed54437f746a0fc381e5
2011-10-25 12:06:05 -07:00
Winson Chung 5fc72b3186 Fixing some issues with AppsCustomize
- Tweaking the widget page to make it a little tighter
- Altering the way we generate widget previews to make them more consistent
- Making the Apps page two line titles

Change-Id: I7bce420466c1d41fb87b423f259472482803a406
2011-10-11 18:20:33 -07:00
Adam Cohen 32343bd4be Fully display decenders in folders (issue 5253358)
-> Also, turned off extract mode for folder renaming

Change-Id: I5e544c9b225b3f205c90e977bfb6be516214718c
2011-09-29 12:16:06 -07:00
Adam Cohen ac56cff186 Adding keyboard support to folders and fixing renaming rough edges
Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
2011-09-29 11:53:57 -07:00
Michael Jurka 54335ecf88 Fix bug: All Apps progress bar wasn't centered
Change-Id: I28647e9c77364e1761e6be19f4940dc5bc836423
2011-09-27 21:28:11 -07:00
Winson Chung 9d9d74f2b0 Launcher tweaks.
- Updating search bar bg
- Removing clings from the layout if they are already dismissed
- Tweaking cling description paddings for languages that are more verbase
- Tweaking wallpaper picker gallery spacing

Change-Id: I801cdf4b1d0cc49a53113318d7b9075f6fa218bd
2011-09-19 16:06:37 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Winson Chung ad2b7a33d7 Fixing up search bar and adding bg. (5051804)
Change-Id: Ifeada9f2e8c1cd801a099f355c73fdac5300e11a
2011-09-18 15:16:38 -07:00
Winson Chung c3665faf45 DO NOT MERGE: Fixing regression where scroll position would be offset when rotated.
- Fixes the scrolling issue only in conjunction with framework measure fix
- Updating the wallpaper gallery item background

Change-Id: I156de59a3eadfdaa61018c0a74ad0614d76cde6d
2011-09-15 13:38:54 -07:00
Winson Chung 7ed3774638 Bug Fixing
- Setting loader thread priority to default after loading to help rotation time (5264039, more work to be done here potentially)
- Fixing regression in missing background gradient for hotseat
- Removing the old cupcake gallery item bg, new bg assets coming soon (5160311)
- Defering showing the AppsCustomize tab bar until we request layout to help a little with the flashing

Change-Id: I8c4981435f684363be951696986b7ab1b71956eb
2011-09-08 15:48:58 -07:00
Winson Chung 2b8e445770 Tweaking grid spacing (5162387)
Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1
2011-08-29 14:52:46 -07:00
Adam Cohen fdd6c83d1c Expanding folder rename touch region
Change-Id: I3dc6fd97818a4f4592c0476d0a2d6f11f55f9653
2011-08-24 14:00:54 -07:00
Winson Chung 82f5553a13 Cling ALL the things! (Workspace and AllApps)
Change-Id: Iee6b38dbb4f0b2fb85f854d70fd86db1e7b1d8f7
2011-08-22 21:26:06 -07:00
Winson Chung f314b0eab0 Improving transition between Apps/Widgets panes (5145408)
Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
2011-08-16 12:52:39 -07:00
Winson Chung 35d4a257cf Tweaking widget grid to show more items
Change-Id: Ied035f6c01f062ac1b4b16ee0a5b9029c6da72a0
2011-08-11 15:57:35 -07:00
Michael Jurka c57b7a8233 Adding a progress bar while All Apps is loading
- also, removing some unused imports

Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
2011-08-09 22:36:01 -07:00
Winson Chung c100e8eae7 Tablet/AllApps fixes.
- Fixing regression where the power button did not dismiss Apps/Customize
- Fixing regression in number of icons in portrain in AC, and removing legacy peek var for calculations (5122724)
- Fixing spacing in shop button on tablet
- Fixing bug where the apps pane was being changed as we were animating (5139543)

Change-Id: I3a3e5f224fd92e99072c830d13423d195179e7c7
2011-08-09 17:03:37 -07:00
Michael Jurka 7bdb25a989 Updating All Apps background
- Making background of All Apps black
- Drawing background within All Apps (perf gains)

Change-Id: I164274235bc347de04fab0702b7e7075e499e6c0
2011-08-04 15:37:22 -07:00
Winson Chung 4afe9b31f5 Adding ability to add to hotseat from spring loaded mode (5064141).
- Fixing regression where folder items had no text in tablet ui and assets
- Fixing spring loaded frame sizing (5067335)
- Making the cells 80x80 for testing again on the phone ui (5085986)

Change-Id: I52a0f5eaf2dcf4adaf57c5a71da3903892c490a8
2011-07-29 11:34:23 -07:00
Winson Chung 365055f289 Merge "Fixing minor bugs (5085316, 5082963, 5042828)" 2011-07-27 15:18:16 -07:00
Winson Chung a6427b15c1 Fixing minor bugs (5085316, 5082963, 5042828)
- Adding separator between qsb and workspace content
- Adding a bit of spacing between drawables and text in all apps
- Making the drop target area smaller...

Change-Id: I1bebe7dff20fc30e4896de1dcf23d23b62a31a07
2011-07-27 14:34:03 -07:00
Adam Cohen c51934bfdf Updating portals visuals:
-> added leave behind asset to dock, issue 5052467
-> new assets
-> modified text

Change-Id: Ie395b768658dd5c02443b37c4f58a02cf3e86e59
2011-07-26 21:14:39 -07:00
Winson Chung f5f8cefb21 Launcher cleanup and fixes.
- Removing unused hotseat assets
- Adding xhdpi assets from designer repo
- Decoupling dock divider and scroll bar to fix landscape divider issue
- Fixing issue where dock portals were being clipped

Change-Id: If3894a9a265e0272111e852857f9cfbf994ec050
2011-07-25 12:06:43 -07:00
Adam Cohen f4bb1cdecd Cleaning up folder layout, still pending final assets / cell size
-> see bug 5044356

Change-Id: I80a3cd90145de2a774565aae04809d8c1d04ccd5
2011-07-22 14:37:20 -07:00
Michael Jurka 2688c9a059 Removing unused resources 2011-07-20 16:35:06 -07:00
Winson Chung 32174c878c Fxing issues with the scroll bar
- Removing track from AllApps
- Scrollbar should reach edge of track now
- Fixing flashing when going from AppsCustomize to workspace and switching tabs in AppsCustomize

Change-Id: Id69bd04dc503608566c3a33a1344904e3db383bf
2011-07-19 17:59:48 -07:00