summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Updating folder UI when icons are normalized > Increasing padding ↵Sunny Goyal2016-02-031-1/+4
|\ | | | | | | > Making the folder label bold and lighter color" into ub-launcher3-burnaby-polish
| * Updating folder UI when icons are normalizedSunny Goyal2016-01-291-1/+4
| | | | | | | | | | | | | | > Increasing padding > Making the folder label bold and lighter color Change-Id: Ib86d711c27cd03f366cdd35222d1f63f4a542f06
* | Merge "Fixing Search drop target bar stays visible, until the first time an ↵Sunny Goyal2016-02-011-0/+2
|\ \ | | | | | | | | | item is picked up" into ub-launcher3-burnaby-polish
| * | Fixing Search drop target bar stays visible, until the first timeSunny Goyal2016-01-291-0/+2
| |/ | | | | | | | | | | an item is picked up Change-Id: I48ac697147ffe7a1f8802ed00de4fa4006a1878e
* | Merge "Add extra space for the search bar." into ub-launcher3-burnaby-polishTony Wickham2016-02-011-3/+14
|\ \
| * | Add extra space for the search bar.Tony Wickham2016-02-011-3/+14
| |/ | | | | | | | | | | Also fixed a broken test. Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c
* / Adding a method to throttle backup manager callsSunny Goyal2016-01-293-5/+31
|/ | | | | | | Notifying backup manager when a boolean preference changes Bug: 22885775 Change-Id: I105013af1841f6cd87472f558fa490670ed1ba24
* Merge "Removing unnecessary new object creation in dispatchDraw" into ↵Sunny Goyal2016-01-281-25/+13
|\ | | | | | | ub-launcher3-burnaby-polish
| * Removing unnecessary new object creation in dispatchDrawSunny Goyal2016-01-231-25/+13
| | | | | | | | | | | | | | dispatchDraw was calling getVisiblePages which in turn calls getDescendantCoordRelativeToParent and created multiple new abjects Change-Id: I401fec076183979d30dfdbbdc02a57bd79f3886d
* | Preventing a Runtime widget crash from crashing the LauncherSunny Goyal2016-01-251-0/+15
|/ | | | | Bug: 26750103 Change-Id: I31f120bb0c4d64b903b3dd5dae0ae46f95bcdf59
* Merge "Removing some obsolete files" into ub-launcher3-burnaby-polishSunny Goyal2016-01-192-36/+2
|\
| * Removing some obsolete filesSunny Goyal2016-01-192-36/+2
| | | | | | | | Change-Id: I45cc23afcecb67163da99a9b81ace0021f723c9b
* | Removign 'final' modifiers from FeatureFlags so that then can be overriddenSunny Goyal2016-01-191-5/+5
|/ | | | Change-Id: I07265eaeed883301787eb0ffd838f516d7c63d26
* Merge "Disabling icon normalization" into ub-launcher3-burnaby-polishSunny Goyal2016-01-131-1/+1
|\
| * Disabling icon normalizationSunny Goyal2016-01-131-1/+1
| | | | | | | | | | Bug: 26537769 Change-Id: Ia1d7127a7c01fe98127e34440d1c003b669eaf75
* | Merge "Fixing icon badging being done on scaled bitmap size" into ↵Sunny Goyal2016-01-121-1/+23
|\ \ | |/ |/| | | ub-launcher3-burnaby-polish
| * Fixing icon badging being done on scaled bitmap sizeSunny Goyal2016-01-081-1/+23
| | | | | | | | | | | | | | | | Launcher already scales the bitmap during the icon creaiton. The badging should be done based on the actual size Bug: 26345646 Change-Id: I1b1f7ac736322ba10db9083d602eec221b99687a
* | Fixing custom content screen not aligned properly in landscapeSunny Goyal2016-01-122-3/+5
|/ | | | | Bug: 26413100 Change-Id: I1a111c9d2b0dfdfbc3cbd566e5784a1ed2bb6719
* Accessibility delegate is already set in BubbleTextView constructor. Not ↵Sunny Goyal2016-01-071-4/+0
| | | | | | | need to set it again Bug: 25948877 Change-Id: I1d301a6169404a78881fa29da6d6bdf2fec8f146
* Fixing syntax errorSunny Goyal2016-01-061-2/+2
| | | | Change-Id: I8fbcd34d891b1d020436e9aa430fd26372910a63
* Merge "Adding support for negative x and y in layout xml. Fixing default ↵Sunny Goyal2016-01-064-17/+32
|\ | | | | | | configurations for some screen sizes." into ub-launcher3-burnaby-polish
| * Adding support for negative x and y in layout xml.Sunny Goyal2015-12-184-17/+32
| | | | | | | | | | | | | | | | | | | | | | Fixing default configurations for some screen sizes. > Negative values for x and y are parsed as distance from end column and row respectively. e.g. (-1, -2) => (3, 2) in a 4x4 grid Bug: 26110981 Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
* | Adding a .nano prefix in the proto package nameSunny Goyal2016-01-062-10/+10
|/ | | | Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf
* Merge "Using SharedPrefenrece.apply instead of commit to prevent disk IO on ↵Sunny Goyal2015-12-185-12/+11
|\ | | | | | | main thread" into ub-launcher3-burnaby-polish
| * Using SharedPrefenrece.apply instead of commit to prevent disk IO on main threadSunny Goyal2015-12-175-12/+11
| | | | | | | | | | Bug: 25903149 Change-Id: Ib1ee3fd27cca14f147f704aec768a330c4f03b33
* | Merge "Preventing launcher crashes due to low disk space." into ↵Sunny Goyal2015-12-183-129/+218
|\ \ | | | | | | | | | ub-launcher3-burnaby-polish
| * | Preventing launcher crashes due to low disk space.Sunny Goyal2015-12-183-129/+218
| |/ | | | | | | | | | | | | | | | | | | In case of low disk space, all write operations to the IconCache are silently ignored. This will not affect the Launcher behavior and user will still see the latest icons, but in some cases, icon loading would appear slow Bug: 24585352 Change-Id: I85ccc519046fc3708403388bba89e019a3f2ce3d
* | Fix item count check in Folder#replaceFolderWithFinalItem()Tony Wickham2015-12-181-2/+1
| | | | | | | | | | | | | | | | | | Instead of checking the item count (number of views), check the number of items in the model, since that is where the item is being removed. This way, mInfo.contents.remove(0) will never be out of bounds. Bug: 25666490 Change-Id: I0eb880b366157bddb5a8c342d538737722b7f0cd
* | Fixing some invalid checks and cleaning some redundant conditionsSunny Goyal2015-12-188-36/+25
|/ | | | Change-Id: I770ce2cc2eccbee105958634e81bbc9bc2e4cc48
* Protecting Icon normalization behind a feature flagSunny Goyal2015-12-173-2/+8
| | | | Change-Id: I91b7126765049372a3ffec3ad6f661715dc83bab
* Reverting the cache version change, so that users on release version do not ↵Sunny Goyal2015-12-151-1/+1
| | | | | | get the cache reset Change-Id: I61b06ca001e6ae47693e8d6f467565314d66f1b4
* Restarting launcher when on font scale changeSunny Goyal2015-12-113-1/+58
| | | | | | | | | Chaning the font scale affects the static device profile and may affect various background threads and static constants. Killing the process ensures that these states get invalidated properly. Bug: 26131935 Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb
* Merge "Fixing All apps not respecting scaled icon size" into ↵Sunny Goyal2015-12-112-4/+4
|\ | | | | | | ub-launcher3-burnaby-polish
| * Fixing All apps not respecting scaled icon sizeSunny Goyal2015-12-102-4/+4
| | | | | | | | Change-Id: I3d05c713939fd69d04f5896cdc5db91480b0d4d1
* | Merge "Clearing DB instead of deleting the DB file." into ↵Sunny Goyal2015-12-111-8/+1
|\ \ | |/ |/| | | ub-launcher3-burnaby-polish
| * Clearing DB instead of deleting the DB file.Sunny Goyal2015-11-301-8/+1
| | | | | | | | | | | | | | > Deleting a file/reinitializing the openHelper variable is not thread safe and can cause the sqlite instance ot go in an invalid state Change-Id: I54d992c7e3daee82e6dad38d6bfbfcbf8ede506c
* | Merge "Verifying the install shortcut intent before casting the extras to ↵Sunny Goyal2015-12-081-12/+28
|\ \ | | | | | | | | | various object types" into ub-launcher3-burnaby-polish
| * | Verifying the install shortcut intent before casting the extras to various ↵Sunny Goyal2015-12-071-12/+28
| | | | | | | | | | | | | | | | | | | | | object types Bug: 26043109 Change-Id: I95f127d62a6a508a850e11d6728afc7509fb07d1
* | | Recreating QSB when the widget host gets resetSunny Goyal2015-12-081-0/+3
| | | | | | | | | | | | | | | Bug: 25073414 Change-Id: Ibdaa2b330ef7989cb7c93d64a05c8f6e5b26594a
* | | Merge "Adding FeatureFlags.java file to aggregate various feature ↵Sunny Goyal2015-12-081-0/+36
|\ \ \ | | | | | | | | | | | | definitions" into ub-launcher3-burnaby-polish
| * | | Adding FeatureFlags.java file to aggregate various feature definitionsSunny Goyal2015-12-071-0/+36
| |/ / | | | | | | | | | Change-Id: I52d04ab979329d1afd42fd74ec0a533dd819fd23
* | | Merge "Add appropriate (tiny) offset to widget drops so they land ↵Tony Wickham2015-12-046-29/+27
|\ \ \ | |/ / |/| | | | | correctly." into ub-launcher3-burnaby-polish
| * | Add appropriate (tiny) offset to widget drops so they land correctly.Tony Wickham2015-12-036-29/+27
| | | | | | | | | | | | | | | | | | | | | Also removed some unused parameters I found on the way. Bug: 25191623 Change-Id: Ib9a30db106467c114cc8b54a5b13ed3e88162d56
* | | Merge "Normalizing app icons based on the standard icon guidelines" into ↵Sunny Goyal2015-12-044-8/+261
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby-polish
| * | | Normalizing app icons based on the standard icon guidelinesSunny Goyal2015-12-024-8/+261
| |/ / | | | | | | | | | | | | Bug: 18245189 Change-Id: Iaadcddbe3f966733a13b2e1fb60ba09a8b3aef9a
* | | Merge "Cleanup keyboard code." into ub-launcher3-burnaby-polishTony Wickham2015-12-042-53/+50
|\ \ \
| * | | Cleanup keyboard code.Tony Wickham2015-12-042-53/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be the last keyboard CL. - Fix bug: couldn't focus All Apps button in some cases when the All Apps column was skipped over. Also added test case for this. - Stop explicitly passing countX and countY to handleKeyEvent, as these had to match the matrix dimensions anyways. - Rename createSparseMatrix() - there were 3 methods of the same name, but all had different purposes. This is confusing both from a readability standpoint and also when looking at stack traces. Change-Id: I08ba8411674fcea43a608856c114dee8dbd22398
* | | | Hide the focus indicator view when going to a fullscreen page.Tony Wickham2015-12-032-0/+21
|/ / / | | | | | | | | | | | | Bug: 25649853 Change-Id: I9f2f221020548b48d816924a1803a1a70d11c412
* | | Fullscreen pages (e.g. Now) are focusable via keyboard.Tony Wickham2015-12-032-1/+45
| | | | | | | | | | | | Change-Id: I962551651aeb9ac7b57bb51b195adc3140db30d8
* | | Make sure pages are always accessible via left/right arrow keys.Tony Wickham2015-12-032-22/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Handle NextPageFirstItem as first focusable item in reading order - Handle PreviousPageLastItem as last focusable item in reading order - Check the hotseat after the workspace in both cases above - Dpad horizontal navigation (left/right) uses these as a last resort (Rule3) to guarantee an item takes focus if a page exists Note that it is necessary to search for a focusable item because widgets are not yet focusable. Bug: 25591057 Change-Id: I953648bd76c657d660a38427fdd4108bf9963c23