summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/BubbleTextView.java
Commit message (Collapse)AuthorAgeFilesLines
* Port Remote Folder from 12.1 to 13.Tyson Miller2016-01-281-77/+29
| | | | Change-Id: If8cf9d5f054e8948ead702883b79f28db26c4d8b
* Ensure we don't go over the icon size limitationMartin Brabham2016-01-041-0/+6
| | | | | Change-Id: Id6209acc0c18b27d0a2826acdc1c7a83efb744ad Ticket-Id: CYNGNOS-1427
* Trebuchet: Don't resize BubbleTextView based on all apps prefcretin452015-12-221-10/+0
| | | | | | Issue-id: CYNGNOS-1427 Change-Id: I3bb5107fa24b85e5713d7f6403a332246609804b
* Trebuchet: Add app drawer settingscretin452015-12-031-2/+5
| | | | Change-Id: I040420608de64bedc6e9832268796cdf801f5c21
* Reimplement CM Settings Overview Panel in the new Launcher Part 1Yvonne Wong2015-11-301-5/+9
| | | | | | | | | - Adds vertical sliding panel and animations associated with opening and closing the panel - Adds the views for settings and animation for the drawer arrow - Enables hiding workspace icon labels, hiding drawer icon labels, scrolling wallpaper, and larger icons - Changes how ragged grid custom icon sizes gets defined Change-Id: I1a82215a09486b4770494e665e598efdbabd1d3e
* Reimplement the CM scrubber against the new Launchercretin452015-11-231-1/+31
| | | | | | PS4: Implement RTL support Change-Id: I4456d54b5924913d1b36e1cfa9a2269150f6fb3e
* Version code cleanupSunny Goyal2015-08-171-1/+1
| | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-041-0/+9
| | | | | | | | | > Sometimes a folder gets rearranged, without updating the model, like when an app in uninstalled. In that case, we need to update the icons for folder items, which were previously hidden Bug: 22813360 Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
* Refactoring fast scroller.Winson Chung2015-06-231-1/+82
| | | | | | | | | | | | | - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
* Merge "Ensuring that we use the screen width more optimally in AllApps." ↵Winson Chung2015-06-051-1/+0
|\ | | | | | | into ub-launcher3-burnaby
| * Ensuring that we use the screen width more optimally in AllApps.Winson Chung2015-06-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | - Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
* | Ensure that we use the system long press duration when dragging from AllApps.Winson Chung2015-06-051-0/+6
|/ | | | | | | - Removing some old code out of LauncherAppState Bug: 21559400 Change-Id: I3c586094efb7ad8a17d2169bc8aaccf6b0df40a2
* Fixing different bitmap sizes in different orientationsSunny Goyal2015-06-031-5/+6
| | | | | | | | | > Using a single bitmap icon size > Picking up appropriate density for satisfy the required icon size > Fixing some icon size assumptions during icon animations Bug: 19514688 Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
* Merge "Stylus support: creating and setting listeners for stylus button ↵Mady Mellor2015-06-031-1/+12
|\ | | | | | | press" into ub-launcher3-burnaby
| * Stylus support: creating and setting listeners for stylus button pressMady Mellor2015-06-021-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates almost(*) all locations that use a long press listener to also set a custom touch listener that recognizes the stylus button press action. The stylus button press action is: when a stylus touches a view while the primary stylus button is pressed which may occur on a DOWN or MOVE event. *The location this is *not* enabled for is: Longpress to enter "overview" mode -- this isn't really a selection or drag n drop action; it is also easy to accidentally do this while using the stylus gesture to drag n drop items which is not an ideal interaction. Also not set for the "cling" that demonstrates this. Bug: 20430722 Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
* | Adding context for app launches.Winson Chung2015-06-021-2/+0
|/ | | | | Bug: 21492784 Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
* Refactoring DeviceProfileAdam Cohen2015-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
* Load PackageItemInfo in background thread to prevent ANRHyunyoung Song2015-05-211-1/+1
| | | | | | | | | | | - Decoupled widget model from widget view, and placed the creation to LauncherModel. - As a result packagemanager operation, iconcache retrieval is all done inside LauncherModel on background thread b/21311085 b/21325319 Change-Id: I294698527db58b89f3da558090a367530c058776
* Merge "Adding drop shadow effect in allapps" into ub-launcher3-burnabySunny Goyal2015-05-191-3/+12
|\
| * Adding drop shadow effect in allappsSunny Goyal2015-05-151-3/+12
| | | | | | | | Change-Id: Ic7a9b6e23d925d27a8dcbd418d2609e43917ac45
* | Preventing relayout when loading high-res iconsSunny Goyal2015-05-151-0/+11
|/ | | | | Bug: 21133230 Change-Id: I1ec4dbfd28c42fa1c0e28b3fa746c0bc5dfaba7c
* Optimizing shadow generation by reusing bitmap.Sunny Goyal2015-05-151-1/+1
| | | | | | | | > Not creating unnecessary bitmaps > Final bitmap is generated as ALPHA_8 instead of ARGB_8888 > The shadow drawing is done directly in the view Change-Id: I504fa2ea3abdc1a3c3fb9ad57d6e28880d2584a1
* Various lint error fixes.Sunny Goyal2015-05-141-2/+9
| | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* Using BubbleTextView for widget section headersSunny Goyal2015-05-121-6/+23
| | | | | | > Loading highres icons on the worker thread. Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca
* Fixing issue with font size.Winson Chung2015-05-121-2/+2
| | | | Change-Id: I3f32840333f96ce49dfb915da3f335de0c0b022e
* Various icon size changesSunny Goyal2015-05-111-29/+24
| | | | | | | 1) Setting different icon and text size for workspace and all apps 2) Setting padding during BubbleTextView inflation Change-Id: I59da6986b0d98e8e2aa6065743bb799a6bf06a37
* Small refactoring to apps list.Winson Chung2015-04-061-5/+0
| | | | | - Fixes issue with fading in app icons when items are added/removed - Reduces number of expensive calls when drawing sections and the scrollbar - Removes fake section AppInfos in the adapters
* Lazy loading high res iconsSunny Goyal2015-03-171-0/+45
| | | | | | | > Loading low-res icons for icons which are not visible on the homescreen. Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
* Minor changes to apps view.Winson Chung2015-03-131-1/+2
| | | | | | | | - Ensuring that apps with numbers and in other locals have a section header. - Adding an empty state when there are no apps with the current filter - Removing unnecessary call to check AppInfos Change-Id: I9dc541c680475b98745fa257ad7e4af06e3966c9
* Adding app grid layout with fastscroller.Winson Chung2015-03-121-1/+8
| | | | | | - Adding filtering and using alphabetic index for app grouping. Change-Id: I745b644fa8f90f5ff24a8642ac377ef1c65d8aff
* Initial changes to break out AllApps into its own view.Winson Chung2015-03-101-38/+63
| | | | | | | | - Moves launcher state-transition code into its own class - Moves all-apps related code into a separate view/set of classes - Implements a basic list view for all apps Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46
* Adding accessibility controlsSunny Goyal2015-01-161-18/+18
| | | | | | | | | | | > Adding 'Remove' option to workspace items > Adding 'Add to workspace' to all apps and widget list items, which adds the item to the first available space, giving preference to the current workspace screen > Adding 'App info' and 'Uninstall' options to appropriate items Bug: 18482913 Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937
* Keeping icons in disabled state when SD-card is unmountedSunny Goyal2014-10-081-1/+1
| | | | | | | | | | > changing shortcutInfo.isDisabled to be a flag based variable > on received OnPackageUnavailable, icons are disabled from desktop instead of being removed. Icons in all apps are removed Bug: 15852084 Bug: 16238283 Change-Id: I126d23c709682a917d4bbb84de71032593dce8f9
* Source change to get code compiling on google3Sameer Padala2014-09-221-1/+1
| | | | Change-Id: Ib16df8dd9caa04903a664d8cf92767107fe57628
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-35/+14
| | | | | | | | | > The ShortcutInfo stores state as bit flags and not as ints > Intents of auto-install shortcut are automatically updated upon installation > Icons/titles for active sessions are cached in IconCache Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
* Clear the promise flag once the restore animation is runSunny Goyal2014-08-271-2/+4
| | | | | | | | and no more restore related tasks are pending issue: 17214102 Change-Id: I54c486ff001d74b4961f85947f41848cf92243a3
* Updating the icon click feedbackSunny Goyal2014-08-191-138/+72
| | | | | | | | | > Using BubbleTextView everywhere, removed PagedIconView > There is a brightness feedback on touch and shadow feedback on click, until app launches issue: 16878374 Change-Id: I3dc1149a123c8a75feca6210948398bf2187f1f2
* Updating the virtual preloader UX.Sunny Goyal2014-08-111-6/+30
| | | | | | | | | | | | > No click feedback when in preloader mode > No preloader UI when drawn in drag layer > The preloader consists of a background 9 patch image and a circular progress is drawn in the content region of the background. > The preloader is drawn in a slightly larget area than the actual bounds to make the circular progress more prominent compared to the icon. issue: 15835307 Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6
* Implementing a package install progress listener for LSunny Goyal2014-08-011-55/+38
| | | | | | issue: 15835307 Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
* Merging Motorola's patch to disable apps when is safe mode.Sunny Goyal2014-07-181-10/+12
| | | | | | issue: 16044192 Change-Id: I10069dcdf459ecc71361271e883eabb743d77822
* Adding a circular progress bar for preloader iconsSunny Goyal2014-07-161-7/+21
| | | | Change-Id: I1b5ba61c01a16a8cb5d3f9e31f827f8c99a1ffc9
* Fixing background being drawn multiple times for BubbleTextViewSunny Goyal2014-07-081-3/+9
| | | | | | issue 16160873 Change-Id: Ic04d54dd6541e352bf543d8acb2452ea6e0567da
* Enabling quantum look and feel everywhereAdam Cohen2014-07-071-18/+22
| | | | | | | | -> _l assets become default, new folder icon look is default -> Starting to unify folder look / feel with all apps -> New page indicators Change-Id: I50b2c647fbcbe6ed27705527d8e16bd89e123d0b
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-0/+3
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Offer to delete broken promise icons.Chris Wren2014-06-271-15/+19
| | | | | | | | | Track state of promise in the info, not the view. Fix bugs around moving promises to folders. Fix bugs around filterign and removing promises. Bug: 12764789 Change-Id: If5e8b6d315e463154b5bafe8aef7ef4f9889bb95
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-241-3/+0
| | | | | | | | | | This reverts commits 01453e855fa87ee19f61223b2b1a6965071ee95a. and 242bbe1b72e4978dde8a662d164cd186305e14a7. "Add content description to bagded icons." "Remove reflection now we are building against L" Bug: 15833449 Change-Id: I81a5316f5619a9cd3b6ab9fd03b2ba96657b7f68
* Add content description to bagded icons.Kenny Guy2014-06-231-0/+3
| | | | | | | | | Enabled accesibility so that icons badged by the managed profile have a content description that is different to the non-bagdged version. Bug: 15106236 Change-Id: Id483273173d9539916eebd59111d179087526be3
* Fix long press after already moving off iconJason Monk2014-04-221-0/+9
| | | | | | | | | | | | | When an icon is in the Hotseat and a user drags off from the icon, but continues holding down, the icon gets a long press triggered by the CheckLongPressHelper. To fix this a check has been added on move events to see if the point has moved outside the view and to cancel the long press check callback if it has. Bug: 13569451 Change-Id: Id175cdc220d70b5e9f8e492ed5a3cc7c3f11db10
* update promise icon statusChris Wren2014-03-111-2/+63
| | | | | | | also fix a crash in LauncherModel.DEBUG_LOADERS Bug: 10778992 Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
* Clean up importsMichael Jurka2013-12-131-1/+0
|