Home
last modified time | relevance | path

Searched refs:snap (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp108 Snapshot snap; in decodeNextFrame() local
111 snap.mDurationMS = adjustFrameDuration(mSkAnimatedImage->decodeNextFrame()); in decodeNextFrame()
112 snap.mPic = mSkAnimatedImage->makePictureSnapshot(); in decodeNextFrame()
115 return snap; in decodeNextFrame()
120 Snapshot snap; in reset() local
124 snap.mPic = mSkAnimatedImage->makePictureSnapshot(); in reset()
125 snap.mDurationMS = currentFrameDuration(); in reset()
128 return snap; in reset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java155 boolean snap = shouldSnapToPowerButton(); in updateSnap()
156 if (snap != mLastSnap) { in updateSnap()
157 if (snap) { in updateSnap()
163 mLastSnap = snap; in updateSnap()
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestValues.kt21 import androidx.compose.animation.core.snap
61 from(TestScenes.SceneC, to = TestScenes.SceneA) { spec = snap() } in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ui/composable/
DMediaOutputComponent.kt20 import androidx.compose.animation.core.snap in <lambda>()
152 fadeOut(animationSpec = snap()) in <lambda>()
154 fadeIn(animationSpec = snap(delayMillis = 900)) togetherWith in <lambda>()
175 fadeIn(animationSpec = snap(delayMillis = 700)) togetherWith in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerSnapAlgorithm.java193 return snap(position, hardDismiss); in calculateSnapTarget()
203 SnapTarget target = snap(position, false /* hardDismiss */); in calculateNonDismissingSnapTarget()
294 private SnapTarget snap(int position, boolean hardDismiss) { in snap() method in DividerSnapAlgorithm
450 return snap(currentPosition, /* hardDismiss */ true).snapPosition; in calculateNearestSnapPosition()
/frameworks/av/media/libnblog/include/media/nblog/
DMerger.h80 void processSnapshot(Snapshot &snap, int author);
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DTransitionDslImpl.kt24 import androidx.compose.animation.core.snap
87 progressSpec = snap(), in overscroll()
DSceneTransitions.kt22 import androidx.compose.animation.core.snap in <lambda>()
215 progressSpec = snap(), in reversed()
/frameworks/native/libs/renderengine/skia/
DGraphiteVkRenderEngine.cpp87 std::unique_ptr<graphite::Recording> recording = context->graphiteRecorder()->snap(); in flushAndSubmit()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java224 snap(); in onTouchEvent()
1051 private void snap() { in snap() method in PhotoView
1320 mHeader.snap(); in run()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp73 android::FenceTime::Snapshot snap(time); in signalFenceWithTime() local
74 fence->applyTrustedSnapshot(snap); in signalFenceWithTime()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt27 import androidx.compose.animation.core.snap in <lambda>()
606 animationSpec = if (message?.isUpdateAnimated == true) tween() else snap(), in StatusMessage()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java730 return snap( in dividerPositionWithPositionOptions()
754 private static int snap(int dividerPosition, int[] possiblePositions) {
/frameworks/base/services/core/java/com/android/server/wm/
DTransition.java3950 SurfaceControl snap = in cleanUp() local
3953 if (snap == null) continue; in cleanUp()
3954 t.reparent(snap, null /* newParent */); in cleanUp()