Home
last modified time | relevance | path

Searched refs:progressBar (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowProgressBarTest.java21 private ProgressBar progressBar; field in ShadowProgressBarTest
31 progressBar = new ProgressBar(application, attrs); in setUp()
36 assertThat(progressBar.getMax()).isEqualTo(100); in shouldInitMaxTo100()
42 progressBar.setMax(max); in testMax()
43 assertThat(progressBar.getMax()).isEqualTo(max); in testMax()
50 progressBar.setProgress(progress); in testProgress()
51 assertThat(progressBar.getProgress()).isEqualTo(progress); in testProgress()
58 progressBar.setSecondaryProgress(progress); in testSecondaryProgress()
59 assertThat(progressBar.getSecondaryProgress()).isEqualTo(progress); in testSecondaryProgress()
65 assertFalse(progressBar.isIndeterminate()); in testIsDeterminate()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DProgressBarMixin.java44 final View progressBar = templateLayout.findManagedViewById(R.id.sud_layout_progress); in isShown() local
45 return progressBar != null && progressBar.getVisibility() == View.VISIBLE; in isShown()
56 View progressBar = getProgressBar(); in setShown() local
57 if (progressBar != null) { in setShown()
58 progressBar.setVisibility(View.VISIBLE); in setShown()
61 View progressBar = peekProgressBar(); in setShown() local
62 if (progressBar != null) { in setShown()
63 progressBar.setVisibility(View.GONE); in setShown()
76 final View progressBar = peekProgressBar(); in getProgressBar() local
77 if (progressBar == null) { in getProgressBar()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultTimeBar.java177 private final Rect progressBar; field in DefaultTimeBar
240 progressBar = new Rect(); in DefaultTimeBar()
501 int timeBarWidthDp = pxToDp(density, progressBar.width()); in getPreferredUpdateDelay()
653 progressBar.set(seekBounds.left + scrubberPadding, progressY, in onLayout()
781 bufferedBar.set(progressBar); in update()
782 scrubberBar.set(progressBar); in update()
785 int bufferedPixelWidth = (int) ((progressBar.width() * bufferedPosition) / duration); in update()
786 bufferedBar.right = Math.min(progressBar.left + bufferedPixelWidth, progressBar.right); in update()
787 int scrubberPixelPosition = (int) ((progressBar.width() * newScrubberTime) / duration); in update()
788 scrubberBar.right = Math.min(progressBar.left + scrubberPixelPosition, progressBar.right); in update()
[all …]
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/
DProgressListenerImpl.java74 frame.progressBar.setVisible(false); in onDone()
100 frame.progressBar.setValue(scanFileCount); in onFileScan()
116 frame.progressBar.setMaximum(addFileCount); in onFileScanBegin()
117 frame.progressBar.setValue(0); in onFileScanBegin()
118 frame.progressBar.setVisible(true); in onFileScanBegin()
DMigratorFrame.java91 JProgressBar progressBar; field in MigratorFrame
164 slh.placeBelow(otherLabel, progressBar, 0, BASIC_PADDING); in constrainAll()
184 getContentPane().add(progressBar); in addAllComponentsToContextPane()
267 progressBar = new JProgressBar(0, 1); in createProgressBar()
268 progressBar.setPreferredSize(new java.awt.Dimension((int) (X_SIZE * 0.8), 5)); in createProgressBar()
269 progressBar.setVisible(false); in createProgressBar()
/external/fonttools/Tests/misc/
DxmlReader_test.py106 progressBar = DummyProgressPrinter('test')
108 reader = XMLReader(tmp, TTFont(), progress=progressBar)
109 self.assertEqual(progressBar.pos, 0)
111 self.assertEqual(progressBar.pos, dataSize // 100)
112 self.assertEqual(progressBar.maxval, dataSize // 100)
113 self.assertTrue('test' in progressBar.label)
115 reader = XMLReader(tmp, TTFont(), progress=progressBar)
118 self.assertEqual(progressBar.maxval, 1)
/external/llvm/utils/lit/lit/
Dmain.py20 def __init__(self, opts, numTests, progressBar=None): argument
24 self.progressBar = progressBar
28 if self.progressBar:
29 self.progressBar.clear()
41 if self.progressBar:
42 self.progressBar.update(float(self.completed)/self.numTests,
51 if self.progressBar:
52 self.progressBar.clear()
409 progressBar = None
414 progressBar = lit.ProgressBar.ProgressBar(tc, header)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
Dmain.py29 def __init__(self, opts, numTests, progressBar=None): argument
32 self.progressBar = progressBar
36 if self.progressBar:
37 self.progressBar.clear()
49 if self.progressBar:
50 self.progressBar.update(float(self.completed)/self.numTests,
59 if self.progressBar:
60 self.progressBar.clear()
514 progressBar = None
519 progressBar = lit.ProgressBar.ProgressBar(tc, header)
[all …]
/external/perfetto/ui/src/frontend/
Dtopbar.ts159 private progressBar?: HTMLElement;
166 this.progressBar = vnodeDom.dom as HTMLElement;
179 if (this.progressBar === undefined) return;
183 this.progressBar.classList.add('progress-anim');
185 this.progressBar.classList.remove('progress-anim');
/external/python/cpython3/Tools/unittestgui/
Dunittestgui.py283 self.progressBar.setProgressFraction(0.0)
310 self.progressBar = ProgressBar(progressFrame, relief=tk.SUNKEN,
312 self.progressBar.pack(fill=tk.X, expand=1)
375 self.progressBar.setProgressFraction(0.0)
411 self.progressBar.setProgressFraction(fractionDone, fillColor)