* properly constrained image view and max lines of both label and package views
* use lifecycle scope inherent to fragments instead of creating new coroutine scopes
* fetch package list from pm every time refreshList is called
* early release locks when refreshing list
* properly annotate setDisplayCategory method
* keep AppListAdapter as a regular nested class instead of an inner class for reusability
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
* Allow pressing search on keyboard to start the search
* Only allow single line in textview
Change-Id: I8dd91c4a84f03c228174b80494251254185f96e1
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Made by faust93. Based on WakelockBlocker by maxwen
Included WakeLock: Layout Improvements (See image below) by Mazda--
- Moved switch to the right
- Replaced refresh/save icons to match stock lollipop theme
- Added padding to title/summary
- Removed drawables / add vector
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Included WakeLock: Layout Improvements (See image below)
- Moved switch to the right
- Replaced refresh/save icons to match stock lollipop theme
- Added padding to title/summary
- Removed drawables / add vector
- http://i.imgur.com/5HMpfQw.png
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
actually use OUR layout instead of the one in settings with happens to have the same name
Signed-off-by: xyyx <xyyx@mail.ru>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I21c6edbe6439982ae4b8756ba2c699f599f2094e
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Based on DUI
jhenrique09 edits: make it DUI independent
Original commit message:
Same robust action library as used on software navigation. Supports
single tap, double tap, and long press. As a precautionary measure,
single tap back and single tap home are fixed and can not be changed.
Camera button actions are not supported at this time. We will bring
in wake key support at a later time.
Also includes:
DUI: Initial checkin for Oreo [4/7]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Contains updates by Griffin Millender <griffinn.millender@gmail.com> and
the SlimROMs team
AICPfy:
- make it play better with themes
- bring it to Oreo
- Update SettingsActivity to forward extras from PreferenceScreen to the new fragment
(allows using DSLV from xml)
Change-Id: I7514cdfa3603ed6e24deeb251875a716a52a02b1
- Import MasterSwitchPreference from Settings(Lib)
- Add System setting variant + fix initial values
- Use icon_frame as ic in layout instead of icon_container to fix hiding
icon
- Allow launching fragments with the android:fragment extra same as
currently possible for PreferenceScreens
- Add possibility to reload value when it might have changed
(best to call onResume when the value can also be changed from the
sub preference screen)
@ZeNiXxX: Adapt to AndroidX
Original commit history for TwoTargetPreference from
frameworks/base/packages/SettingsLib:
commit 8a01abf592762c75bb92a9e1787227c44f1f4a8e
Author: Fan Zhang <zhfan@google.com>
Adjust icon width to match the width with framework
commit 035ff93430b71ef856f299c9f676f8d340403e16
Author: Fan Zhang <zhfan@google.com>
Move two target preference layout from settings to lib
Original commit history for MasterSwitchPreference.java:
commit e2ad415fdba79b27dfd2c98a2b01d56db9257c71
Author: Doris Ling <dling@google.com>
Add content description to the master switch toggle button.
commit c68ae0b9fdd5f5a149364d0af7e8a9497a91adfd
Author: Julia Reynolds <juliacr@google.com>
Channel settings updates
commit aa805e70ed0c7f4eaa66b6e6a0b79bf1b3b9d16d
Author: Doris Ling <dling@google.com>
Allow settings preference title to span over multiple lines.
commit fe292515d88e803057a5b6077f67ce284b595d7a
Author: Fan Zhang <zhfan@google.com>
Refactor the layout for MasterSwitch to a 2 target pref
commit 6467d2027e8fefd646af03c08d51d91386843463
Author: Doris Ling <dling@google.com>
Extends the touch area for the switch in Master Switch preference.
commit 762a733afa26b3d49edfae81536c9fcbe9384483
Author: Julia Reynolds <juliacr@google.com>
Allow switch preferences to span lines.
commit 56199e94876d4bbd89fb0272156702a321dd681e
Author: Fan Zhang <zhfan@google.com>
Misc fix on network & internet screen for developer preview
commit c4c9f4d50eec659eb50f8ed671c27d8c6ef0c924
Author: Doris Ling <dling@google.com>
Update Network & internet->Wi-Fi to use MasterSwitchPreference.
commit 1432cb852972daedd6c2fde78abb769b722fc47d
Author: Doris Ling <dling@google.com>
Add new preference class MasterSwitchPreference.
Original commit history for preference_widget_master_switch.xml:
commit fe292515d88e803057a5b6077f67ce284b595d7a
Author: Fan Zhang <zhfan@google.com>
Refactor the layout for MasterSwitch to a 2 target pref
commit 6467d2027e8fefd646af03c08d51d91386843463
Author: Doris Ling <dling@google.com>
Extends the touch area for the switch in Master Switch preference.
commit 14c2050330b36a00b708049a691d4e1c39700586
Merge: 249077a0cd 56199e9487
Author: TreeHugger Robot <treehugger-gerrit@google.com>
Merge "Misc fix on network & internet screen for developer preview"
commit 56199e94876d4bbd89fb0272156702a321dd681e
Author: Fan Zhang <zhfan@google.com>
Misc fix on network & internet screen for developer preview
commit 4f1eca05be15b9a30757434ce6c11abe5e6db381
Author: Doris Ling <dling@google.com>
Update the color for the master switch divider.
commit 1432cb852972daedd6c2fde78abb769b722fc47d
Author: Doris Ling <dling@google.com>
Add new preference class MasterSwitchPreference.
Change-Id: I7ee76f4626223ec3c66ae7d10ebb87c88c5a8175
Signed-off-by: spezi77 <spezi7713@gmx.net>
* Show RGB value instead of ARGB because most average users dont even know about alpha in hex color values
* Make edit text limited to 7 characters and one line
* Remove enter image button
Signed-off-by: 00day0 <therandomuser11@gmail.com>
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
- Fixed possible NPE with calling getWindow()
- Remove unnecessary panel of preset colors underneath the color picker
- Changed dialog to AlertDialog to match LED color picker
While this doesn't look EXACTLY like the LED color picker, this along with
the commit below bring it closer than ever before.
http://gerrit.dirtyunicorns.com/#/c/1199/
Change-Id: I13bc40d1882676d92e5c4ae4bfcf25865e88dad1
Signed-off-by: xyyx <xyyx@mail.ru>