Home
last modified time | relevance | path

Searched refs:seekBar (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserver.kt52 holder.seekBar.context.resources.getDimensionPixelSize(
56 holder.seekBar.context.resources.getDimensionPixelSize(
60 holder.seekBar.context.resources.getDimensionPixelSize(
64 holder.seekBar.context.resources.getDimensionPixelSize(
72 holder.seekBar.context.resources
76 holder.seekBar.context.resources
80 holder.seekBar.context.resources
84 holder.seekBar.context.resources
87 val progressDrawable = holder.seekBar.progressDrawable as? SquigglyProgress
99 val progressDrawable = holder.seekBar.progressDrawable as? SquigglyProgress in onChanged()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java71 SeekBar seekBar; in onCreate() local
113 seekBar = (SeekBar)findViewById(R.id.rvbParam1SeekBar); in onCreate()
115 mParameters[0] = new RoomLevelParam(mReverb, seekBar, textView); in onCreate()
116 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
119 seekBar = (SeekBar)findViewById(R.id.rvbParam2SeekBar); in onCreate()
121 mParameters[1] = new RoomHFLevelParam(mReverb, seekBar, textView); in onCreate()
122 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate()
125 seekBar = (SeekBar)findViewById(R.id.rvbParam3SeekBar); in onCreate()
127 mParameters[2] = new DecayTimeParam(mReverb, seekBar, textView); in onCreate()
128 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate()
[all …]
DEqualizerTest.java70 SeekBar seekBar; in onCreate() local
99 seekBar = (SeekBar)findViewById(R.id.eqParam1SeekBar); in onCreate()
101 …rs[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, textView); in onCreate()
102 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
110 seekBar = (SeekBar)findViewById(R.id.eqParam2SeekBar); in onCreate()
112 …rs[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, textView); in onCreate()
113 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate()
121 seekBar = (SeekBar)findViewById(R.id.eqParam3SeekBar); in onCreate()
123 …rs[2] = new BandLevelParam(mEqualizer, 2, bandLevelRange[0], bandLevelRange[1], seekBar, textView); in onCreate()
124 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate()
[all …]
DEffectParameter.java35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { in EffectParameter() argument
38 mSeekBar = seekBar; in EffectParameter()
65 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { in onProgressChanged() argument
67 if (seekBar != mSeekBar) { in onProgressChanged()
80 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
83 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
DVirtualizerTest.java68 SeekBar seekBar; in onCreate() local
89 seekBar = (SeekBar)findViewById(R.id.virtStrengthSeekBar); in onCreate()
91 mStrength = new VirtualizerParam(mVirtualizer, 0, 1000, seekBar, textView); in onCreate()
92 seekBar.setOnSeekBarChangeListener(mStrength); in onCreate()
160 …public VirtualizerParam(Virtualizer virtualizer, int min, int max, SeekBar seekBar, TextView textV… in VirtualizerParam() argument
161 super (min, max, seekBar, textView, "o/oo"); in VirtualizerParam()
DBassBoostTest.java63 SeekBar seekBar; in onCreate() local
89 seekBar = (SeekBar)findViewById(R.id.bbStrengthSeekBar); in onCreate()
91 mStrength = new BassBoostParam(mBassBoost, 0, 1000, seekBar, textView); in onCreate()
92 seekBar.setOnSeekBarChangeListener(mStrength); in onCreate()
169 … public BassBoostParam(BassBoost bassboost, int min, int max, SeekBar seekBar, TextView textView) { in BassBoostParam() argument
170 super (min, max, seekBar, textView, "o/oo"); in BassBoostParam()
DPresetReverbTest.java94 SeekBar seekBar = (SeekBar)findViewById(R.id.presetrvbParam1SeekBar); in onCreate() local
96 …0] = new PresetParam(mPresetReverb, (short)0, (short)(sPresetNames.length - 1), seekBar, textView); in onCreate()
97 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
173 …public PresetParam(PresetReverb presetrvb, short min, short max, SeekBar seekBar, TextView textVie… in PresetParam() argument
174 super (min, max, seekBar, textView, ""); in PresetParam()
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSeekbarHapticPlugin.kt117 fun onStartTrackingTouch(seekBar: SeekBar) { in onStartTrackingTouch()
124 fun onProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean) { in onProgressChanged()
128 sliderEventProducer.resetWithProgress(normalizeProgress(seekBar, progress)) in onProgressChanged()
133 normalizeProgress(seekBar, progress), in onProgressChanged()
146 private fun normalizeProgress(seekBar: SeekBar, progress: Int): Float { in normalizeProgress()
147 if (seekBar.max == seekBar.min) { in normalizeProgress()
150 val range = seekBar.max - seekBar.min in normalizeProgress()
151 return (progress - seekBar.min) / range.toFloat() in normalizeProgress()
155 fun onStopTrackingTouch(seekBar: SeekBar) { in onStopTrackingTouch()
/frameworks/base/core/java/android/preference/
DSeekBarPreference.java85 SeekBar seekBar = (SeekBar) view.findViewById( in onBindView() local
87 seekBar.setOnSeekBarChangeListener(this); in onBindView()
88 seekBar.setMax(mMax); in onBindView()
89 seekBar.setProgress(mProgress); in onBindView()
90 seekBar.setEnabled(isEnabled()); in onBindView()
110 SeekBar seekBar = (SeekBar) v.findViewById(com.android.internal.R.id.seekbar); in onKey() local
111 if (seekBar == null) { in onKey()
114 return seekBar.onKeyDown(keyCode, event); in onKey()
152 void syncProgress(SeekBar seekBar) { in syncProgress() argument
153 int progress = seekBar.getProgress(); in syncProgress()
[all …]
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java92 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
99 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
104 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
118 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
125 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
130 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
143 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
150 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
155 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
168 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
[all …]
DPointsActivity.java60 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
70 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
74 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
DSurfaceViewAlphaActivity.java112 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
119 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
124 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegateTest.kt129 val seekBar: SeekBar = dialog.findViewById<SeekBar>(R.id.seekbar)!! in showTheDialog_seekbarIsShowingCorrectProgress() constant
130 val progress: Int = seekBar.getProgress() in showTheDialog_seekbarIsShowingCorrectProgress()
150 val seekBar: SeekBar = dialog.findViewById(R.id.seekbar)!! in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled() constant
168 assertThat(seekBar.getProgress()).isEqualTo(1) in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled()
181 val seekBar: SeekBar = dialog.findViewById(R.id.seekbar)!! in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled() constant
199 assertThat(seekBar.getProgress()).isEqualTo(fontSizeValueArray.size - 2) in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
241 val seekBar: SeekBar = slider.findViewById(R.id.seekbar)!! in dragSeekbar_systemFontSizeSettingsDoesNotChange() constant
245 changeListener.onStartTrackingTouch(seekBar) in dragSeekbar_systemFontSizeSettingsDoesNotChange()
249 seekBar.progress = 0 in dragSeekbar_systemFontSizeSettingsDoesNotChange()
264 changeListener.onStopTrackingTouch(seekBar) in dragSeekbar_systemFontSizeSettingsDoesNotChange()
[all …]
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DControllerActivity.java168 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
170 final int min = seekBar.getMin(); in onProgressChanged()
171 final float fraction = (progress - min) / (float) (seekBar.getMax() - min); in onProgressChanged()
184 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
188 seekBar.getWindowInsetsController().controlWindowInsetsAnimation(mTypes, in onStartTrackingTouch()
194 if (!seekBar.isPressed()) { in onStartTrackingTouch()
195 onStopTrackingTouch(seekBar); in onStartTrackingTouch()
212 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
213 final int min = seekBar.getMin(); in onStopTrackingTouch()
214 final int max = seekBar.getMax(); in onStopTrackingTouch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
DSeekBarWithIconButtonsView.java289 void onUserInteractionFinalized(SeekBar seekBar, @ControlUnitType int control); in onUserInteractionFinalized() argument
296 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
304 seekBar, progress, /* fromUser= */ true); in onProgressChanged()
308 seekBar, OnSeekBarWithIconButtonsChangeListener.ControlUnitType.BUTTON); in onProgressChanged()
310 mOnSeekBarChangeListener.onProgressChanged(seekBar, progress, fromUser); in onProgressChanged()
317 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
319 mOnSeekBarChangeListener.onStartTrackingTouch(seekBar); in onStartTrackingTouch()
324 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
326 mOnSeekBarChangeListener.onStopTrackingTouch(seekBar); in onStopTrackingTouch()
328 seekBar, OnSeekBarWithIconButtonsChangeListener.ControlUnitType.SLIDER); in onStopTrackingTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogSeekBarAccessibilityDelegate.kt32 val seekBar: SeekBar = host in performAccessibilityAction() constant
48 (seekBar.progress + increment).coerceIn(seekBar.min, seekBar.max).toFloat(), in performAccessibilityAction()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassActivity.kt99 override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) { in <lambda>()
100 when (seekBar) { in <lambda>()
107 materialView.materialOpacity = progress / seekBar.max.toFloat() in <lambda>()
111 materialView.noiseOpacity = progress / seekBar.max.toFloat() in <lambda>()
115 materialView.scrimOpacity = progress / seekBar.max.toFloat() in <lambda>()
119 materialView.zoom = progress / seekBar.max.toFloat() in <lambda>()
131 override fun onStartTrackingTouch(seekBar: SeekBar?) {} in <lambda>()
132 override fun onStopTrackingTouch(seekBar: SeekBar?) {} in <lambda>()
DBackgroundBlurActivity.kt118 override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) { in <lambda>()
119 when (seekBar) { in <lambda>()
128 override fun onStartTrackingTouch(seekBar: SeekBar?) {} in <lambda>()
129 override fun onStopTrackingTouch(seekBar: SeekBar?) {} in <lambda>()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMainActivity.java54 SeekBar seekBar = findViewById(R.id.focusbar); in onCreate() local
55 seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { in onCreate()
57 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
58 mPreviewView.setFocusInMeters(seekBar.getProgress() / 10.f); in onCreate()
62 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
67 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
/frameworks/base/core/java/android/widget/
DSeekBar.java57 void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser); in onProgressChanged() argument
64 void onStartTrackingTouch(SeekBar seekBar); in onStartTrackingTouch() argument
71 void onStopTrackingTouch(SeekBar seekBar); in onStopTrackingTouch() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderController.java239 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
243 mBrightnessSliderHapticPlugin.onProgressChanged(seekBar, progress, fromUser);
249 public void onStartTrackingTouch(SeekBar seekBar) {
254 mBrightnessSliderHapticPlugin.onStartTrackingTouch(seekBar);
264 public void onStopTrackingTouch(SeekBar seekBar) {
269 mBrightnessSliderHapticPlugin.onStopTrackingTouch(seekBar);
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegate.kt119 override fun onProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean) { in onCreate()
125 override fun onStartTrackingTouch(seekBar: SeekBar) { in onCreate()
129 override fun onStopTrackingTouch(seekBar: SeekBar) { in onCreate()
134 seekBar: SeekBar, in onCreate()
139 changeFontSize(seekBar.progress, CHANGE_BY_BUTTON_DELAY_MS) in onCreate()
141 changeFontSize(seekBar.progress, CHANGE_BY_SEEKBAR_DELAY_MS) in onCreate()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingActivity.java178 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
181 if (seekBar == mBar1) { in onProgressChanged()
183 } else if (seekBar == mBar2) { in onProgressChanged()
185 } else if (seekBar == mBar3) { in onProgressChanged()
187 } else if (seekBar == mBar4) { in onProgressChanged()
189 } else if (seekBar == mBar5) { in onProgressChanged()
208 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
211 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/slider/
DSeekbarHapticPluginTest.kt53 private val seekBar = SeekBar(mContext) constant
97 plugin.onProgressChanged(seekBar, 50, false) in <lambda>()
114 plugin.onProgressChanged(seekBar, 50, false) in <lambda>()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java553 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
555 if (seekBar == mBar1) { in onProgressChanged()
557 } else if (seekBar == mBar2) { in onProgressChanged()
559 } else if (seekBar == mBar3) { in onProgressChanged()
561 } else if (seekBar == mBar4) { in onProgressChanged()
563 } else if (seekBar == mBar5) { in onProgressChanged()
570 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
573 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument

12