summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/qsb
Commit message (Collapse)AuthorAgeFilesLines
* Make QSB_ON_FIRST_SCREEN a boolean.Jon Miranda2019-03-151-1/+1
| | | | | Bug: 118140522 Change-Id: Ic8e47e71f538b0b0caff6f630566665d05a65522
* Moving some utility methods aroundSunny Goyal2019-01-311-1/+21
| | | | Change-Id: I8abca49a0dbf656212b21e0552502036a1619164
* Adding support for launcher preview generationSunny Goyal2018-12-041-20/+22
| | | | | | | | Creating a utility class which generates a launcher preview for a provided InvariantDeviceProfile Bug: 118758696 Change-Id: I0aebeb6eed37f72edd1cc305e58eece305aae3ff
* Make flags UI available on release build of launcherRyan Lothian2018-10-151-1/+1
| | | | | | | The UI will only be shown on eng/userdebug platform builds. Bug: 117223984 Change-Id: I27843f2d856a4a19f3fe53c4d306606eaa5714a2
* Adding keyboard handling to QsbHostView similar to a normal appwidget viewSunny Goyal2018-10-151-2/+9
| | | | | Bug: 116842846 Change-Id: Ibab2dc1793561998f81710301d9ce0ca3d77e7b4
* Groundwork for runtime-toggleable feature flagsRyan Lothian2018-10-081-1/+1
| | | | | | | | | | This is the first step in adding a flag toggler UI to launcher. The change migrates a single flag (QSB_ON_FIRST_SCREEN) from a boolean constant to a boolean method. In future, that will allow us to return different values at runtime. Bug: 117223984 Change-Id: I1e62c91dd941b8145166021bc0aa157733e62ea0
* Preventing padding from getting reset when the widget updatesSunny Goyal2018-08-222-1/+5
| | | | | Bug: 112854572 Change-Id: Ia2963310997ca13f2e1f18f7268b0b9b54a53590
* Exposing some methods to make QSB customization easierSunny Goyal2018-06-182-81/+92
| | | | | Bug: 110336301 Change-Id: I74d73bfd4b345bae2ecab144b37f1af1126e4725
* Some launcher3 fixes so that it compiles with different configurationsSunny Goyal2018-05-301-3/+10
| | | | | Bug: 79996542 Change-Id: I4267aeb8f5b0714415970c63453049ff41466644
* Add click handler for qsb on boot to keep it responsiveNg Zhi An2018-05-141-0/+12
| | | | | | | | Bug: None Test: reboot device, qsb is responsive, and launches search, after widgets initialized, qsb remote view takes over click Change-Id: I30c01ce1ff3da63cc0324f822d21901eb6a49c2d
* Move orientation initialization to onCreate.Jon Miranda2017-09-201-2/+6
| | | | | Bug: 64916689 Change-Id: Iacc04dcc261fc049b83cb81792975414fb00b3cc
* Fix bug where widgets are inflated in the wrong orientation.Jon Miranda2017-09-192-3/+5
| | | | | | | | | | | | The bug is that in onResume, the context may tell us the wrong orientation. As a workaround, we store the orientation that the Launcher is created with, and we use that orientation to check whether we actually need to reinflate the widgets. Bug: 64916689 Change-Id: I5194debbd217a573d1f177c31d8c0abdf9da51b5
* Adding A feature flag to disable widgets and a corresponding buildSunny Goyal2017-07-211-3/+6
| | | | | | | target Launcher3Go without widgets support Bug: 62353159 Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
* Removing QsbBlockerViewSunny Goyal2017-06-061-93/+0
| | | | | | | | | > Removing workspace state change listener. State change happens with hardware layer, so children should not be calling invalidatge() during the animation > Moving QSB inside the QSB and removing a floating layout Bug: 37616877 Change-Id: I9af3522a05dafa5796586bb64f512d98688caf79
* Add checks for FeatureFlags.QSB_ON_FIRST_SCREENLouis Begin2017-03-081-1/+11
| | | | | | | | | | | | | When false, it correctly does not show the QSB but leaves a default style search bar which cannot be removed. Add checks to control default view visibility in device profile layout & re-layout, QSB container and in Workspace's onMeasure Bug: 35967694 Change-Id: I3d0f89e1022d838eeb95762fd1fb3f7257956c41
* Removing static Context access using LauncherAppStateSunny Goyal2017-01-111-1/+1
| | | | | | | | > This ensures that LauncherAppState is only accessed in the presence of a valid context Bug: 33032833 Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
* Alienating QSBSunny Goyal2016-10-183-0/+429
> Moving all QSB widget handling code in a separate package > QSB is handled on a separate host, independent of the main host. This allows us to safely reset either of the two hosts > Also removing the logic around closeSystemDialog: Launcher does not use any panels which need closing System sends an onActivityResult(RESULT_CANCELLED), we do not need special handling for waitingForResult > Fixing bug when auto-generated qsb widget id was not being saved Change-Id: I2d889b7b1c80b14785d14f35624142a4b78452de