Home
last modified time | relevance | path

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

/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DOnSeekBarChangeListenerAdapter.kt6 … val onProgressChanged: ((seekBar: SeekBar, progress: Int, fromUser: Boolean) -> Unit)? = null,
7 val onStartTrackingTouch: ((seekBar: SeekBar) -> Unit)? = null,
8 val onStopTrackingTouch: ((seekBar: SeekBar) -> Unit)? = null
10 override fun onProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean) =
11 onProgressChanged?.invoke(seekBar, progress, fromUser) ?: Unit
13 override fun onStartTrackingTouch(seekBar: SeekBar) =
14 onStartTrackingTouch?.invoke(seekBar) ?: Unit
16 override fun onStopTrackingTouch(seekBar: SeekBar) =
17 onStopTrackingTouch?.invoke(seekBar) ?: Unit
DPlayerFragment.kt248 seekBar.setOnSeekBarChangeListener(OnSeekBarChangeListenerAdapter( in <lambda>()
250 if (seekBar.isPressed && progress in 1..4) { in <lambda>()
251 seekBar.progress = 0 in <lambda>()
255 animationView.progress = progress / seekBar.max.toFloat() in <lambda>()
262 if (seekBar.isPressed) return@addAnimatorUpdateListener in <lambda>()
263 seekBar.progress = ((it.animatedValue as Float) * seekBar.max).roundToInt() in <lambda>()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSeekBarTest.java18 private SeekBar seekBar; field in ShadowSeekBarTest
25 seekBar = new SeekBar(ApplicationProvider.getApplicationContext()); in setup()
26 shadow = Shadows.shadowOf(seekBar); in setup()
29 seekBar.setOnSeekBarChangeListener(listener); in setup()
35 seekBar.setOnSeekBarChangeListener(null); in testOnSeekBarChangedListener()
41 seekBar.setProgress(5); in testOnChangeNotification()
48 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
53 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
57 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
DShadowAbsSeekBarTest.java19 TestAbsSeekBar seekBar = new TestAbsSeekBar(ApplicationProvider.getApplicationContext()); in testInheritance() local
20 ShadowAbsSeekBar shadow = Shadows.shadowOf(seekBar); in testInheritance()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DVolumePreference.java64 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
68 public void onStartTrackingTouch(SeekBar seekBar) { } in onStartTrackingTouch() argument
70 public void onStopTrackingTouch(SeekBar seekBar) { } in onStopTrackingTouch() argument
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSettingsPicker.java112 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
119 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
124 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
125 sliderChanged(mMinimumValue + seekBar.getProgress(), true); in onStopTrackingTouch()
DLoopbackActivity.java545 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
549 public void onStartTrackingTouch(SeekBar seekBar) { in onCreate()
553 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DSimplePieChartActivity.java60 public void onProgressChanged(SeekBar seekBar, int i, boolean b) {} in onCreate()
63 public void onStartTrackingTouch(SeekBar seekBar) {} in onCreate()
66 public void onStopTrackingTouch(SeekBar seekBar) { in onCreate()
67 pie.getRenderer(PieRenderer.class).setDonutSize(seekBar.getProgress()/100f, in onCreate()
DBarPlotExampleActivity.java233 public void onProgressChanged(SeekBar seekBar, int i, boolean b) {updatePlot();} in onCreate()
235 public void onStartTrackingTouch(SeekBar seekBar) {} in onCreate()
238 public void onStopTrackingTouch(SeekBar seekBar) {} in onCreate()
247 public void onProgressChanged(SeekBar seekBar, int i, boolean b) {updatePlot();} in onCreate()
249 public void onStartTrackingTouch(SeekBar seekBar) {} in onCreate()
251 public void onStopTrackingTouch(SeekBar seekBar) {} in onCreate()
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DEffectsAdapter.kt90 val seekBar: SeekBar = paramWrapper.findViewById(R.id.seekBar) in <lambda>() constant
94 seekBar.progress = in <lambda>()
98 seekBar.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener { in <lambda>()
107 seekBar: SeekBar?, progress: Int, fromUser: Boolean in <lambda>()
110 … ((seekBar!!.progress / 100f) * (param.maxValue - param.minValue) + param.minValue) in <lambda>()
DMainActivity.kt164 val targetSeekBar = findViewById<SeekBar>(R.id.seekBar) in <lambda>()
200 class MyMidiReceiver(var seekBar: SeekBar) : MidiReceiver() { in <lambda>() variable in com.mobileer.androidfxlab.MyMidiReceiver
214 seekBar.progress = (data[offset+2].toInt() / 1.27).toInt() in <lambda>()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DWorkloadView.java37 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
42 public void onStartTrackingTouch(SeekBar seekBar) {
46 public void onStopTrackingTouch(SeekBar seekBar) {
DEchoActivity.java52 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
57 public void onStartTrackingTouch(SeekBar seekBar) {
61 public void onStopTrackingTouch(SeekBar seekBar) {
DManualGlitchActivity.java53 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
58 public void onStartTrackingTouch(SeekBar seekBar) {
62 public void onStopTrackingTouch(SeekBar seekBar) {
DBufferSizeView.java48 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
55 public void onStartTrackingTouch(SeekBar seekBar) {
59 public void onStopTrackingTouch(SeekBar seekBar) {
/external/replicaisland/src/com/replica/replicaisland/
DSliderPreference.java82 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
89 public void onStartTrackingTouch(SeekBar seekBar) { in onStartTrackingTouch() argument
92 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCaptureQualityController.java62 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onProgressChanged() argument
97 public void onStartTrackingTouch(SeekBar seekBar) {} in onStartTrackingTouch() argument
100 public void onStopTrackingTouch(SeekBar seekBar) { in onStopTrackingTouch() argument
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumThumperActivity.kt265 override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) { in onProgressChanged()
266 when (seekBar!!.id) { in onProgressChanged()
301 override fun onStartTrackingTouch(seekBar: SeekBar?) { in onStartTrackingTouch()
305 override fun onStopTrackingTouch(seekBar: SeekBar?) { in onStopTrackingTouch()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DSeekBarDialogTask.java79 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()