Searched refs:mSeekbar (Results 1 – 2 of 2) sorted by relevance
51 private SeekBar mSeekbar; field in SeekBarWithIconButtonsView82 mSeekbar = findViewById(R.id.seekbar); in SeekBarWithIconButtonsView()95 mSeekbar.setMax(max); in SeekBarWithIconButtonsView()118 mSeekbar.setTickMark(getResources().getDrawable(tickMarkId)); in SeekBarWithIconButtonsView()124 mSeekbar.setMax(DEFAULT_SEEKBAR_MAX); in SeekBarWithIconButtonsView()128 mSeekbar.setOnSeekBarChangeListener(mSeekBarListener); in SeekBarWithIconButtonsView()159 mSeekbar.setStateDescription( in setSeekbarStateDescription()160 (mSeekbar.getProgress() < mStateLabels.length) in setSeekbarStateDescription()161 ? mStateLabels[mSeekbar.getProgress()] : ""); in setSeekbarStateDescription()186 return mSeekbar;[all …]
60 private SeekBar mSeekbar; field in SeekBarWithIconButtonsViewTest75 mSeekbar = mIconDiscreteSliderLinearLayout.findViewById(R.id.seekbar); in setUp()93 mIconDiscreteSliderLinearLayout.setProgress(mSeekbar.getMax()); in setSeekBarProgressMax_endIconAndFrameDisabled()115 mIconDiscreteSliderLinearLayout.setProgress(mSeekbar.getMax() - 1); in clickIconEnd_currentProgressIsOneToMax_reachesMax()119 assertThat(mSeekbar.getProgress()).isEqualTo(mSeekbar.getMax()); in clickIconEnd_currentProgressIsOneToMax_reachesMax()128 assertThat(mSeekbar.getProgress()).isEqualTo(0); in clickIconStart_currentProgressIsOne_reachesZero()137 eq(mSeekbar), /* progress= */ eq(1), /* fromUser= */ eq(false)); in setProgress_onlyOnProgressChangedTriggeredWithFromUserFalse()154 eq(mSeekbar), /* progress= */ eq(magnitude), /* fromUser= */ eq(true)); in clickIconEnd_triggerCallbacksInSequence()156 eq(mSeekbar), eq(OnSeekBarWithIconButtonsChangeListener.ControlUnitType.BUTTON)); in clickIconEnd_triggerCallbacksInSequence()169 eq(mSeekbar), /* progress= */ eq(0), /* fromUser= */ eq(true)); in clickIconStart_triggerCallbacksInSequence()[all …]