Commit Graph

359 Commits

Author SHA1 Message Date
Michael Jurka c8f83f46b6 Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
2013-08-21 13:50:43 +02:00
Daniel Sandler 6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Winson Chung c9c4424ead Merge "Initial Changes for Dynamic Grid" into jb-ub-gel-agar 2013-08-20 17:59:06 +00:00
Winson Chung 5f8afe6280 Initial Changes for Dynamic Grid
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
2013-08-20 10:56:05 -07:00
Cristina Stancu d791998dd8 Modify qsb bar elements to handle hotword state.
They currently handle a pressed mode (showing a blue overlay), we'd like
them to also handle a hotword state that would modify their appearance
when hotword is available and active.

Meant to work with: ag/344334

Change-Id: I07e261ce64307fdad8a4c16fc02eb009ca826ece
2013-08-16 12:06:59 +01:00
Adam Cohen f358a4bbd6 Adding overview mode for reordering, widget adding and wallpaper switching
Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
2013-08-13 18:53:36 -07:00
Adam Cohen 39a0604255 Adding switch to toggle Memory Overlay
-> The overlay causes performance regressions so it's hard to evaluate
   performance with it on.
-> Also, the WeightWatcher is still running regardless, so you can
   always check it
-> Saved as a shared pref

Change-Id: Iad5ccbeca2c2b4e0ec86294879f3eb09caa594e9
2013-07-19 14:32:09 -07:00
Winson Chung 5bc865e787 Adding workaround for page indicators to support many pages.
- Tweaking assets until we get something proper

Change-Id: Ie07946acb529ff747d76896ff38837f8db6a7258
2013-07-18 15:18:25 -07:00
Winson Chung d2be381d36 Removing old scroll indicator and adding page indicator dots.
Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
2013-07-17 11:15:22 -07:00
Winson Chung 64359a53dc Ensuring that the db reflects all package added/removed/updated broadcasts.
- Also ensuring that newly added pages are added before the empty page

Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
2013-07-11 14:19:52 -07:00
Mindy DelliCarpini 53b8d071ce Use autoscroller to handle drag scrolling
Change-Id: Ie094cbfa91f898133f84ad9ffc349d8cfa07e668
2013-07-03 14:28:32 -07:00
Mindy DelliCarpini 2e7471cf96 Accelerate scrolling based on duration of drag near edge
TODO: tune max/ min scrolling velocity
Tune scroll trigger zones

Change-Id: I1daf10f12617fa9362cb340d5ed7bac98b23c9be
2013-06-27 10:13:01 -07:00
Daniel Sandler a127b7ad15 New icon to dump heap information and share it.
Alternatively,
  $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity

Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
2013-06-17 15:29:22 -04:00
Adam Cohen b5fe60c8a5 Add a dummy activity which we can catch on-click in launcher to open allapps/widgets
Change-Id: Idc718a9e03e7358f972c59fcfc3bf2eaf75e56ee
2013-06-06 22:04:27 -07:00
Adam Cohen 9efb412971 Changing default screen to 0
Change-Id: I16b2440f99d4b91a3a74226cdac7054e7d5fd7f5
2013-06-06 21:35:25 -07:00
Adam Cohen f0f4eda318 Making folders scrollable
Change-Id: Id6c9ec62acc6d86dc627d20abad3e2d92010f539
2013-06-06 21:28:57 -07:00
Bjorn Bringert f3e92c9448 Delete unused class HandleView
Change-Id: I775d34a2c0a755994a6e1bfe6127fed4ddcda0b7
2013-06-06 12:59:00 +01:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Winson Chung b301f3fcff Fixing issue with qsb icons not being sized correctly. (Bug 8543618)
Change-Id: I807eaa8323e138c3ad13b6b923a3598c072c0588
2013-04-12 12:37:56 -07:00
Fabrice Di Meglio 2d8387154e Fix for bug #8456352 [BiDi][fa] Widget dimensions are RTL in Farsi
- make the string translatable

After this patch, there will need to have the string translated for all
supported languages.

For Farsi (the only exception), the string should be defined as:

<string name="widget_dims_format">%2$d \u00d7 %1$d</string>

Change-Id: I7acd305b677a8dbc0d12a751a6faad54424c641d
2013-04-08 13:37:20 -07: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
Michael Jurka ffc9f488a3 Don't use text shadows inside folders and all apps
(saves memory)
2013-01-10 13:35:55 +01:00
Adam Cohen 381fe4ce6f Adding width / height to cling text style
Change-Id: Ia39b049fe414edf926c221baed3b1223199ce2a7
2012-10-19 10:17:18 -07:00
Baligh Uddin 41aeb57975 Bring dummy cling strings back as 'strings'
The translations import recognizes 'string', 'string-array' and
'plurals' as valid items to parse, all others are ignored.  This is the
reason, why these strings have not been imported back into the codebase.
Making the string declaration same as when it was removed in cl/236665

