summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: display search widget search box if availablecaf/cm-12.0Roman Birg2015-07-282-17/+129
| | | | | | | | | | | Ported to CAF Conflicts: src/com/android/launcher3/Launcher.java Change-Id: I3a6d930f25ca4ac1eb8a069c68a2fe9bf2aeb646 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit cfe3474f48fc2255bfe0135648c48afc594462c8)
* Don't load title from intent if title loaded from DBd34d2015-07-241-3/+5
| | | | | | | | | | | | Title for shortcuts, when creating workspaces, are loaded from the intent rather than the title stored in the DB. The title from the DB is loaded in the ShortcutInfo so we will use that unless it is null, in which case we'll fallback to loading the title from the intent. Change-Id: I436c11062dbc8ff3d7e1cd9f9564321ad0476933 (cherry picked from commit e963932853caa238ba7bc6928e5243075e41fc75) (cherry picked from commit 34dbd4ad06b87fafec5b2bd2745eb283018d1bcf)
* Trebuchet: fix voice button proxyStephen Bird2015-07-161-1/+6
| | | | | | Change-Id: I1f7243063fa0596f5f9cb3b40c4cee63545d04e3 (cherry picked from commit a433e1da44fdc487cef01c5136e9ce8029eaff2f) (cherry picked from commit 004115fe4b3abbf27115ebbde18473353b405407)
* Revert "Trebuchet: add default wallpaper"Stephen Bird2015-07-164-1/+0
| | | | | | | | | | Default Wallpapers should be handled by the overlay at /device/qcom/common/device/overlay/packages/apps/Trebuchet/res/drawable-xhdpi/ This reverts commit d18f58a6b243c52f8c25b8641c70570f21672d6d. Change-Id: If55848ac20351f24d3f228071f9af22fa0e9f675 (cherry picked from commit 34831388dcfcec739487ebe4eea8b31976c40757)
* Protected Folders: Prevent the folder name from covering the toggleStephen Bird2015-07-131-0/+1
| | | | | | Change-Id: I2d1d4550674efcab221e071c3290da2aeadad501 (cherry picked from commit 9711ba2542f4a15ed5dce442886a6a86d3ac0fa6) (cherry picked from commit fac4493b4a99e9beb5d8b5ba75a042e3046fa9fd)
* 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)
* Backport From 12.1: Increase SDK Version to support Android for WorkStephen Bird2015-05-181-1/+1
| | | | Change-Id: I01d736df509470a0632ee9dbb7f51b04456b0ea4
* 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-193-4/+8
| | | | Change-Id: I8487f4e0a1a4a57f684454fd0492134602c01057
* Trebuchet: Add missing simplified chinese translation.Matt Garnes2015-02-181-0/+1
| | | | | | | | | The "Small Text Size" feature did not have a Chinese translation. Because of some internal deadlines, we will submit these manually but Crowdin eventually will overwrite these values. Change-Id: I3cecc33e3f1ca0894b79bc183e0685551c8c1c1f
* 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-126-18/+56
| | | | 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
* Trebuchet: Add missing simplified chinese translationslinus_lee2015-01-303-0/+79
| | | | | | | Because of some internal deadlines, we will submit these manually but Crowdin eventually will overwrite these values Change-Id: I4672fb958508180d34ce82150c8ef8ac816e36f7
* Make workspace during preview largerlinus_lee2015-01-291-1/+1
| | | | | | | | | | Initially looked at tying the size to be different based on the soft navigiation bar, but that turned out to be a lot larger, so sticking with a simple bump in the preview for now Change-Id: I12f769350f036178731b334d83c04f9facee5cb5 (cherry picked from commit b5f816dd32a4a85275f361d5d4a3c77aa197e775)
* Update Larger icons setting for better usabilityRaj Yengisetty2015-01-231-19/+19
| | | | Change-Id: I6e4f0411dc860c7312952275ebcea2b516ecd172
* Fix settings pane button alignment.Danny Baumann2015-01-2210-57/+25
| | | | | | | | | The addition of the manage apps button caused unnecessary line wraps for some languages (e.g. DE), and the manage apps icon had a size different from the other icons in that pane. Change-Id: I3faaf32d9826a817250190517583764a2574bfb0 (cherry picked from commit 5ede4fea10abdfc04dbfaa411268568ecce87f95)
* Adding manage apps shortcut to Settings panelRaj Yengisetty2015-01-2113-3/+64
| | | | | 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)
* Present default built-in wallpapers in WallPaperPicker.Matt Garnes2015-01-161-13/+23
| | | | | | | | If the given resource package name has been overriden by aapt, WallpaperPickerActivity can fail to find the built in default wallpapers. Retrieve these with the package name directly instead. Change-Id: I00fea3a46f13defe61056c5b9013a6f1b5457aec
* Rename carrier workspace files and config.Matt Garnes2015-01-165-6/+6
| | | | | | | - Rename Micromax config and workspace. - Rename Smartfren config and workspace. Change-Id: Ic13191f11c325715eb5d6e97899e9cbc900778bd
* Trebuchet: Customize features for regional packagekaiyiz2015-01-152-124/+208
| | | | | | | Modify micromax_default_workspace.xml and smartfren_default_workspace.xml for carrier spec workspace. Change-Id: Ifca4c99d73c2e3b7dddbb5ad86c974f19ef4b25c
* Trebuchet: Customize features for regional packagekaiyiz2015-01-156-0/+299
| | | | | | | | | - 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-154-3/+144
| | | | Change-Id: Idcfcabcba72ebdc96b22f7b50c0fdfbc2e7c922b
* Trebuchet: add default wallpaperhuiwan2015-01-144-0/+1
| | | | | | - Update the default qcom wallpaper Change-Id: Ie8dd73de8f23a8963ab9b4f97a4bdcfc657d864b
* Add default wallpaper to launcherhuiwan2015-01-131-0/+8
| | | | | | | - Add resource to wallpapers.xml to specify a default wallpaper in wallpaper picker. Change-Id: Ie8dd73de8f23a8963ab9b4f97a4bdcfc657d864b
* Update workspace grid after toggling settings.Danny Baumann2015-01-102-5/+13
| | | | Change-Id: I851023e47fe12e434357962ee5f5b55b761da4c7
* Trebuchet: Remove unused stringsMichael Bestas2015-01-091-65/+10
| | | | Change-Id: I7ad2ad27bca77aaae654c678acdc7447125a20da
* Shrink spacers in settings button panel.Danny Baumann2015-01-021-4/+4
| | | | | | | Previously there was not enough space for the button labels in some languages (e.g. German). Change-Id: I086908c0777e996ef37b0a3a4ea919f2d1c3f4cc
* Adding Large IconsRaj Yengisetty2014-12-301-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-235-8/+40
| | | | Change-Id: Ic90254f7758b9dbd4997a19474e455230355b772
* Update Gallery activity component name in default workspace xml filesRaj Yengisetty2014-12-183-3/+3
| | | | Change-Id: Ia4d422649c30356173d381d35e8db8b1815816af