Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffectTest.kt183 var isFinished = false in finish_finishesLoadingEffect() variable
194 isFinished = true in finish_finishesLoadingEffect()
206 assertThat(isFinished).isFalse() in finish_finishesLoadingEffect()
211 assertThat(isFinished).isFalse() in finish_finishesLoadingEffect()
216 assertThat(isFinished).isTrue() in finish_finishesLoadingEffect()
226 var isFinished = false in finish_notMainState_hasNoEffect() variable
237 isFinished = true in finish_notMainState_hasNoEffect()
249 assertThat(isFinished).isFalse() in finish_notMainState_hasNoEffect()
253 assertThat(isFinished).isFalse() in finish_notMainState_hasNoEffect()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerOperationTest.java115 assertThat(mInterruptableOperation.isFinished()).isFalse(); in testStartWithCookie()
140 assertThat(mInterruptableOperation.isFinished()).isFalse(); in testNoStartWithoutCookie()
185 assertThat(mInterruptableOperation.isFinished()).isFalse(); in startsWhenReadyAndHalAvailable()
195 assertThat(mInterruptableOperation.isFinished()).isTrue(); in startsWhenReadyAndHalAvailable()
211 assertThat(mInterruptableOperation.isFinished()).isTrue(); in startFailsWhenReadyButHalNotAvailable()
274 assertThat(mInterruptableOperation.isFinished()).isTrue(); in abortsNotRunning()
318 assertThat(mInterruptableOperation.isFinished()).isTrue(); in cancel()
352 assertThat(mInterruptableOperation.isFinished()).isTrue(); in cancelCrashesWhenDebuggableIfOperationIsFinished()
365 assertThat(mInterruptableOperation.isFinished()).isTrue(); in cancelFailsNicelyWhenNotDebuggableIfOperationIsFinished()
379 assertThat(mInterruptableOperation.isFinished()).isFalse(); in markCanceling_interruptableClient()
[all …]
/frameworks/base/core/java/android/view/
DWindowInsetsAnimationController.java164 return !isFinished() && !isCancelled(); in isReady()
173 boolean isFinished(); in isFinished() method
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java139 assertFalse(mController.isFinished()); in testReady()
188 assertTrue(mController.isFinished()); in testFinishing()
202 assertFalse(mController.isFinished()); in testCancelled()
214 assertFalse(mController.isFinished()); in testCancelled_beforeReadyDispatched()
231 assertTrue(mController.isFinished()); in testFinish_immediately()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java651 mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowLeft.isFinished() in onInterceptTouchEvent()
652 || !mEdgeGlowRight.isFinished(); in onInterceptTouchEvent()
654 if (!mEdgeGlowLeft.isFinished()) { in onInterceptTouchEvent()
657 if (!mEdgeGlowRight.isFinished()) { in onInterceptTouchEvent()
703 if (!mScroller.isFinished()) { in onTouchEvent()
714 if (!mScroller.isFinished()) { in onTouchEvent()
779 if (!mEdgeGlowRight.isFinished()) { in onTouchEvent()
785 if (!mEdgeGlowLeft.isFinished()) { in onTouchEvent()
790 && (!mEdgeGlowLeft.isFinished() || !mEdgeGlowRight.isFinished())) { in onTouchEvent()
934 if (!mScroller.isFinished()) { in onOverScrolled()
[all …]
DScrollView.java737 mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowBottom.isFinished() in onInterceptTouchEvent()
738 || !mEdgeGlowTop.isFinished(); in onInterceptTouchEvent()
740 if (!mEdgeGlowTop.isFinished()) { in onInterceptTouchEvent()
743 if (!mEdgeGlowBottom.isFinished()) { in onInterceptTouchEvent()
798 if (!mScroller.isFinished()) { in onTouchEvent()
809 if (!mScroller.isFinished()) { in onTouchEvent()
889 if (!mEdgeGlowBottom.isFinished()) { in onTouchEvent()
895 if (!mEdgeGlowTop.isFinished()) { in onTouchEvent()
900 && (!mEdgeGlowTop.isFinished() || !mEdgeGlowBottom.isFinished())) { in onTouchEvent()
1053 if (!mScroller.isFinished()) { in onOverScrolled()
[all …]
DOverScroller.java151 public final boolean isFinished() { in isFinished() method in OverScroller
288 if (isFinished()) { in computeScrollOffset()
427 if (mFlywheel && !isFinished()) { in fling()
528 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
/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/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java109 assertTrue("Instrumentation did not finish", instrumentationTestRunner.isFinished()); in testUnhandledException()
146 assertTrue(mInstrumentationTestRunner.isFinished()); in testDelayParameter()
193 assertFalse(mInstrumentationTestRunner.isFinished()); in assertTestRunnerCalledWithExpectedParameters()
249 public boolean isFinished() { in isFinished() method in InstrumentationTestRunnerTest.StubInstrumentationTestRunner
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DPagedTileLayoutTest.kt53 assertThat(scroller.isFinished).isFalse() // aka we're scrolling in scrollsRight_afterRightScrollActionTriggered()
63 assertThat(scroller.isFinished).isFalse() // aka we're scrolling in scrollsLeft_afterLeftScrollActionTriggered()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationThread.java150 if (!mExecutingConductor.isFinished()) { in run()
293 while (!mExecutingConductor.isFinished()) { in playVibration()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java147 if (page.isFinished()) { in finishPage()
448 boolean isFinished() { in isFinished() method in PdfDocument.Page
/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/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java144 assertFalse(mTileQueryHelper.isFinished()); in testIsFinished_falseBeforeQuerying()
153 assertTrue(mTileQueryHelper.isFinished()); in testIsFinished_trueAfterQuerying()
168 assertFalse(mTileQueryHelper.isFinished()); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
176 assertTrue(mTileQueryHelper.isFinished()); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java462 if (mCurrentTracker.isFinished() && mQueuedTracker.isFinished()) { in onMotionEvent()
493 && mCurrentTracker.isFinished() && !mCurrentTracker.getTriggerBack() in onGestureStarted()
836 if (mCurrentTracker.isActive() || mCurrentTracker.isFinished()) { in finishBackAnimation()
869 if (mCurrentTracker.isFinished() && mCurrentTracker.getTriggerBack()) { in resetTouchTracker()
875 } else if (!mCurrentTracker.isFinished()) { in resetTouchTracker()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskContainer.java288 if (!container.isFinished()) { in getTopNonFinishingTaskFragmentContainer()
302 if (!container.isFinished()) { in getNonFinishingTaskFragmentContainerBelow()
559 if (!splitContainer.getPrimaryContainer().isFinished() in getTopNonFinishingSplitContainer()
560 && !splitContainer.getSecondaryContainer().isFinished()) { in getTopNonFinishingSplitContainer()
/frameworks/av/media/module/mpeg2ts/include/mpeg2ts/
DAnotherPacketSource.h77 bool isFinished(int64_t duration) const;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricSchedulerOperation.java137 if (!isFinished()) { in BiometricSchedulerOperation()
438 public boolean isFinished() { in isFinished() method in BiometricSchedulerOperation
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java479 boolean isFinished = false; in onTouchEvent()
482 isFinished = true; in onTouchEvent()
486 isFinished = true; in onTouchEvent()
499 if (isFinished) { in onTouchEvent()
/frameworks/base/core/java/android/window/
DBackTouchTracker.java120 public boolean isFinished() { in isFinished() method in BackTouchTracker
/frameworks/base/libs/hwui/
DAnimator.h90 bool isFinished() { return mPlayState == PlayState::Finished; } in isFinished() function

123