Home
last modified time | relevance | path

Searched refs:slider (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DVolumeSliderTestCase.java89 QCSlider slider = row.getSlider(); in verifySliderCreated() local
90 assertThat(slider).isNotNull(); in verifySliderCreated()
91 assertThat(slider.getMin()).isEqualTo(TEST_MIN_VOLUME); in verifySliderCreated()
92 assertThat(slider.getMax()).isEqualTo(TEST_MAX_VOLUME); in verifySliderCreated()
93 assertThat(slider.getValue()).isEqualTo(TEST_VOLUME); in verifySliderCreated()
96 protected void verifyVolumeChanged(BaseVolumeSlider slider, int groupId) { in verifyVolumeChanged() argument
100 slider.onNotifyChange(intent); in verifyVolumeChanged()
106 QCSlider slider = row.getSlider(); in verifyBaseUmRestriction() local
107 assertThat(slider).isNotNull(); in verifyBaseUmRestriction()
108 assertThat(slider.isEnabled()).isFalse(); in verifyBaseUmRestriction()
[all …]
DBrightnessSliderTestCase.java65 QCSlider slider = row.getSlider(); in getQCItem_createsSlider() local
66 assertThat(slider).isNotNull(); in getQCItem_createsSlider()
67 assertThat(slider.getMax()).isEqualTo(GAMMA_SPACE_MAX); in getQCItem_createsSlider()
68 assertThat(slider.getValue()).isEqualTo( in getQCItem_createsSlider()
76 QCSlider slider = row.getSlider(); in getQCItem_hasBaseUmRestriction_sliderDisabled() local
77 assertThat(slider.isEnabled()).isFalse(); in getQCItem_hasBaseUmRestriction_sliderDisabled()
78 assertThat(slider.isClickableWhileDisabled()).isFalse(); in getQCItem_hasBaseUmRestriction_sliderDisabled()
85 QCSlider slider = row.getSlider(); in getQCItem_hasUmRestriction_sliderClickableWhileDisabled() local
86 assertThat(slider.isEnabled()).isFalse(); in getQCItem_hasUmRestriction_sliderClickableWhileDisabled()
87 assertThat(slider.isClickableWhileDisabled()).isTrue(); in getQCItem_hasUmRestriction_sliderClickableWhileDisabled()
DBrightnessSliderTest.java45 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneWrite() local
46 assertThat(slider).isNotNull(); in getQCItem_createsSlider_zoneWrite()
47 assertThat(slider.isEnabled()).isTrue(); in getQCItem_createsSlider_zoneWrite()
57 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneRead() local
58 assertThat(slider).isNotNull(); in getQCItem_createsSlider_zoneRead()
59 assertThat(slider.isEnabled()).isFalse(); in getQCItem_createsSlider_zoneRead()
60 assertThat(slider.isClickableWhileDisabled()).isTrue(); in getQCItem_createsSlider_zoneRead()
DCallVolumeSliderTest.java65 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneWrite() local
66 assertThat(slider).isNotNull(); in getQCItem_createsSlider_zoneWrite()
67 assertThat(slider.isEnabled()).isTrue(); in getQCItem_createsSlider_zoneWrite()
74 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneRead() local
75 assertThat(slider).isNotNull(); in getQCItem_createsSlider_zoneRead()
76 assertThat(slider.isEnabled()).isFalse(); in getQCItem_createsSlider_zoneRead()
77 assertThat(slider.isClickableWhileDisabled()).isTrue(); in getQCItem_createsSlider_zoneRead()
DNavigationVolumeSliderTest.java87 QCSlider slider = row.getSlider(); in getQCItem_createsVolumeSlider_zoneWrite() local
88 assertThat(slider.isEnabled()).isTrue(); in getQCItem_createsVolumeSlider_zoneWrite()
100 QCSlider slider = row.getSlider(); in getQCItem_createsVolumeSlider_zoneRead() local
101 assertThat(slider.isEnabled()).isFalse(); in getQCItem_createsVolumeSlider_zoneRead()
102 assertThat(slider.isClickableWhileDisabled()).isTrue(); in getQCItem_createsVolumeSlider_zoneRead()
/packages/services/Car/tools/emulator/
Dgui.py63 slider = QtWidgets.QSlider(QtCore.Qt.Vertical)
64 slider.setMinimum(0)
65 slider.setMaximum(2)
66 slider.setInvertedAppearance(True)
67 slider.valueChanged.connect(lambda:sliderMove(slider, gearDisplay))
68 shiftLayout.addWidget(slider)
69 sliderMove(slider, gearDisplay)
112 def sliderMove(slider, gearDisplay): argument
113 if slider.value() == 0:
116 elif slider.value() == 1:
[all …]
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/
DQCSliderTest.java38 QCSlider slider = createSlider(/* action= */ null, /* disabledAction= */ null); in onCreate_hasCorrectType() local
39 assertThat(slider.getType()).isEqualTo(QC_TYPE_SLIDER); in onCreate_hasCorrectType()
44 QCSlider slider = createSlider(/* action= */ null, /* disabledAction= */ null); in onBundle_nullActions_noCrash() local
45 writeAndLoadFromBundle(slider); in onBundle_nullActions_noCrash()
51 QCSlider slider = createSlider(mDefaultAction, mDefaultDisabledAction); in createFromParcel_accurateData() local
52 QCSlider newSlider = writeAndLoadFromBundle(slider); in createFromParcel_accurateData()
DQCRowTest.java91 QCSlider slider = new QCSlider.Builder().build(); in createFromParcel_accurateData_slider() local
95 Collections.singletonList(slider)); in createFromParcel_accurateData_slider()
119 for (QCSlider slider : sliders) { in createRow()
120 builder.addSlider(slider); in createRow()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCRowView.java273 QCSlider slider = row.getSlider(); in setRow() local
274 if (slider != null) { in setRow()
276 initSlider(slider); in setRow()
431 private void initSlider(QCSlider slider) { in initSlider() argument
432 mQCSlider = slider; in initSlider()
433 CarUiUtils.makeAllViewsEnabled(mSeekBar, slider.isEnabled()); in initSlider()
436 mSeekBar.setMin(slider.getMin()); in initSlider()
437 mSeekBar.setMax(slider.getMax()); in initSlider()
438 mSeekBar.setProgress(slider.getValue()); in initSlider()
439 mSeekBar.setEnabled(slider.isEnabled()); in initSlider()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/
DClockSettingsBinder.kt75 val slider: SeekBar = view.requireViewById(R.id.slider) in <lambda>() constant
76 slider.setOnSeekBarChangeListener( in <lambda>()
249 slider.setProgress(progress, true) in <lambda>()
255 slider.isEnabled = isEnabled in <lambda>()
256 slider.alpha = in <lambda>()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/
DQCRow.java57 boolean isIconTintable, @Nullable QCSlider slider, in QCRow() argument
68 mSlider = slider; in QCRow()
308 public Builder addSlider(@Nullable QCSlider slider) { in addSlider() argument
309 mSlider = slider; in addSlider()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/slider/
DOnSlideCompleteListener.java17 package com.android.emergency.widgets.slider;
DSliderSeekBar.java17 package com.android.emergency.widgets.slider;
DSliderView.java17 package com.android.emergency.widgets.slider;
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/
DEmergencyActionFragment.java40 import com.android.emergency.widgets.slider.OnSlideCompleteListener;
41 import com.android.emergency.widgets.slider.SliderView;
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java1159 float slider = 0; in getInterpolation() local
1166 slider = in getInterpolation()
1171 slider = 1; in getInterpolation()
1174 slider = in getInterpolation()
1180 float ampNormalized = ampMax * slider; in getInterpolation()
1181 float freqNormalized = freqMax * slider; in getInterpolation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java146 BasicSlider slider = new BasicSlider(); in getControls() local
148 slider in getControls()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz