Commit Graph

627 Commits

Author SHA1 Message Date
Michael Jurka 0a457bfbd9 Fix StrictMode violation
Switching how we set a property to tell launcher
to force rotation to be enabled, or to dump state.

Bug: 7538629

Change-Id: I8cb55f1a28ba59fe5d410562c66bc86eb9efabfe
2012-11-19 15:21:11 -08:00
Michael Jurka ffc2682a97 Fix NPE
Bug: 7441452
2012-11-16 18:21:22 -08:00
Craig Mautner 360310b74d Extend background to full screen.
Gradient and black backgrounds were stopping at the Status Bar.
When returning from a full screen app to the launcher the wallpaper
was completely visible when it should have been obscured by these
backgrounds. Making the app full screen while keeping the views
within the system insets fixes this.

Bug 7410717 fixed.

Change-Id: If3f7e4808961ee6c80fe2d0a328e6ca39fa5eb7a
2012-11-16 16:17:20 -08:00
Chet Haase 36095e861b Merge "Stop animating All Apps during transition to Home" into jb-mr1-dev 2012-10-29 14:24:08 -07:00
Chet Haase bc2f082dac Stop animating All Apps during transition to Home
One of the sources of jank in launcher is during the All Apps -> Home
transition. specifically, if the user has started a fling operation (where
we are animating between pages in All Apps) and then hits the Home button,
we continue the fling animation while also doing the transition to Home
scale/fade animations. This causes a lot of work for launcher, particularly because
the fling animation is causing the All Apps layer to get recreated on every frame.

The fix is to simply pause the fling animation, then snap to its end state when the
animation to Home is complete. We also need to pause/snap the scroll indicator animation,
because it's fading animation causes the same layer-recreation jank that the fling
itself causes.

Issue #7387124 Home <-> All Apps transition animation is janky while flinging

Change-Id: Icbcaf2d5b3b2f6ce8fd7419419d258248aa1475b
2012-10-29 14:07:33 -07:00
Jamie Gennis cb222e85d2 Delay ACTION_MAIN processing when not focused.
This change puts a 350 ms delay before processing the ACTION_MAIN intent when
the window is not focused.  This makes the Launcher animation take place after
the GPU-intensive portion of the window shade hide animation, resulting in
smoother animations.

Bug: 7401764
Change-Id: I574f2ba398fcf38b423413f802673bbd4d983cd2
2012-10-24 14:27:45 -07:00
Svetoslav Ganov 303f621e57 Merge "Send correctly populated Accessibility event on Launcher state change." into jb-mr1-dev 2012-10-19 14:22:45 -07:00
Michael Jurka d6dd7c8a21 Fix NPE
Bug: 7371837
2012-10-19 17:15:16 +02:00
alanv 1d4fde6864 Send correctly populated Accessibility event on Launcher state change.
Bug: 7362253
Change-Id: I72811292e8091a21866cb4599d37a71eb475b1d5
2012-10-17 13:15:47 -07: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 98d7bd72df Merge "Re-merge "Add support for custom manta cling"" into jb-mr1-dev 2012-10-08 13:29:25 -07:00
Michael Jurka 6c5679e5dd Merge "Fix bug 6886990: cling accessibility" into jb-mr1-dev 2012-10-08 13:28:38 -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 2214313177 Fix bug 6886990: cling accessibility
Clings should block interaction with elements
below when Talkback is enabled

Change-Id: Ifdcd109351fd3c2d6dc97ad75ea3ab6eea48b582
2012-10-08 15:41:51 +02:00
Michael Jurka 2ebcf509f0 Revert "Add support for custom manta cling"
This reverts commit 68255cbabe.
2012-10-08 02:38:56 +02:00
Adam Cohen 8b4d91455a Merge "Fix to ensure default widgets get size callbacks (issue 7287744)" into jb-mr1-dev 2012-10-07 12:38:56 -07:00
Adam Cohen aaa5c21ee2 Fix to ensure default widgets get size callbacks (issue 7287744)
Change-Id: I46b329db247a0b450493530ab619576c45418b01
2012-10-05 18:14:31 -07: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
Adam Cohen dd70d66852 Fix for widgets with config not getting size info (issue 7266053)
Change-Id: I0b55555ed38d4f2a70345d1b6316a075a9346111
2012-10-04 16:53:44 -07:00
Michael Jurka fa7969fbd5 Fix NPE
Bug: 7024933
2012-09-21 16:39:14 -07:00
Michael Jurka c4a9233a94 Merge "Remove "fade in" animation for search + voice search." into jb-mr1-dev 2012-09-21 10:51:32 -07:00
Narayan Kamath 95a556ac7a Remove "fade in" animation for search + voice search.
This applies when the app is launched by tapping the
search box or the voice search icon.

bug:7193408
Change-Id: I29f41faa20c3e7ad00032f749c99d9b69402c422
2012-09-21 18:28:48 +01:00
Adam Cohen 9e05a5ea95 Making launcher use new widget binding APIs
Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
2012-09-19 15:22:23 -07:00
Michael Jurka 059798af09 Debug code for bug b/6830207
Change-Id: Ic951fd448a74ac84398f3e4371b2410e295f0293
2012-09-04 09:20:42 -07:00
Winson Chung 81b5225279 Ensuring that unbind calls are not queued in the worker thread and executed subsequently on the main thread. (Bug 7001531)
Change-Id: I677242c0952d6385ca229ba300fdd5a2a7908a8a
2012-08-27 17:42:09 -07:00
Adam Cohen 2b3396f9c0 Merge "Adding additional null checks for instances where the qsb is not defined. (Bug 6940769)" into jb-mr1-dev 2012-08-27 15:23:42 -07:00
Winson Chung adf0c180c1 Adding additional null checks for instances where the qsb is not defined. (Bug 6940769)
Change-Id: I93baa00331bcbcd07e8702d5ad77c8f2022a16f2
2012-08-23 14:59:48 -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
Winson Chung 0e721a4005 Initial changes for new 10inch layout.
Change-Id: Ifaafca469df626a76ab5e16bd2f0d5afa1da172c
2012-08-08 14:02:22 -07:00
Ed Heyl 8165f0dd20 resolve conflicts w/4f174f1d27adbde6f50e11ee3a8eaf162a030284
Change-Id: I7ecce86e58af545aa18ea25e16978a1dce9dab8e
2012-07-25 15:04:00 -07:00
Ed Heyl 90abcc9425 resolved conflicts w/0ede734d0780a968c9c345f99a18f9f8b9fc02cd
Change-Id: I50900698a590e8d84a6cbcc560f95209d3a6d110
2012-07-25 14:52:36 -07:00
Winson Chung c93e5ae120 Binding AllApps synchronously. (Bug 6855061)
- Also ensuring that we restore to the settling page index if it is in motion

Change-Id: I9c6760383113f7614f6cb962ab6562b0e7eb7138
2012-07-24 23:56:21 -07:00
Adam Cohen 1462de39f0 Ensuring that restoreInstanceState is being called promptly for synchronously bound page
Change-Id: I0e71c29f553ad360ec42a6a0b2529d16cbddd437
2012-07-24 22:34:36 -07:00
Winson Chung 36e6c5bb23 Disabling synchronous binding when returning home from another app while orientation has changed. (Bug 6792288)
- Fixing issue where we were reverting to the first page of the workspace after launching an application from all apps, rotating, and returning home
- Enabling rotation in master.

Change-Id: I291b9d76b20244e9028b6f62164430bc3606644c
2012-07-19 18:23:56 -07:00
Winson Chung 4a2afa3655 Disabling synchronous binding when returning home from another app while orientation has changed. (Bug 6792288)
- Fixing issue where we were reverting to the first page of the workspace after launching an application from all apps, rotating, and returning home
- Enabling rotation in master.

Change-Id: I291b9d76b20244e9028b6f62164430bc3606644c
2012-07-19 15:13:51 -07:00
Adam Cohen d7d37b134b DO NOT MERGE Adding sycnhronous loading of current page to support seamless rotation. (Bug 6792288)
Change-Id: I341160e8a604cde63443e331f762cebc1ed5ec0c
2012-07-18 18:40:11 -07:00
Winson Chung b8b2a5aa45 Initial changes to synchronously load workspace on rotation.
Change-Id: Ia7cf80177fd0aee88aa3f4a731f5d6dc904bea16
2012-07-17 18:44:42 -07:00
Adam Cohen 487f7dd305 Trying to track down corrupt database / items disappearing
-> Adding logs for all database transactions
-> Adding sanity checks for items in folders, throwing exceptions
   if they are violated
-> Reducing database upates when re-arranging items, only
   update if values have changed
-> Removed some dead code from ItemInfo (isGesture?)

Change-Id: Ia5cd57d92082f633dbf4aa5d64612cbae2d82bb4
2012-07-09 14:49:19 -07:00
Winson Chung acb5f99c64 Merge "Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)" 2012-06-21 14:29:52 -07:00
Winson Chung cd81073eac Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)
- Fixes issues where shortcuts created by wallpaper/widget-only apps are uninstalled.

Change-Id: I94c9d1d71fc34aa2fb7f0660534e616a82ac6f36
2012-06-21 10:50:51 -07:00
Michael Jurka 2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Michael Jurka a33411cb83 Removing use of private SearchManager api
also removing one unused import
2012-06-18 12:57:12 -07:00
Michael Jurka e783cde98d Merge "Adding animation when destroying folder due to single item remaining" 2012-06-14 11:41:04 -07:00
Winson Chung 51600e4b63 am 8fd14178: am 7e4e4ba4: Merge "Removing logging in AppsCustomizePagedView (Bug 6597629)" into jb-dev
* commit '8fd14178541374f2609c463a3bf882b93c10395d':
  Removing logging in AppsCustomizePagedView (Bug 6597629)
2012-06-14 10:40:32 -07:00
Winson Chung 7e4e4ba494 Merge "Removing logging in AppsCustomizePagedView (Bug 6597629)" into jb-dev 2012-06-14 10:30:13 -07:00
Michael Jurka 4131bb10e2 am 452a4f58: am a35a7807: Merge "Fix NPE" into jb-dev
* commit '452a4f585d3cb707da0adf1fd91ba2c9c169b925':
  Fix NPE
2012-06-12 13:15:19 -07:00
Winson Chung 04cd38fd0b am fab8e550: am db2bfa05: Merge "Fixing issue where play icon disappears after hitting home (Bug 6636269)" into jb-dev
* commit 'fab8e5506ddb26cb8218aa89b60813a8083b9998':
  Fixing issue where play icon disappears after hitting home (Bug 6636269)
2012-06-12 13:15:17 -07:00
Michael Jurka f3bade6726 Make names of debug properties consistent
(cleanup after eliminating use of SystemProperty)
2012-06-12 11:02:28 -07:00
Michael Jurka 9bc8eba333 Clean up warnings and some private API usage
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
2012-06-12 10:52:57 -07:00