summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ProtectedApps: map items without componentNames by positionRaj Yengisetty2015-07-132-5/+28
| | | | | | | | | | | | | Repro: - Add a contact widget to a folder - Open the hidden apps fragment - Attempt to remove an entry from the fragment - Observe: Force close Change-Id: I3ca2c62283af5232534b766d7579413c060a5403 (cherry picked from commit f963b11485ceef70bbce7a9a4b98415ac2672b5b) (cherry picked from commit 660761014f5ab0d6ebada8a1579db4da910643fe) (cherry picked from commit 8055e99967a786545f55ea4b3f4351583ee7f7b1)
* Badge: Check count on bindStephen Bird2015-07-083-9/+6
| | | | | | | | | | | Fixes bug where badges would not show up after changing languages and other similar situations. Also, stop registering so many receivers when one will do. Change-Id: Id85dbadbc0f99c77493b5817097567ceb365912e (cherry picked from commit db86a7f9f1ac816af085f544d7cb3ca968ccdb84) (cherry picked from commit 99fb0c49cce8205dedaaba456a5ae144ae8eaebe)
* Complete widget drop without extra screen animationd34d2015-06-171-8/+3
| | | | | | | | | | When calling Workspace.removeExtraEmptyScreenDelayed() and Launcher.isWorkspaceLoading is true, the onComplete runnable will not be called which will prevent the widget from being added to the workspace. Change-Id: I753488e7f389a86edf056f934021634391a8fb84 (cherry picked from commit 5b4a0806c8fe0414ef671ea8962e198fb08f3c82)
* Scrolling: Fix fade in workspaces from ignoring usStephen Bird2015-06-161-2/+0
| | | | | | | | | | | | | | | The fade in option ignores all user settings if the device is in landscape or is a tablet. Clean up the settings loading logic and ensure that the user settings are respected always. Repro Steps: - Force Rotation - kill trebuchet - scroll to new screen Change-Id: I9bc49d1abebd88ac8c95ef44ea4e874494e29e1e (cherry picked from commit 8de4b987b0a5ff9f09e59145a6ebab26a6abde73)
* Rotation: fix icons disappearingStephen Bird2015-06-112-1/+6
| | | | | | | | | | | | | | | | | Only the dynamic grid reload should be stopping the launcher with intent to rebuild the entire workspace. This returns stopLoader to it's functionality pre-dynamic grid resize patch. (cherry picked from commit 7d006588505d1ccc1a04cf9080851f0a7abeca66) (cherry picked from commit 36fcac12c25d0cc733ed0d4a90889d140434fd07) Conflicts: src/com/android/launcher3/Launcher.java Change-Id: I55861da83f9b640fd767031e0f2188c5b9b91e66
* ProtectedApps: Fix protecting shortcuts with no ComponentNamesRaj Yengisetty2015-06-102-4/+10
| | | | | | | | | | | Repro: - Create a shortcut using the contacts widget - Add to a folder and open app protection screen - Observe: Trebuchet force closes Change-Id: I76f6a8b1d024beb36fa804bb3a866913edc335c1 (cherry picked from commit d8bdb0eef3f1799e8b829bcf114f1c3573bce8d6) (cherry picked from commit 42427c9b63936e82f9fbe934bddb376074a8e331)
* Move icons to fit within Dynamic grid upon resize.Stephen Bird2015-06-054-46/+131
| | | | | | | | | | | | | | If the dynamic grid is made smaller, currently icons will simply be hidden from view. Instead, create extra screens and squeeze the icons in so that they will all be visible upon resize. In some cases, icons can end up creating screens when it's not necessary we should revisit this at a later time and look into making these icons show up in a more expected place. Change-Id: I9a46f1ac45c1a04e252ed8943afcfe952df1392d (cherry picked from commit e25ab7bd9525d7a2c67eb8a6d8e88d54940dba58) (cherry picked from commit 641637f927e833cc2b50064d001aafd77de16508)
* Fix the hint text of rename folder can't change with system languagexuke.yin2015-05-271-3/+1
| | | | | | | | | | | | | | Reproduce 1)In workspace make a folder, click the folder check the hint text of the rename edittext. 2)Change the system language, then click the folder for rename, in the second time click the folder the hint text will change to the last language. Change-Id: I97d14a15bfa748be900bef193950b85b890efe40 (cherry picked from commit 13d6bcf08e004877bd268a88165d2bc265764366) (cherry picked from commit 347c6ec103f0f7781012a8ddac282bfbd319437d) (cherry picked from commit 7025ea24402546e4d40facc519dc2d3d8a5f4cf1)
* Trebuchet: Skip sorting again when sorted by Title when launching app viewLinus Lee2015-05-131-1/+5
| | | | | | Change-Id: Ie5b5398d17e6742f28084ce7cd6d31c4ba872b24 (cherry picked from commit b53f60bced4657d35880952732b2bcb811e1b7a6) (cherry picked from commit f7eb72cdc69c114af15d68e0428f822d6953338a)
* Trebuchet : Only reset overscrolled childDanesh M2015-05-121-6/+1
| | | | | Change-Id: Ief240c7fbbe296673ff4124cd4d463c9ba65f764 (cherry picked from commit 18980a7440ead7623e086098a2139f1218620b64)
* Trebuchet: fix Protected apps issue with foldersRoman Birg2015-04-161-3/+6
| | | | | | | | | | | | | | | | When there's a folder of shortcuts where all of the items have been set to protected, the first item in the folder sometimes does not get removed from the workspace allowing access to the protected application. When the second-to-last item in a folder is being removed, it was being replaced with the shortcut automatically, and we were checking against the folder contents, which was off the workspace at this time, but still had the shortcut. We need to check whether the last shortcut we are re-adding back to the workspace is actually protected before adding it. Change-Id: I9c7dbbd8562ae3e71e198747e6cb1c10417d1f46 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit d06291251703ce19968625742438c03351203d37)
* Trebuchet: Fix Settings shortcut widget title displays wrong when changing ↵yong.zou2015-04-151-0/+19
| | | | | | | | | | | | | | system language 1.Add a Settings shortcut widget to workspace 2.Change the system language 3.Check the Settings shortcut widget title The Settings shortcut widget title should update when changing the language Change-Id: I5012a3e99b9734230a844ce20e856ff86fba773a (cherry picked from commit c4326d489d5e8e252417a5edadc9e413c355d471) (cherry picked from commit 31a7bed3293c61665a1b0741360151f907d38dd0)
* Trebuchet: Fix NPE when adding widgetsRaj Yengisetty2015-04-151-0/+25
| | | | | | | | | | Make sure to setWaitingForResult on startIntentSenderForResult so that mPendingAddInfo is saved Repro: Change orientation when in the config activity for a widget Change-Id: I76ecc2b69b7f4a1cda65a481699aa79ae67f767a (cherry picked from commit ee224cb05e13d38c670733e59ae11b81515967b6)
* Support package name specification for customized drawer.Matt Garnes2015-04-081-17/+69
| | | | | | | | | | | | | When arrays of apps that make up the customized first and second pages of the app drawer are loaded, all a new syntax to specify the package name and class name for the Launcher Activity to be included: "<package name>/<fully qualified Activity class name>" Maintain backwards compatibility so that if only the Activity class name is specified, that will be matched as before. Change-Id: I8fb1464b448dc9addbda74558b3e323b008c8e90
* Trebuchet: Fix bad ui state when backing twice quicklyLinus Lee2015-04-021-0/+8
| | | | | | | | | If a user enters the widget add screen and quickly backs up twice, the widget panel stays around and captures touch, but the ui thinks it is in the homescreen. Change-Id: I52a920fd633f3ab690ca1c959fbc8935c2d0bb69 (cherry picked from commit e423f8abb9462d0063e4504ff1386b127875e23b)
* Filter apps for app drawer only after custom sorting.Matt Garnes2015-04-011-1/+1
| | | | | | | | The custom sorting logic for CTAPP mode removes duplicate apps from mApps. This must complete before the call to filter mApps into mFilteredApps. Change-Id: I915b976bf77ed8714c3bdc7dfe0155feb97bf2b7
* Performance improvement for launch latencyRaj Yengisetty2015-02-192-4/+7
| | | | Change-Id: I8487f4e0a1a4a57f684454fd0492134602c01057
* Fix potential NPE handling TransitionEffectsFragmentemancebo2015-02-171-15/+17
| | | | | | | | | Instead of holding a reference to transition effects fragment and attempting to keep it in sync with what the fragment manager holds, just get the fragment from the manager each time. Change-Id: Ifd92725c1731cc6677d6d2a06226e070fbc093e3 (cherry picked from commit e169a31d480f9c0dafd9292540d42594daf68afe)
* Trebuchet: Fix compile errorRaj Yengisetty2015-02-131-2/+0
| | | | | | Redundant declaration of fourByFourDefaultLayout in DynamicGrid Change-Id: I30277715f5a4a8a2b28888e90d5aa4f90e54485f
* Trebuchet: Add small icon text featureRaj Yengisetty2015-02-124-18/+52
| | | | Change-Id: I3eac9dfddb0ff89ca084ebc62511deb84af07654
* Filter apps for app drawer only after mApps is completely populated.Matt Garnes2015-02-091-4/+3
| | | | | | | | | | If mPreInstallConfig is set to true, apps will be added to mApps for display in the drawer after mFilteredApps is filtered from mApps. This results in applications being hidden from view that should not be. Filter mApps into mFilteredApps only after addPreInstallApps has been called. Change-Id: Ic426c5e530ffa61e0cbca211a6a32fcba38fc08b
* Trebuchet: ensure preview animation is released after exiting ↵emancebo2015-02-032-0/+13
| | | | | | TransitionEffectsFragment Change-Id: Id6253a6162ee47dd1a46886026f09c3adbdc7027
* Update Larger icons setting for better usabilityRaj Yengisetty2015-01-231-19/+19
| | | | Change-Id: I6e4f0411dc860c7312952275ebcea2b516ecd172
* Adding manage apps shortcut to Settings panelRaj Yengisetty2015-01-212-1/+24
| | | | | Change-Id: I02b454072258d57e82c825417941382ea7807e83 (cherry picked from commit cc342519488d50d2f59f514940de6cf02bd53ab2)
* Fix bug with toggling SearchBar off:Raj Yengisetty2015-01-191-1/+4
| | | | | | | | | | Precondition, have Search Bar turned on. 1) Open Settings pannel 2) Toggle Search Bar to off 3) Press "home" to return to Launcher Change-Id: Idda7ed44ee0d6d172845d1447893280569147f7c (cherry picked from commit 3549b0c14220370f4b50867ff8d21d9b6513f641)
* Disable voice button proxy when there is no voice searchRaj Yengisetty2015-01-161-2/+2
| | | | | Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551 (cherry picked from commit 7900b8dc9c6119789cfcd374b3f18b67ac003605)
* Rename carrier workspace files and config.Matt Garnes2015-01-162-4/+4
| | | | | | | - Rename Micromax config and workspace. - Rename Smartfren config and workspace. Change-Id: Ic13191f11c325715eb5d6e97899e9cbc900778bd
* Trebuchet: Customize features for regional packagekaiyiz2015-01-152-0/+10
| | | | | | | | | - Customize default launcher workspace for India. - Add Smartfren customize workspace layout. - micromax_default_workspace.xml and smartfren_default_workspace.xml is - copied from res/xml/default_workspace.xml Change-Id: I6598869a6b6f29fbad05b4c470e980141e4cbf61
* Trebuchet: Add Backup icon on main screenJing (Mia) Wang2015-01-152-3/+11
| | | | Change-Id: Idcfcabcba72ebdc96b22f7b50c0fdfbc2e7c922b
* Update workspace grid after toggling settings.Danny Baumann2015-01-102-5/+13
| | | | Change-Id: I851023e47fe12e434357962ee5f5b55b761da4c7
* Adding Large IconsRaj Yengisetty2014-12-291-15/+27
| | | | Change-Id: I85f11768a8dfa4f3df9be397d517686a1c72b9bf
* Trebuchet : Fix search bar icon/text disapearingDanesh Mondegarian2014-12-234-5/+11
| | | | | | | | | | | | | | | | Repro : 1. Uninstall an application from the app drawer 2. Press back to go to homescreen. 3. The search bar icon/text should be invisible now. Trebuchet : Avoid unecessary generatePressedFocusedStates When the drawable's state changes, don't generate state drawables until after the invalidate call, which takes care of this already, otherwise it gets drawn before measure/layout gets a chance to run. Change-Id: I49933e6d985aab9fff9f05092e007e46991a8edf
* Workspace: Custom default screenNebojsa Cvetkovic2014-12-232-7/+14
| | | | Change-Id: Ic90254f7758b9dbd4997a19474e455230355b772
* Trebuchet: Fix Scrolling Wallpaper toggleRaj Yengisetty2014-12-161-5/+17
| | | | Change-Id: I8c2cc294e1f3a9638023616d80f891ec9b98f3c4
* Delay reloading Dynamic grid after size change till onResume or settings ↵Raj Yengisetty2014-12-161-6/+9
| | | | | | panel collapses Change-Id: I1077921d8c59172d63a8fc5fb287ff26a38e3e93
* Fix invisible voice searchAbhisek Devkota2014-12-132-2/+2
| | | | | | | | | | | | | When 'show search bar' is disabled, you can still tap the voice search icon's position (even though view == gone) to launch search action. Partial fix borrowed from 10.2 http://review.cyanogenmod.org/#/c/21584 PS2: Use available variables instead of changing one to protected PS3: Fix mis-paste Change-Id: I268d0e1108992028fd324d42e7dc8b6e11c757eb
* Protected Apps: Fix launching from Hidden Folder FragmentRaj Yengisetty2014-12-021-1/+1
| | | | Change-Id: Ia6475f114d0ee9c76ebd5a277c66f90d8bbfe1e7
* Adjustments for Live Settings:Raj Yengisetty2014-12-022-2/+2
| | | | | | | - Fix view position of PageIndicators after settings update - Fix outlines on Workspace after settings update Change-Id: I2b24cc279e4a9c76ec0b532410c1388b26521b63
* Trebuchet : Add folder on folder checksDanesh M2014-12-022-1/+14
| | | | | | | - Check if the new folder can accomodate all items - Don't expand folder if trying to drop folder on folder Change-Id: I208e3afd4ee6aeeea01928fc77e136d6085c4fdc
* Folders: Merge FoldersDanesh M2014-12-021-0/+9
| | | | | | | This allows a folder A's contents to be merged into folder B when folder A is drag/dropped onto folder B. Change-Id: I41d62d04b6b4f0932cc68fb6d2a3be111b063d53
* Fix spacing issues on devices with/without nav-bar in overview settings panelRaj Yengisetty2014-12-022-2/+9
| | | | Change-Id: I329b63b780e5727307770e076bf03e3bc4d82dd0
* Clean up protected apps code (2/2)Danny Baumann2014-12-022-60/+40
| | | | | | | | - Work with actual component names instead of converting them between ComponentName and String all the time - Some misc. coding style adaptions Change-Id: I7401ea471d618936e880e6d542744f80f89ce40f
* Protected Apps: Re-add filtering in App Drawer and fixing protected foldersRaj Yengisetty2014-12-023-13/+105
| | | | Change-Id: Ia0899f79248647dbacf44cf917a27ebe62d20e4d
* Protected Apps: Remove protected folder if there are no entriesRaj Yengisetty2014-12-021-1/+1
| | | | Change-Id: I942cd6b3753ebd932bdd3162b30db5b4fb45e536
* Protected Apps: Delay Protected Apps changed reload till onResumeRaj Yengisetty2014-12-024-5/+26
| | | | Change-Id: I54724187c3ab168a3beb0791852a1c842bdbabf9
* Trebuchet: Further adjustment of panel overview glitch fixArne Coucheron2014-12-011-2/+2
| | | | | | * These values takes care of the glitch also on HDPI devices. Change-Id: Ia901699351ed887a9100bbec6d10be9e92b50c14
* Trebuchet: Draw the dynamic grid image dynamicallyDanny Baumann2014-11-231-124/+147
| | | | | | | This commits makes it possible to draw the image which previews the selected grid dynamically. Change-Id: I7c029f06110afdf1fe62145a079bba76166bb690
* Fix: Restore workspace gradients when returning from Widget dropRaj Yengisetty2014-11-221-0/+1
| | | | Change-Id: I08927ea359460f60cebe1b942273a24eea8f86d5
* Fix - Workspace background gradientRaj Yengisetty2014-11-211-0/+2
| | | | | | | | | | | | | Repro: - Open App Drawer - Launcher any app - Press back (User should be returned to the App Drawer) - Press back again (User should be returned to the Home Screen) - Note gradient near status bar (Home Screen gradient is missing!) - Press home - Note Home Screen gradient reappears Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731
* Launcher: display APP icon paged in main screen as Carrier requirehuiwan2014-11-213-14/+53
| | | | | | | | | | | Carrier require display customized APP: - recommened APP will be placed on the first page on main screen - Carrier's specific APP will be placed on the second page - rest and third APP will be placed on other page Change-Id: I2e52285068012a3e99526225b99bd25365df9bec Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>