Change-Id: I6d53ba9d6267706834cb66e9ca99a1335aa01d14
Bug: 7203884
2012-10-18 10:39:11 -07:00
Michael Jurka 22beb9043e Add entries for string resources that appear in clings 2012-10-11 11:04:43 +02:00
Michael Jurka b86d516bcc Update custom cling params
Bug: 7318080

Change-Id: I77d73d81a60efa3886f088e82c6ba3466f6ac331
2012-10-10 23:11:01 +02:00
Michael Jurka a113121fd3 Stop using mcc for custom workspace cling on sw600dp devices
Bug: 7203884
2012-10-09 14:46:26 +02: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
Michael Jurka aee3a0ef78 Remove action bar from wallpaper picker
Bug: 5295678

Change-Id: I50bb4bee3d9d54f28ef4a46ed9754701045d38c7
2012-09-25 11:36:39 -07:00
Adam Cohen 1dc3b9abd5 Merge "Adding the ability to scale the hotseat or items in the hotseat" into jb-mr1-dev 2012-08-24 13:05:26 -07:00
Adam Cohen 307fe23f12 Adding the ability to scale the hotseat or items in the hotseat
--> A bunch of stuff breaks when scaling the hotseat. More specifically,
    drag and drop animations between hotseat and workspace,
    scaling on pick up, folder animations, determination of
    item placement. This CL fixes these issues so that the
    hotseat or hotseat items are ready to be scaled.
--> For now, using 90% scale factor for 7-inch+ UIs

Change-Id: Iac098409347e76139e4d726a071397b56ac684d2
2012-08-20 21:49:43 -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 0e721a4005 Initial changes for new 10inch layout.
Change-Id: Ifaafca469df626a76ab5e16bd2f0d5afa1da172c
2012-08-08 14:02:22 -07:00
Michael Jurka 14c5a2cdb0 Removing unnecessary config parameter for hw accel
Change-Id: Ibbbca9fb93319400332ba27f9cae62b1c0cc4313
2012-06-28 13:45:33 -07:00
Michael Jurka 8bc66c7fe4 Use getCurrentSizeRange to determine cell dimensions
Change-Id: I7b50ad85594585a3c18838776652c3d873dbd82d
2012-06-21 09:40:20 -07:00
Adam Cohen 251afe1b52 Address widget size callback issue for small phones (issue 6670346)
Change-Id: I76fe87e11a665844f5ce1a76e1921342c285310e
2012-06-17 18:19:28 -07:00
Adam Cohen 94309887fe Improving overscroll paramaters for 7-inch devices
Change-Id: Iba805137fca121bab7675eac22236af9642c27bb
2012-06-08 16:27:57 -07:00
Winson Chung bfeac0681b Synchronizing on the new-apps list before modifying it. (Bug 6621553)
- Minor tweak to qsb padding
- Adding yet more logging for single-app-page issue

Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
2012-06-06 15:57:27 -07:00
Winson Chung 6e1bdaf419 Lowering the threshold for flinging on larger devices. (Bug 6575670)
Change-Id: I969057d6135babef430c60f5b2705179210719bb
2012-05-29 17:04:43 -07:00
Winson Chung 2816ca58d3 Fixing issue with resource ids. (Bug 6532243)
Change-Id: Ie4a245a224038a750e60b0203003638fd561713d
2012-05-23 15:39:39 -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 1b9e88f1db Updating wallpapers (except for xlarge devices). (Bug 6460469)
Change-Id: I60e84830395ae697f36f8fd861f59bc111959ca7
2012-05-21 13:31:35 -07:00
Andrew Flynn d5e9734f3e Change custom workspace cling
Change-Id: I8fe44469ac4bf38f9be2228d8eace1198bf3a48e
2012-05-17 13:48:47 -07:00
Andrew Flynn ceca4ff189 Merge "Support for 600dp & custom clings" into jb-dev 2012-05-14 21:57:14 -07:00
Winson Chung 8aad610dc5 Making the page spacing fixed in spring loaded mode. (Bug 6478409)
Change-Id: I3577a1beecacb82528f0fde9439a8366a709b29c
2012-05-14 15:25:23 -07:00
Andrew Flynn 2f5f945704 Support for 600dp & custom clings
Change-Id: Ifea85be6ff062c61664a3f0ec6c1c24a1fc7b559
2012-05-13 16:31:16 -07:00
Winson Chung 3e7f2000a8 Tweaking the qsb padding to push icons in.
Change-Id: I8190e042bc6820b34a46799e198e07328ac8bd00
2012-05-10 18:02:36 -07:00