Searched refs:slider (Results 1 – 23 of 23) sorted by relevance
89 QCSlider slider = row.getSlider(); in verifySliderCreated() local90 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() argument100 slider.onNotifyChange(intent); in verifyVolumeChanged()106 QCSlider slider = row.getSlider(); in verifyBaseUmRestriction() local107 assertThat(slider).isNotNull(); in verifyBaseUmRestriction()108 assertThat(slider.isEnabled()).isFalse(); in verifyBaseUmRestriction()[all …]
65 QCSlider slider = row.getSlider(); in getQCItem_createsSlider() local66 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() local77 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() local86 assertThat(slider.isEnabled()).isFalse(); in getQCItem_hasUmRestriction_sliderClickableWhileDisabled()87 assertThat(slider.isClickableWhileDisabled()).isTrue(); in getQCItem_hasUmRestriction_sliderClickableWhileDisabled()
45 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneWrite() local46 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() local58 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()
65 QCSlider slider = row.getSlider(); in getQCItem_createsSlider_zoneWrite() local66 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() local75 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()
87 QCSlider slider = row.getSlider(); in getQCItem_createsVolumeSlider_zoneWrite() local88 assertThat(slider.isEnabled()).isTrue(); in getQCItem_createsVolumeSlider_zoneWrite()100 QCSlider slider = row.getSlider(); in getQCItem_createsVolumeSlider_zoneRead() local101 assertThat(slider.isEnabled()).isFalse(); in getQCItem_createsVolumeSlider_zoneRead()102 assertThat(slider.isClickableWhileDisabled()).isTrue(); in getQCItem_createsVolumeSlider_zoneRead()
63 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): argument113 if slider.value() == 0:116 elif slider.value() == 1:[all …]
38 QCSlider slider = createSlider(/* action= */ null, /* disabledAction= */ null); in onCreate_hasCorrectType() local39 assertThat(slider.getType()).isEqualTo(QC_TYPE_SLIDER); in onCreate_hasCorrectType()44 QCSlider slider = createSlider(/* action= */ null, /* disabledAction= */ null); in onBundle_nullActions_noCrash() local45 writeAndLoadFromBundle(slider); in onBundle_nullActions_noCrash()51 QCSlider slider = createSlider(mDefaultAction, mDefaultDisabledAction); in createFromParcel_accurateData() local52 QCSlider newSlider = writeAndLoadFromBundle(slider); in createFromParcel_accurateData()
91 QCSlider slider = new QCSlider.Builder().build(); in createFromParcel_accurateData_slider() local95 Collections.singletonList(slider)); in createFromParcel_accurateData_slider()119 for (QCSlider slider : sliders) { in createRow()120 builder.addSlider(slider); in createRow()
273 QCSlider slider = row.getSlider(); in setRow() local274 if (slider != null) { in setRow()276 initSlider(slider); in setRow()431 private void initSlider(QCSlider slider) { in initSlider() argument432 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 …]
75 val slider: SeekBar = view.requireViewById(R.id.slider) in <lambda>() constant76 slider.setOnSeekBarChangeListener( in <lambda>()249 slider.setProgress(progress, true) in <lambda>()255 slider.isEnabled = isEnabled in <lambda>()256 slider.alpha = in <lambda>()
57 boolean isIconTintable, @Nullable QCSlider slider, in QCRow() argument68 mSlider = slider; in QCRow()308 public Builder addSlider(@Nullable QCSlider slider) { in addSlider() argument309 mSlider = slider; in addSlider()
17 package com.android.emergency.widgets.slider;
40 import com.android.emergency.widgets.slider.OnSlideCompleteListener;41 import com.android.emergency.widgets.slider.SliderView;
1159 float slider = 0; in getInterpolation() local1166 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()
146 BasicSlider slider = new BasicSlider(); in getControls() local148 slider in getControls()
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...