Home
last modified time | relevance | path

Searched refs:QCSlider (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/
DQCSlider.java28 public class QCSlider extends QCItem { class
35 public QCSlider(int min, int max, int value, boolean enabled, boolean clickableWhileDisabled, in QCSlider() method in QCSlider
45 public QCSlider(@NonNull Parcel in) { in QCSlider() method in QCSlider
100 public static Creator<QCSlider> CREATOR = new Creator<QCSlider>() {
102 public QCSlider createFromParcel(Parcel source) {
103 return new QCSlider(source);
107 public QCSlider[] newArray(int size) {
108 return new QCSlider[size];
184 public QCSlider build() { in build()
185 return new QCSlider(mMin, mMax, mValue, mIsEnabled, mIsClickableWhileDisabled, in build()
DQCRow.java47 private final QCSlider mSlider;
57 boolean isIconTintable, @Nullable QCSlider slider, in QCRow()
88 mSlider = QCSlider.CREATOR.createFromParcel(in); in QCRow()
196 public QCSlider getSlider() { in getSlider()
236 private QCSlider mSlider;
308 public Builder addSlider(@Nullable QCSlider slider) { in addSlider()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/
DQCSliderTest.java31 public class QCSliderTest extends QCItemTestCase<QCSlider> {
38 QCSlider slider = createSlider(/* action= */ null, /* disabledAction= */ null); in onCreate_hasCorrectType()
44 QCSlider slider = createSlider(/* action= */ null, /* disabledAction= */ null); in onBundle_nullActions_noCrash()
51 QCSlider slider = createSlider(mDefaultAction, mDefaultDisabledAction); in createFromParcel_accurateData()
52 QCSlider newSlider = writeAndLoadFromBundle(slider); in createFromParcel_accurateData()
61 private QCSlider createSlider(PendingIntent action, PendingIntent disabledAction) { in createSlider()
62 return new QCSlider.Builder() in createSlider()
DQCRowTest.java91 QCSlider slider = new QCSlider.Builder().build(); in createFromParcel_accurateData_slider()
106 List<QCActionItem> startItems, List<QCActionItem> endItems, List<QCSlider> sliders) { in createRow()
119 for (QCSlider slider : sliders) { in createRow()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DBrightnessSliderTestCase.java35 import com.android.car.qc.QCSlider;
65 QCSlider slider = row.getSlider(); in getQCItem_createsSlider()
76 QCSlider slider = row.getSlider(); in getQCItem_hasBaseUmRestriction_sliderDisabled()
85 QCSlider slider = row.getSlider(); in getQCItem_hasUmRestriction_sliderClickableWhileDisabled()
DVolumeSliderTestCase.java34 import com.android.car.qc.QCSlider;
89 QCSlider slider = row.getSlider(); in verifySliderCreated()
106 QCSlider slider = row.getSlider(); in verifyBaseUmRestriction()
113 QCSlider slider = row.getSlider(); in verifyUmRestriction()
DBrightnessSliderTest.java26 import com.android.car.qc.QCSlider;
45 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneWrite()
57 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneRead()
DCallVolumeSliderTest.java29 import com.android.car.qc.QCSlider;
65 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneWrite()
74 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneRead()
DNavigationVolumeSliderTest.java29 import com.android.car.qc.QCSlider;
87 QCSlider slider = row.getSlider(); in getQCItem_createsVolumeSlider_zoneWrite()
100 QCSlider slider = row.getSlider(); in getQCItem_createsVolumeSlider_zoneRead()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/view/
DQCRowViewTest.java49 import com.android.car.qc.QCSlider;
155 .addSlider(new QCSlider.Builder().build()) in setRow_hasSlider_sliderViewVisible()
205 .addSlider(new QCSlider.Builder().setInputAction(action).build()) in onSliderChange_firesAction()
242 .addSlider(new QCSlider.Builder().setInputAction(action).build()) in setRow_sliderViewThumbTintList()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCRowView.java55 import com.android.car.qc.QCSlider;
80 private QCSlider mQCSlider;
273 QCSlider slider = row.getSlider(); in setRow()
431 private void initSlider(QCSlider slider) { in initSlider()
505 private QCSlider mSlider;
518 void setSlider(QCSlider slider) { in setSlider()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBrightnessSlider.java42 import com.android.car.qc.QCSlider;
129 .addSlider(new QCSlider.Builder() in getBrightnessRowBuilder()
DBaseVolumeSlider.java41 import com.android.car.qc.QCSlider;
111 .addSlider(new QCSlider.Builder() in getQCItem()