Home
last modified time | relevance | path

Searched refs:mZoomSeekbar (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationSettingsTest.java89 private SeekBarWithIconButtonsView mZoomSeekbar; field in WindowMagnificationSettingsTest
127 mZoomSeekbar = mSettingView.findViewById(R.id.magnifier_zoom_slider); in setUp()
422 mZoomSeekbar = mSettingView.findViewById(R.id.magnifier_zoom_slider); in seekbarProgress_justInflated_maxValueAndProgressSetCorrectly()
423 assertThat(mZoomSeekbar.getProgress()).isEqualTo(10); in seekbarProgress_justInflated_maxValueAndProgressSetCorrectly()
424 assertThat(mZoomSeekbar.getMax()).isEqualTo(70); in seekbarProgress_justInflated_maxValueAndProgressSetCorrectly()
437 assertThat(mZoomSeekbar.getProgress()).isEqualTo(0); in seekbarProgress_minMagnification_seekbarProgressIsCorrect()
449 assertThat(mZoomSeekbar.getProgress()).isEqualTo(0); in seekbarProgress_belowMinMagnification_seekbarProgressIsZero()
463 assertThat(mZoomSeekbar.getProgress()).isEqualTo(30); in seekbarProgress_magnificationBefore_seekbarProgressIsHalf()
477 assertThat(mZoomSeekbar.getProgress()).isEqualTo(70); in seekbarProgress_maxMagnificationBefore_seekbarProgressIsMax()
490 assertThat(mZoomSeekbar.getProgress()).isEqualTo(70); in seekbarProgress_aboveMaxMagnificationBefore_seekbarProgressIsMax()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationSettings.java91 private SeekBarWithIconButtonsView mZoomSeekbar; field in WindowMagnificationSettings
354 } else if (index > mZoomSeekbar.getMax()) { in setScaleSeekbar()
355 index = mZoomSeekbar.getMax(); in setScaleSeekbar()
357 mZoomSeekbar.setProgress(index); in setScaleSeekbar()
531 mZoomSeekbar = mSettingView.findViewById(R.id.magnifier_zoom_slider); in inflateView()
532 mZoomSeekbar.setMax((int) (mZoomSeekbar.getChangeMagnitude() in inflateView()
534 mSeekBarMagnitude = mZoomSeekbar.getChangeMagnitude(); in inflateView()
536 mZoomSeekbar.setOnSeekBarWithIconButtonsChangeListener(new ZoomSeekbarChangeListener()); in inflateView()