/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | OverviewToSplitTimings.java | 53 abstract public int getDuration(); in getDuration() method in OverviewToSplitTimings 60 return (float) getGridSlideStart() / getDuration(); in getGridSlideStartOffset() 63 return (float) getGridSlideStagger() / getDuration(); in getGridSlideStaggerOffset() 66 return (float) getGridSlideDuration() / getDuration(); in getGridSlideDurationOffset() 69 return (float) getActionsFadeStart() / getDuration(); in getActionsFadeStartOffset() 72 return (float) getActionsFadeEnd() / getDuration(); in getActionsFadeEndOffset() 75 return (float) getIconFadeStart() / getDuration(); in getIconFadeStartOffset() 78 return (float) getIconFadeEnd() / getDuration(); in getIconFadeEndOffset() 81 return (float) getInstructionsContainerFadeInStart() / getDuration(); in getInstructionsContainerFadeInStartOffset() 84 return (float) getInstructionsContainerFadeInEnd() / getDuration(); in getInstructionsContainerFadeInEndOffset() [all …]
|
D | AppPairLaunchTimings.kt | 54 return cellSplitStart.toFloat() / getDuration() in getStagedRectSlideStart() 57 return cellSplitEnd.toFloat() / getDuration() in getCellSplitEndOffset() 60 return iconFadeStart.toFloat() / getDuration() in getIconFadeStartOffset() 63 return iconFadeEnd.toFloat() / getDuration() in getIconFadeEndOffset() 66 return appRevealStart.toFloat() / getDuration() in getAppRevealStartOffset() 69 return appRevealEnd.toFloat() / getDuration() in getAppRevealEndOffset() 71 abstract override fun getDuration(): Int method in com.android.quickstep.util.AppPairLaunchTimings
|
D | SplitAnimationTimings.java | 52 int getDuration(); in getDuration() method 68 return (float) getPlaceholderFadeInStart() / getDuration(); in getPlaceholderFadeInStartOffset() 71 return (float) getPlaceholderFadeInEnd() / getDuration(); in getPlaceholderFadeInEndOffset() 74 return (float) getPlaceholderIconFadeInStart() / getDuration(); in getPlaceholderIconFadeInStartOffset() 77 return (float) getPlaceholderIconFadeInEnd() / getDuration(); in getPlaceholderIconFadeInEndOffset() 80 return (float) getStagedRectSlideStart() / getDuration(); in getStagedRectSlideStartOffset() 83 return (float) getStagedRectSlideEnd() / getDuration(); in getStagedRectSlideEndOffset()
|
D | SplitToConfirmTimings.java | 47 abstract public int getDuration(); in getDuration() method in SplitToConfirmTimings 50 return (float) getInstructionsFadeStart() / getDuration(); in getInstructionsFadeStartOffset() 53 return (float) getInstructionsFadeEnd() / getDuration(); in getInstructionsFadeEndOffset() 56 return (float) getBackingScrimFadeInStart() / getDuration(); in getBackingScrimFadeInStartOffset() 59 return (float) getBackingScrimFadeInEnd() / getDuration(); in getBackingScrimFadeInEndOffset()
|
D | TabletHomeToSplitTimings.java | 39 return (float) getScrimFadeInStart() / getDuration(); in getScrimFadeInStartOffset() 42 return (float) getScrimFadeInEnd() / getDuration(); in getScrimFadeInEndOffset()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/ |
D | PreviewBackgroundTest.java | 73 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_restToHovered() 118 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_hoveredToRest() 133 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_restToAccept() 163 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_acceptToRest() 184 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_acceptToHover() 204 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_hoverToAccept() 228 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_midwayToHoverToAccept() 252 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_partWayToAcceptToHover() 288 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_midwayToHoverToRest() 308 assertEquals("Duration not correct.", mPreviewBackground.mScaleAnimator.getDuration(), in testAnimateScale_midwayToAcceptToRest()
|
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | ExerciseCompletionGoalInternalTest.java | 99 assertThat(restored.getDuration()).isEqualTo(original.getDuration()); in durationGoal_writeToParcelThenRestore_objectsAreIdentical() 111 .getDuration()) in durationGoal_convertToExternalAndBack_objectsAreIdentical() 112 .isEqualTo(original.getDuration()); in durationGoal_convertToExternalAndBack_objectsAreIdentical() 208 assertThat(restored.getDuration()).isEqualTo(original.getDuration()); in distanceWithVariableRestGoal_writeToParcelThenRestore_objectsAreIdentical() 223 assertThat(roundTripConverted.getDuration()).isEqualTo(original.getDuration()); in distanceWithVariableRestGoal_convertToExternalAndBack_objectsAreIdentical()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | ExerciseCompletionGoal.java | 97 public Duration getDuration() { in getDuration() method in ExerciseCompletionGoal.DistanceWithVariableRestGoal 107 && this.getDuration().equals(that.getDuration()); in equals() 162 public Duration getDuration() { in getDuration() method in ExerciseCompletionGoal.DurationGoal 171 return this.getDuration().equals(that.getDuration()); in equals()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/icons/ |
D | FastBitmapDrawableTest.java | 94 assertEquals("Duration not correct.", mFastBitmapDrawable.mScaleAnimation.getDuration(), in testOnStateChange_statePressed() 112 assertEquals("Duration not correct.", mFastBitmapDrawable.mScaleAnimation.getDuration(), in testOnStateChange_stateHovered() 142 assertEquals("Duration not correct.", mFastBitmapDrawable.mScaleAnimation.getDuration(), in testOnStateChange_statePressedAndHovered() 160 assertEquals("Duration not correct.", mFastBitmapDrawable.mScaleAnimation.getDuration(), in testOnStateChange_stateHoveredAndPressed() 238 assertEquals("Duration not correct.", mFastBitmapDrawable.mScaleAnimation.getDuration(), in testOnStateChange_stateDefaultFromPressed() 257 assertEquals("Duration not correct.", mFastBitmapDrawable.mScaleAnimation.getDuration(), in testOnStateChange_stateDefaultFromHovered() 275 mFastBitmapDrawable.mScaleAnimation.getDuration(), HOVER_FEEDBACK_DURATION); in testOnStateChange_stateHoveredWhilePartiallyScaled() 293 mFastBitmapDrawable.mScaleAnimation.getDuration(), CLICK_FEEDBACK_DURATION); in testOnStateChange_statePressedWhilePartiallyScaled()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | VoicemailEntryText.java | 88 long duration = voicemailEntry.getDuration(); in secondaryTextPrefix() 98 long minutes = TimeUnit.SECONDS.toMinutes(voicemailEntry.getDuration()); in getVoicemailDuration() 99 long seconds = voicemailEntry.getDuration() - TimeUnit.MINUTES.toSeconds(minutes); in getVoicemailDuration() 108 voicemailEntry.getDuration()); in getVoicemailDuration()
|
D | NewVoicemailMediaPlayerView.java | 215 if (seekBarView.getMax() != mp.getDuration()) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 216 seekBarView.setMax(mp.getDuration()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 228 if (seekBarView.getMax() != mp.getDuration()) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 229 seekBarView.setMax(mp.getDuration()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 577 Assert.checkArgument(mediaPlayer.getDuration() >= 0); in updateSeekBarDurationAndShowPlayButton() 584 if (seekBarView.getMax() != mediaPlayer.getDuration()) { in updateSeekBarDurationAndShowPlayButton() 585 seekBarView.setMax(mediaPlayer.getDuration()); in updateSeekBarDurationAndShowPlayButton() 640 if (seekBarView.getMax() != mediaPlayer.getDuration()) { in setToPausedState() 641 seekBarView.setMax(mediaPlayer.getDuration()); in setToPausedState() 656 Assert.checkArgument(this.mediaPlayer.getDuration() >= 0); in setToPausedState()
|
D | NewVoicemailMediaPlayer.java | 214 public int getDuration() { in getDuration() method in NewVoicemailMediaPlayer 216 return mediaPlayer.getDuration(); in getDuration()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | DurationTimer.java | 58 public long getDuration() { in getDuration() method in DurationTimer 69 long duration = getDuration(); in reset() 77 Log.i(mTag, message + " : " + getDuration() + "ms"); in log()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | SetupAnimationHelper.java | 143 if (animator.getDuration() > 0) { in applyAnimationTimeScale() 144 animator.setDuration((long) (animator.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale() 159 if (transition.getDuration() > 0) { in applyAnimationTimeScale() 160 transition.setDuration((long) (transition.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterFlags.java | 277 return getDuration( in getNotificationsMinDelay() 328 return getDuration( in getResolvingActionTimeout() 339 return getDuration(PROPERTY_FGS_ALLOWLIST_DURATION_MILLIS, FGS_ALLOWLIST_DEFAULT_DURATION); in getFgsAllowlistDuration() 445 return getDuration( in getTemporarilyHiddenIssueResurfaceDelay() 517 private static Duration getDuration(String property, Duration defaultValue) { in getDuration() method in SafetyCenterFlags
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorPlaybackController.java | 110 public long getDuration() { in getDuration() method in AnimatorPlaybackController 170 long expectedDurationL = s.getDuration(); in startWithVelocity() 381 this.globalEndProgress = anim.getDuration() / globalDuration; in Holder() 397 long forceDuration = anim.getDuration(); in addAnimationHoldersRecur()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | ExerciseCompletionGoalInternal.java | 53 return new DistanceWithVariableRestGoalInternal(goal.getDistance(), goal.getDuration()); in fromExternalObject() 61 return new DurationGoalInternal(goal.getDuration()); in fromExternalObject() 210 public Duration getDuration() { in getDuration() method in ExerciseCompletionGoalInternal.DurationGoalInternal 372 public Duration getDuration() { in getDuration() method in ExerciseCompletionGoalInternal.DistanceWithVariableRestGoalInternal
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallTonePlayer.java | 88 int getDuration(); in getDuration() method 134 public int getDuration() { in getDuration() method in InCallTonePlayer.MediaPlayerAdapterImpl 136 return mMediaPlayer.getDuration(); in getDuration() 447 int durationMillis = mToneMediaPlayer.getDuration(); in playMediaTone()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 96 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate() 133 float flatFraction = animation.getCurrentPlayTime() / (float) animation.getDuration(); in print()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | SimpleScrollAdapterTransform.java | 70 long duration = valueAnim.getDuration(); in applyTransformationRecursive() 80 long duration = animator.getDuration(); in initializeTransformationRecursive()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MediaAnimationController.java | 79 public int getDuration() { in getDuration() method in MediaAnimationController 80 return mMediaPlayer.getDuration(); in getDuration()
|
D | VideoPreference.java | 92 if (mAnimationController != null && mAnimationController.getDuration() > 0) { in initialize() 243 int getDuration(); in getDuration() method
|
/packages/apps/TV/src/com/android/tv/search/ |
D | LocalSearchProvider.java | 203 row.add(result.getDuration() == 0 ? null : String.valueOf(result.getDuration())); in createSuggestionsCursor() 324 abstract long getDuration(); in getDuration() method in LocalSearchProvider.SearchResult
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 236 mMediaPlayer.getDuration()); in setupMediaPlayer() 249 mMediaPlayer.getDuration()); in setupMediaPlayer() 250 mProgressBar.setDuration(mMediaPlayer.getDuration()); in setupMediaPlayer()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimPreparedModel.cpp | 214 auto result = mExecution->getDuration(Duration::ON_HARDWARE, &duration); in getExecutionInfo() 221 result = mExecution->getDuration(Duration::IN_DRIVER, &duration); in getExecutionInfo() 228 result = mExecution->getDuration(Duration::FENCED_ON_HARDWARE, &duration); in getExecutionInfo() 234 result = mExecution->getDuration(Duration::FENCED_IN_DRIVER, &duration); in getExecutionInfo() 375 auto result = execution->getDuration(Duration::ON_HARDWARE, &duration); in executeSynchronouslyInternal() 381 result = execution->getDuration(Duration::IN_DRIVER, &duration); in executeSynchronouslyInternal()
|