Home
last modified time | relevance | path

Searched refs:isFinished (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/testing/
DRandomInputStream.java47 if (isFinished()) { in read()
57 if (isFinished()) { in read()
75 private boolean isFinished() { in isFinished() method in RandomInputStream
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerOperationTest.java102 assertThat(mOperation.isFinished()).isFalse(); in testStartWithCookie()
126 assertThat(mOperation.isFinished()).isFalse(); in testNoStartWithoutCookie()
170 assertThat(mOperation.isFinished()).isFalse(); in startsWhenReadyAndHalAvailable()
179 assertThat(mOperation.isFinished()).isTrue(); in startsWhenReadyAndHalAvailable()
195 assertThat(mOperation.isFinished()).isTrue(); in startFailsWhenReadyButHalNotAvailable()
257 assertThat(mOperation.isFinished()).isTrue(); in abortsNotRunning()
301 assertThat(mOperation.isFinished()).isTrue(); in cancel()
335 assertThat(mOperation.isFinished()).isTrue(); in cancelCrashesWhenDebuggableIfOperationIsFinished()
347 assertThat(mOperation.isFinished()).isTrue(); in cancelFailsNicelyWhenNotDebuggableIfOperationIsFinished()
361 assertThat(mOperation.isFinished()).isFalse(); in markCanceling()
[all …]
/frameworks/base/core/java/android/view/
DWindowInsetsAnimationController.java164 return !isFinished() && !isCancelled(); in isReady()
173 boolean isFinished(); in isFinished() method
DInsetsResizeAnimationRunner.java210 public boolean isFinished() { in isFinished() method in InsetsResizeAnimationRunner
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java129 assertFalse(mController.isFinished()); in testReady()
178 assertTrue(mController.isFinished()); in testFinishing()
192 assertFalse(mController.isFinished()); in testCancelled()
204 assertFalse(mController.isFinished()); in testCancelled_beforeReadyDispatched()
221 assertTrue(mController.isFinished()); in testFinish_immediately()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java641 mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowLeft.isFinished() in onInterceptTouchEvent()
642 || !mEdgeGlowRight.isFinished(); in onInterceptTouchEvent()
644 if (!mEdgeGlowLeft.isFinished()) { in onInterceptTouchEvent()
647 if (!mEdgeGlowRight.isFinished()) { in onInterceptTouchEvent()
693 if (!mScroller.isFinished()) { in onTouchEvent()
704 if (!mScroller.isFinished()) { in onTouchEvent()
769 if (!mEdgeGlowRight.isFinished()) { in onTouchEvent()
775 if (!mEdgeGlowLeft.isFinished()) { in onTouchEvent()
780 && (!mEdgeGlowLeft.isFinished() || !mEdgeGlowRight.isFinished())) { in onTouchEvent()
900 if (!mScroller.isFinished()) { in onOverScrolled()
[all …]
DScrollView.java689 mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowBottom.isFinished() in onInterceptTouchEvent()
690 || !mEdgeGlowTop.isFinished(); in onInterceptTouchEvent()
692 if (!mEdgeGlowTop.isFinished()) { in onInterceptTouchEvent()
695 if (!mEdgeGlowBottom.isFinished()) { in onInterceptTouchEvent()
750 if (!mScroller.isFinished()) { in onTouchEvent()
761 if (!mScroller.isFinished()) { in onTouchEvent()
845 if (!mEdgeGlowBottom.isFinished()) { in onTouchEvent()
851 if (!mEdgeGlowTop.isFinished()) { in onTouchEvent()
856 && (!mEdgeGlowTop.isFinished() || !mEdgeGlowBottom.isFinished())) { in onTouchEvent()
962 if (!mScroller.isFinished()) { in onOverScrolled()
[all …]
DOverScroller.java151 public final boolean isFinished() { in isFinished() method in OverScroller
288 if (isFinished()) { in computeScrollOffset()
425 if (mFlywheel && !isFinished()) { in fling()
526 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
DSpellChecker.java263 if (spellParser.isFinished()) { in spellCheck()
526 if (!spellParser.isFinished()) { in scheduleNewSpellCheck()
670 public boolean isFinished() { in isFinished() method in SpellChecker.SpellParser
DNumberPicker.java920 if (!mFlingScroller.isFinished()) { in onInterceptTouchEvent()
925 } else if (!mAdjustScroller.isFinished()) { in onInterceptTouchEvent()
1050 if (mFlingScroller.isFinished()) { in dispatchKeyEvent()
1131 if (scroller.isFinished()) { in computeScroll()
1133 if (scroller.isFinished()) { in computeScroll()
1144 if (scroller.isFinished()) { in computeScroll()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java108 assertTrue("Instrumentation did not finish", instrumentationTestRunner.isFinished()); in testUnhandledException()
145 assertTrue(mInstrumentationTestRunner.isFinished()); in testDelayParameter()
192 assertFalse(mInstrumentationTestRunner.isFinished()); in assertTestRunnerCalledWithExpectedParameters()
248 public boolean isFinished() { in isFinished() method in InstrumentationTestRunnerTest.StubInstrumentationTestRunner
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java298 final boolean isFinished = mCount >= mMaxCount || mValue * RADIX > mMaxValue; in handleKeyUp()
299 mListener.onValueChanged(this, mValue, isValid, isFinished); in handleKeyUp()
329 void onValueChanged(NumericTextView view, int value, boolean isValid, boolean isFinished); in onValueChanged() argument
DAutoScrollHelper.java696 if (scroller.isFinished() || !shouldAnimate()) { in run()
780 public boolean isFinished() { in isFinished() method in AutoScrollHelper.ClampedScroller
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java147 if (page.isFinished()) { in finishPage()
448 boolean isFinished() { in isFinished() method in PdfDocument.Page
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationThread.java150 if (!mExecutingConductor.isFinished()) { in run()
291 while (!mExecutingConductor.isFinished()) { in playVibration()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp183 if ((mAudioTrack != NULL && mAudioTrack->isFinished(mediaDurationUs)) in haveSufficientDataOnAllTracks()
184 || (mVideoTrack != NULL && mVideoTrack->isFinished(mediaDurationUs))) { in haveSufficientDataOnAllTracks()
236 if (source->isFinished(mediaDurationUs)) { in dequeueAccessUnit()
363 || src->isFinished(/* duration */ 0)) { in checkBuffering()
367 if (src->isFinished(/* duration */ 0)) { in checkBuffering()
452 return (source != NULL && source->isFinished(mediaDurationUs)); in sourceNearEOS()
DRTPSource.cpp219 if ((mAudioTrack != NULL && mAudioTrack->isFinished(mediaDurationUs)) in haveSufficientDataOnAllTracks()
220 || (mVideoTrack != NULL && mVideoTrack->isFinished(mediaDurationUs))) { in haveSufficientDataOnAllTracks()
275 if (source->isFinished(mediaDurationUs)) { in dequeueAccessUnit()
287 if (!(otherSource != NULL && otherSource->isFinished(mediaDurationUs))) { in dequeueAccessUnit()
/frameworks/compile/slang/
Dslang_rs_reflection_state.cpp504 slangAssert(mFiles.Current().mForEaches[mForEachOpen].mIns.isFinished()); in endForEach()
505 slangAssert(mFiles.Current().mForEaches[mForEachOpen].mParams.isFinished()); in endForEach()
598 if (invokables.isFinished()) { in declareInvokable()
656 while (!invokables.isFinished()) { in endInvokables()
857 if (reduces.isFinished()) { in declareReduce()
938 while (!reduces.isFinished()) { in endReduces()
983 if (variables.isFinished()) { in declareVariable()
1121 while (!variables.isFinished()) { in endVariables()
/frameworks/base/core/java/com/android/internal/inputmethod/
DRemoteInputConnectionImpl.java212 public boolean isFinished() { in isFinished() method in RemoteInputConnectionImpl
219 return mParentInputMethodManager.isActive() && !isFinished(); in isActive()
242 if (isFinished()) { in scheduleInvalidateInput()
313 if (isFinished()) { in deactivate()
322 if (isFinished()) { in deactivate()
383 + " finished=" + isFinished() in toString()
754 if (isFinished()) { in finishComposingTextFromImm()
782 if (isFinished()) { in finishComposingText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java145 assertFalse(mTileQueryHelper.isFinished()); in testIsFinished_falseBeforeQuerying()
154 assertTrue(mTileQueryHelper.isFinished()); in testIsFinished_trueAfterQuerying()
169 assertFalse(mTileQueryHelper.isFinished()); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
177 assertTrue(mTileQueryHelper.isFinished()); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java476 boolean isFinished = false; in onTouchEvent()
479 isFinished = true; in onTouchEvent()
483 isFinished = true; in onTouchEvent()
496 if (isFinished) { in onTouchEvent()
/frameworks/av/media/libstagefright/mpeg2ts/include/mpeg2ts/
DAnotherPacketSource.h77 bool isFinished(int64_t duration) const;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricSchedulerOperation.java136 if (!isFinished()) { in BiometricSchedulerOperation()
424 public boolean isFinished() { in isFinished() method in BiometricSchedulerOperation
/frameworks/base/libs/hwui/
DAnimator.h90 bool isFinished() { return mPlayState == PlayState::Finished; } in isFinished() function
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitControllerTest.java185 doReturn(true).when(tf3).isFinished(); in testGetTopActiveContainer()
331 doReturn(true).when(tf).isFinished(); in testUpdateContainer()
338 doReturn(false).when(tf).isFinished(); in testUpdateContainer()
1065 assertTrue(primaryContainer.isFinished()); in testFinishTwoSplitThatShouldFinishTogether()
1066 assertTrue(secondaryContainer0.isFinished()); in testFinishTwoSplitThatShouldFinishTogether()
1067 assertTrue(secondaryContainer1.isFinished()); in testFinishTwoSplitThatShouldFinishTogether()

123