/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | BalanceSeekBarTest.java | 44 private BalanceSeekBar mSeekBar; field in BalanceSeekBarTest 51 mSeekBar = new BalanceSeekBar(mContext, mAttrs); in setUp() 52 mProxySeekBarListener = mSeekBar.getProxySeekBarListener(); in setUp() 54 mSeekBar.setOnSeekBarChangeListener(mockSeekBarChangeListener); in setUp() 59 mProxySeekBarListener.onStartTrackingTouch(mSeekBar); in onStartTrackingTouch_shouldInvokeMethod() 61 verify(mockSeekBarChangeListener, times(1)).onStartTrackingTouch(mSeekBar); in onStartTrackingTouch_shouldInvokeMethod() 66 mProxySeekBarListener.onStopTrackingTouch(mSeekBar); in onStopTrackingTouch_shouldInvokeMethod() 68 verify(mockSeekBarChangeListener, times(1)).onStopTrackingTouch(mSeekBar); in onStopTrackingTouch_shouldInvokeMethod() 74 mProxySeekBarListener.onProgressChanged(mSeekBar, MAX_PROGRESS_VALUE, true); in onProgressChanged_shouldInvokeMethod() 76 verify(mockSeekBarChangeListener, times(1)).onProgressChanged(eq(mSeekBar), in onProgressChanged_shouldInvokeMethod() [all …]
|
D | BalanceSeekBarPreferenceTest.java | 43 private BalanceSeekBar mSeekBar; field in BalanceSeekBarPreferenceTest 55 mSeekBar = (BalanceSeekBar) view.findViewById(com.android.internal.R.id.seekbar); in setUp() 62 assertThat(mSeekBar.getMax()).isEqualTo(BALANCE_MAX_VALUE); in seekBarPreferenceOnBindViewHolder_shouldInitSeekBarValue() 63 assertThat(mSeekBar.getProgress()).isEqualTo(BALANCE_CENTER_VALUE); in seekBarPreferenceOnBindViewHolder_shouldInitSeekBarValue()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SeekBarPreference.java | 50 private SeekBar mSeekBar; field in SeekBarPreference 103 mSeekBar = (SeekBar) view.findViewById( in onBindViewHolder() 105 mSeekBar.setOnSeekBarChangeListener(this); in onBindViewHolder() 106 mSeekBar.setMax(mMax); in onBindViewHolder() 107 mSeekBar.setMin(mMin); in onBindViewHolder() 108 mSeekBar.setProgress(mProgress); in onBindViewHolder() 109 mSeekBar.setEnabled(isEnabled()); in onBindViewHolder() 112 mSeekBar.setContentDescription(mSeekBarContentDescription); in onBindViewHolder() 114 mSeekBar.setContentDescription(title); in onBindViewHolder() 116 if (mSeekBar instanceof DefaultIndicatorSeekBar) { in onBindViewHolder() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 50 private SeekBar mSeekBar; field in SeekBarPreference 114 mSeekBar = (SeekBar) view.findViewById( in onBindViewHolder() 116 mSeekBar.setOnSeekBarChangeListener(this); in onBindViewHolder() 117 mSeekBar.setMax(mMax); in onBindViewHolder() 118 mSeekBar.setMin(mMin); in onBindViewHolder() 119 mSeekBar.setProgress(mProgress); in onBindViewHolder() 120 mSeekBar.setEnabled(isEnabled()); in onBindViewHolder() 123 mSeekBar.setContentDescription(mSeekBarContentDescription); in onBindViewHolder() 125 mSeekBar.setContentDescription(title); in onBindViewHolder() 127 if (mSeekBar instanceof DefaultIndicatorSeekBar) { in onBindViewHolder() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | PreviewSeekBarPreferenceFragment.java | 57 private LabeledSeekBar mSeekBar; field in PreviewSeekBarPreferenceFragment 105 mSeekBar = content.findViewById(R.id.seek_bar); in onCreateView() 106 mSeekBar.setLabels(mEntries); in onCreateView() 107 mSeekBar.setMax(max); in onCreateView() 111 final int progress = mSeekBar.getProgress(); in onCreateView() 113 mSeekBar.setProgress(progress - 1, true); in onCreateView() 119 final int progress = mSeekBar.getProgress(); in onCreateView() 120 if (progress < mSeekBar.getMax()) { in onCreateView() 121 mSeekBar.setProgress(progress + 1, true); in onCreateView() 128 mSeekBar.setEnabled(false); in onCreateView() [all …]
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | PreviewSeekBarPreferenceFragment.java | 57 private LabeledSeekBar mSeekBar; field in PreviewSeekBarPreferenceFragment 105 mSeekBar = content.findViewById(R.id.seek_bar); in onCreateView() 106 mSeekBar.setLabels(mEntries); in onCreateView() 107 mSeekBar.setMax(max); in onCreateView() 111 final int progress = mSeekBar.getProgress(); in onCreateView() 113 mSeekBar.setProgress(progress - 1, true); in onCreateView() 119 final int progress = mSeekBar.getProgress(); in onCreateView() 120 if (progress < mSeekBar.getMax()) { in onCreateView() 121 mSeekBar.setProgress(progress + 1, true); in onCreateView() 128 mSeekBar.setEnabled(false); in onCreateView() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | BasicSlider.java | 31 private SeekBar mSeekBar; field in BasicSlider 45 mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar); in setUp() 46 mSeekBar.setVisibility(View.VISIBLE); in setUp() 48 mSeekBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { in setUp() 71 return mSeekBar; in getTopView() 77 if (mSeekBar != null) { in setPrameter() 84 mSeekBar.setMax(mParameter.getMaximum() - mParameter.getMinimum()); in updateUI() 85 mSeekBar.setProgress(mParameter.getValue() - mParameter.getMinimum()); in updateUI()
|
D | TitledSlider.java | 33 private SeekBar mSeekBar; field in TitledSlider 51 mSeekBar = (SeekBar) mTopView.findViewById(R.id.controlValueSeekBar); in setUp() 55 mSeekBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { in setUp() 84 if (mSeekBar != null) in setPrameter() 97 mSeekBar.setMax(mParameter.getMaximum() - mParameter.getMinimum()); in updateUI() 98 mSeekBar.setProgress(mParameter.getValue() - mParameter.getMinimum()); in updateUI()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SeekBarPreference.java | 50 private SeekBar mSeekBar; field in SeekBarPreference 108 if (mSeekBar == null) { 112 return mSeekBar.onKeyDown(keyCode, event); 152 mSeekBar = (SeekBar) view.findViewById(R.id.seekbar); in onBindViewHolder() 161 if (mSeekBar == null) { in onBindViewHolder() 165 mSeekBar.setOnSeekBarChangeListener(mSeekBarChangeListener); in onBindViewHolder() 166 mSeekBar.setMax(mMax - mMin); in onBindViewHolder() 172 mSeekBar.setKeyProgressIncrement(mSeekBarIncrement); in onBindViewHolder() 174 mSeekBarIncrement = mSeekBar.getKeyProgressIncrement(); in onBindViewHolder() 177 mSeekBar.setProgress(mSeekBarValue - mMin); in onBindViewHolder() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | PointerSpeedPreference.java | 34 private SeekBar mSeekBar; field in PointerSpeedPreference 68 mSeekBar = getSeekBar(view); in onBindDialogView() 69 mSeekBar.setMax(InputManager.MAX_POINTER_SPEED - InputManager.MIN_POINTER_SPEED); in onBindDialogView() 71 mSeekBar.setProgress(mOldSpeed - InputManager.MIN_POINTER_SPEED); in onBindDialogView() 72 mSeekBar.setOnSeekBarChangeListener(this); in onBindDialogView() 92 mSeekBar.setProgress(speed - InputManager.MIN_POINTER_SPEED); in onSpeedChanged() 103 mSeekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onDialogClosed() 125 myState.progress = mSeekBar.getProgress(); in onSaveInstanceState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | PointerSpeedPreference.java | 34 private SeekBar mSeekBar; field in PointerSpeedPreference 68 mSeekBar = getSeekBar(view); in onBindDialogView() 69 mSeekBar.setMax(InputManager.MAX_POINTER_SPEED - InputManager.MIN_POINTER_SPEED); in onBindDialogView() 71 mSeekBar.setProgress(mOldSpeed - InputManager.MIN_POINTER_SPEED); in onBindDialogView() 72 mSeekBar.setOnSeekBarChangeListener(this); in onBindDialogView() 92 mSeekBar.setProgress(speed - InputManager.MIN_POINTER_SPEED); in onSpeedChanged() 103 mSeekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onDialogClosed() 125 myState.progress = mSeekBar.getProgress(); in onSaveInstanceState()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | BalanceSeekBarPreference.java | 41 private BalanceSeekBar mSeekBar; field in BalanceSeekBarPreference 55 mSeekBar = (BalanceSeekBar) view.findViewById(com.android.internal.R.id.seekbar); in onBindViewHolder() 61 if (mSeekBar == null) { in init() 68 mSeekBar.setMax(BALANCE_MAX_VALUE); in init() 69 mSeekBar.setProgress((int) (balance * 100.f) + BALANCE_CENTER_VALUE); in init() 70 mSeekBar.setEnabled(isEnabled()); in init()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | BalanceSeekBarPreference.java | 41 private BalanceSeekBar mSeekBar; field in BalanceSeekBarPreference 55 mSeekBar = (BalanceSeekBar) view.findViewById(com.android.internal.R.id.seekbar); in onBindViewHolder() 61 if (mSeekBar == null) { in init() 68 mSeekBar.setMax(BALANCE_MAX_VALUE); in init() 69 mSeekBar.setProgress((int) (balance * 100.f) + BALANCE_CENTER_VALUE); in init() 70 mSeekBar.setEnabled(isEnabled()); in init()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SeekBarDialogPreference.java | 47 private SeekBar mSeekBar; field in SeekBarDialogPreference 71 mSeekBar = (SeekBar)view.findViewById(R.id.seek_bar_dialog_bar); in onCreateDialogView() 72 mSeekBar.setMax(mMaxValue - mMinValue); in onCreateDialogView() 73 mSeekBar.setOnSeekBarChangeListener(this); in onCreateDialogView() 102 mSeekBar.setProgress(getProgressFromValue(clipValue(value))); in onBindDialogView() 123 final int value = getClippedValueFromProgress(mSeekBar.getProgress()); in onClick() 136 mSeekBar.setProgress(getProgressFromValue(value)); in onProgressChanged()
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | SettingsDialog.java | 52 private SeekBar mSeekBar; field in SettingsDialog 129 mSeekBar = (SeekBar) findViewById(R.id.main_slider); in onCreate() 175 mSeekBar.setVisibility(View.GONE); in onChildSelected() 180 mSeekBar.setMax(mFocusedSetting.getMaxValue()); in onChildSelected() 181 mSeekBar.setProgress(mFocusedSetting.getIntValue()); in onChildSelected() 182 mSeekBar.setVisibility(View.VISIBLE); in onChildSelected() 186 mSeekBar.setVisibility(View.GONE); in onChildSelected() 226 mSeekBar.setProgress(mFocusedSetting.getIntValue()); in setFocusedSettingToValue()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
D | ExportDialog.java | 47 SeekBar mSeekBar; field in ExportDialog 98 mSeekBar = (SeekBar) view.findViewById(R.id.qualitySeekBar); in onCreateView() 101 mSeekBar.setProgress(mQuality); in onCreateView() 102 mSeekVal.setText(mSliderLabel + mSeekBar.getProgress()); in onCreateView() 103 mSeekBar.setOnSeekBarChangeListener(this); in onCreateView() 142 mQuality = mSeekBar.getProgress(); in onProgressChanged() 164 true, mSeekBar.getProgress(), scaleFactor, false); in onClick()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 43 protected SeekBar mSeekBar; field in VolumeSeekBarPreference 113 mSeekBar = (SeekBar) view.findViewById(com.android.internal.R.id.seekbar); in onBindViewHolder() 120 if (mSeekBar == null) return; in init() 147 mVolumizer.setSeekBar(mSeekBar); in init() 151 mSeekBar.setEnabled(false); in init() 194 if (mSuppressionTextView != null && mSeekBar != null) { in updateSuppressionText()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | VolumeSeekBarPreference.java | 43 protected SeekBar mSeekBar; field in VolumeSeekBarPreference 118 mSeekBar = (SeekBar) view.findViewById(com.android.internal.R.id.seekbar); in onBindViewHolder() 125 if (mSeekBar == null) return; in init() 152 mVolumizer.setSeekBar(mSeekBar); in init() 156 mSeekBar.setEnabled(false); in init() 199 if (mSuppressionTextView != null && mSeekBar != null) { in updateSuppressionText()
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 58 private lateinit var mSeekBar: SeekBar variable in com.android.music.AudioPreview 96 mSeekBar = findViewById(R.id.progress) as SeekBar in onCreate() 231 mSeekBar.setMax(mDuration) in showPostPrepareUI() 232 mSeekBar.setVisibility(View.VISIBLE) in showPostPrepareUI() 234 mSeekBar.setProgress(mPlayer!!.getCurrentPosition()) in showPostPrepareUI() 237 mSeekBar.setOnSeekBarChangeListener(mSeekListener) in showPostPrepareUI() 295 mSeekBar.setProgress(mPlayer!!.getCurrentPosition()) in run() 343 mSeekBar.setProgress(mDuration) in onCompletion()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 63 private SeekBar mSeekBar; field in AudioPreview 103 mSeekBar = (SeekBar) findViewById(R.id.progress); in onCreate() 258 mSeekBar.setMax(mDuration); in showPostPrepareUI() 259 mSeekBar.setVisibility(View.VISIBLE); in showPostPrepareUI() 261 mSeekBar.setProgress(mPlayer.getCurrentPosition()); in showPostPrepareUI() 264 mSeekBar.setOnSeekBarChangeListener(mSeekListener); in showPostPrepareUI() 330 mSeekBar.setProgress(mPlayer.getCurrentPosition()); in run() 377 mSeekBar.setProgress(mDuration); in onCompletion()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 76 private SeekBar mSeekBar; field in PlaybackFragment 355 mSeekBar = view.findViewById(R.id.seek_bar); in onCreateView() 381 if (mSeekBar != null) { in onCreateView() 392 mSeekBar.setThumbTintList(ColorStateList.valueOf(color)); in onCreateView() 393 mSeekBar.setProgressTintList(ColorStateList.valueOf(color)); in onCreateView() 396 mSeekBar.setThumbTintList(ColorStateList.valueOf(defaultColor)); in onCreateView() 397 mSeekBar.setProgressTintList(ColorStateList.valueOf(defaultColor)); in onCreateView() 400 mSeekBar.setVisibility(View.GONE); in onCreateView() 547 SeekBar seekbar = mShowLinearProgressBar ? mSeekBar : null; in initMetadataController()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | Editor.java | 53 protected SeekBar mSeekBar; field in Editor 119 mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar); in setUtilityPanelUI() 120 mSeekBar.setOnSeekBarChangeListener(this); in setUtilityPanelUI() 121 mSeekBar.setVisibility(View.GONE); in setUtilityPanelUI() 125 mSeekBar.setVisibility(View.VISIBLE); in setUtilityPanelUI()
|
D | ParametricEditor.java | 175 mSeekBar = new SeekBar(editControl.getContext()); in setUtilityPanelUI() 178 mSeekBar.setLayoutParams(lp); in setUtilityPanelUI() 179 ((LinearLayout) editControl).addView(mSeekBar); in setUtilityPanelUI() 180 mSeekBar.setOnSeekBarChangeListener(this); in setUtilityPanelUI()
|
D | EditorColorBorder.java | 193 mSeekBar = (SeekBar) editControl.findViewById(R.id.primarySeekBar); in setUtilityPanelUI() 194 if (mSeekBar != null) { in setUtilityPanelUI() 195 mSeekBar.setVisibility(View.GONE); in setUtilityPanelUI()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 173 SeekBar seekbar = ((BrightnessViewHolder) holder).mSeekBar; in onBindViewHolder() 210 private final SeekBar mSeekBar; field in QuickSettingGridAdapter.BrightnessViewHolder 214 mSeekBar = (SeekBar) view.findViewById(R.id.seekbar); in BrightnessViewHolder()
|