summaryrefslogtreecommitdiff
path: root/car-qc-lib
AgeCommit message (Collapse)Author
2022-03-29Merge 'Adjust Button Toggle UI component according to UX reference spec' ↵t_frc_tz4_330443010t_frc_swc_330443040t_frc_swc_330443010t_frc_sta_330443010t_frc_sch_330443040t_frc_sch_330443010t_frc_res_330443000t_frc_per_330444010t_frc_odp_330442040t_frc_odp_330442000t_frc_neu_330443030t_frc_neu_330443000t_frc_net_330443000t_frc_med_330443030t_frc_ips_330443010t_frc_ext_330443000t_frc_doc_330543000t_frc_doc_330443060t_frc_doc_330443000t_frc_con_330443020t_frc_cbr_330443000t_frc_ase_330444010t_frc_art_330443060t_frc_adb_330444000android13-frc-scheduling-releaseandroid13-frc-resolv-releaseandroid13-frc-permission-releaseandroid13-frc-os-statsd-releaseandroid13-frc-odp-releaseandroid13-frc-neuralnetworks-releaseandroid13-frc-networking-releaseandroid13-frc-media-swcodec-releaseandroid13-frc-media-releaseandroid13-frc-ipsec-releaseandroid13-frc-extservices-releaseandroid13-frc-documentsui-releaseandroid13-frc-conscrypt-releaseandroid13-frc-cellbroadcast-releaseandroid13-frc-art-releaseandroid13-frc-adbd-releaseandroid13-devMac Young
into tm-dev Bug: 226962008 Test: Manual Change-Id: I2bfea36f4299cde9746adb07b11a03ddd4406582 merging from https://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/Car/libs/+/16765506
2022-02-11Add additional unavailable toggle drawable stateAlex Stetson
Bug: 216643999 Test: manual Change-Id: I4143f75ad69b9e6a462363633458d95fc1656cd0
2022-01-13Add bind method to QCControllersAlex Stetson
In certain cases, we may want to retrieve a quick controls item without subscribing to updates (such as when pre-loading an element). The bind() method will allow observers to achieve this. Bug: 202201510 Test: atest CarQCLibUnitTests Change-Id: I5bb1f3cbf1be196d2caa916003052edc4d628875
2022-01-10Fixed QC SeekBar clickable while disabled behaviorAlex Stetson
Because SeekBars don't respect drawable states for it's disabled appearance, it needs to actually be disabled to appear correctly. Because of this (and the fact that the AbsSeekBar parent class overrides the View.java allowClickWhileDisabled behavior), it needs to be extended to special case the clickable while disabled state when touched. Bug: 205891123 Bug: 207175350 Test: manual, atest CarQCLibUnitTests Change-Id: I3467334b0c3865dfd8872b6f1723da2eedca5316
2021-12-02Add clickable while disabled functionalityAlex Stetson
Adding clickable while disabled functionality to the relevant QC elements. Bug: 205891123 Test: atest CarQCLibUnitTests Change-Id: I9ff1dc89179f26244b40799c71f7bddc601e3070
2021-11-18Remove switch frame to allow for correct focus highlight behaviorRam Parameswaran
Bug: 204574963 Test: CarQCLibUnitTests Test: Manually inspect focus highlight on QC toggle Change-Id: Ied8db5fa17a30a7858c9f6103a153f1628922c48
2021-11-05Merge "Unset switch change listener before updating" into sc-v2-devAlex Stetson
2021-11-04Unset switch change listener before updatingAlex Stetson
There's currently a edge case where with certain action listeners, the updating of the action switch checked state can trigger an infinite loop (where the switch update triggeres the action which triggers a switch update...). Unsetting the checked change listener prior to updating the checked state will prevent this from occurring. Bug: 204383857 Test: manual Change-Id: I7c9f0810b66e7f373c48ae68b05c6b114c52f12c
2021-11-03Fix bluetooth device shift on pairingAlex Stetson
Bug: 204511435 Bug: 196424229 Test: manual Change-Id: I2920b66416bc997a236eb298822e12a6c1c22308
2021-10-18Update quick control row spacingAlex Stetson
Bug: 201812059 Bug: 201812065 Bug: 196424229 Test: manual Change-Id: I1fefe4e14583bcc03689cc40fc11883ad98fc0fe
2021-10-11Use the SeekBar thumb from the default themeMarcell Kovacs
The device theme for the SeekBar style was updated. The new style supports the selected state (used by Rotary controls). Remove any customizations for the SeekBar thumb. Screenshots: Normal state: http://screen/8QZZpoWTUY8JLGg Selected by rotary: http://screen/53kNsmuNeGkaDuT Selected by rotary (min pos): http://screen/38VPBvKpj25FGFA Test: local build Bug: 200838541 Change-Id: I790acbcefb777ef994bebc80eea7b66883a661dd
2021-10-07Align qc row text based on localeAlex Stetson
Bug: 202317181 Bug: 196424229 Test: manual Change-Id: If87c81d185af129869bce39667d32487a586d06c
2021-10-05Merge "Improve QC Provider Destroy/Cleanup" into sc-v2-devAlex Stetson
2021-09-29Improve QC Provider Destroy/CleanupAlex Stetson
Bug: 201547270 Bug: 196424229 Test: atest CarQCLibUnitTests Change-Id: Ibab664af94101f80c735f6a978e7e03c9b7f45d3
2021-09-28Improve quick controls slider rotary supportAlex Stetson
Previously, the rotary highlight would stay static on the slider wrapper regardless of direct manipulation mode. Now, the thumb will obtain the highlight when switched into direct manipulation. Bug: 200989475 Bug: 196424229 Test: manual Change-Id: I82a8892d45e5063e438ce4f5883f0b073db8a0dd
2021-09-24Allow providing apps to prevent icon tintingAlex Stetson
By default, row icons will be tinted to the standard QC icon color. However, for the certain cases this may not be desired, there is now a configuration option to prevent this. Bug: 194936650 Bug: 194116816 Bug: 196424229 Test: manual Change-Id: Ida17f096afaddda8cfef0ed89ca41acd427d9043 Merged-In: Ida17f096afaddda8cfef0ed89ca41acd427d9043
2021-09-24Add default tint to start iconAlex Stetson
Bug: 194397611 Bug: 194116816 Bug: 196424229 Test: manual Change-Id: I33e2fe8bd63798ba1c84675fa7fb1f1bbc2ea58e Merged-In: I33e2fe8bd63798ba1c84675fa7fb1f1bbc2ea58e
2021-09-24Updating QC togglesAlex Stetson
Updating toggle dimensions to match new UX specs. Adding an additional configuration field for toggles to distinguish between enabled and available states (to prevent additional flickering while toggling). Bug: 194397611 Bug: 194116816 Bug: 196424229 Test: manual Change-Id: Ie2b2704aff26bea1999b88d20d774a1ded226043 Merged-In: Ie2b2704aff26bea1999b88d20d774a1ded226043
2021-09-24Add initial quick control controllersAlex Stetson
Bug: 193149592 Bug: 194116816 Bug: 196424229 Test: atest CarQCLibUnitTests Change-Id: Iefd6aefa627d779e8a418ac1d905552f360e62cc Merged-In: Iefd6aefa627d779e8a418ac1d905552f360e62cc
2021-09-24Define initial quick control viewsAlex Stetson
Bug: 192381024 Bug: 194116816 Bug: 196424229 Test: atest CarQCLibUnitTests Change-Id: I9cc419dccfe50fad31017218ed867031b68d7a3d Merged-In: I9cc419dccfe50fad31017218ed867031b68d7a3d
2021-09-24Improve method annotationsAlex Stetson
Follow-up to initial CL to improve annotation coverage for initial qc library. Bug: 192381140 Bug: 194116816 Bug: 196424229 Test: N/a Change-Id: I80cc43c2f6ef2dfa41b181432a60f9ac79186466 Merged-In: I80cc43c2f6ef2dfa41b181432a60f9ac79186466
2021-09-24Initial QC provider implementationAlex Stetson
Bug: 192378994 Bug: 194116816 Bug: 196424229 Test: atest CarQCLibUnitTests Change-Id: I0456e4e0bce89b5774b25a6e70781c1574dae39a Merged-In: I0456e4e0bce89b5774b25a6e70781c1574dae39a
2021-09-24Initial Quick Controls libAlex Stetson
Initial library for quick controls along with initial element builders. Bug: 192381140 Bug: 194116816 Bug: 196424229 Test: atest CarQCLibUnitTests Change-Id: I202d033998d8a689da8c698cb1cda0e0dee81618 Merged-In: I202d033998d8a689da8c698cb1cda0e0dee81618