Searched refs:snap (Results 1 – 8 of 8) sorted by relevance
109 Snapshot snap; in decodeNextFrame() local112 snap.mDurationMS = mSkAnimatedImage->decodeNextFrame(); in decodeNextFrame()113 snap.mPic.reset(mSkAnimatedImage->newPictureSnapshot()); in decodeNextFrame()116 return snap; in decodeNextFrame()121 Snapshot snap; in reset() local125 snap.mPic.reset(mSkAnimatedImage->newPictureSnapshot()); in reset()126 snap.mDurationMS = mSkAnimatedImage->currentFrameDuration(); in reset()129 return snap; in reset()
155 boolean snap = shouldSnapToPowerButton(); in updateSnap()156 if (snap != mLastSnap) { in updateSnap()157 if (snap) { in updateSnap()163 mLastSnap = snap; in updateSnap()
80 void processSnapshot(Snapshot &snap, int author);
178 return snap(position, hardDismiss); in calculateSnapTarget()188 SnapTarget target = snap(position, false /* hardDismiss */); in calculateNonDismissingSnapTarget()264 private SnapTarget snap(int position, boolean hardDismiss) { in snap() method in DividerSnapAlgorithm
245 DividerSnapAlgorithm snap = initSnapAlgorithmForRotation(context, tmpDL, dividerSize); in getSmallestWidthDpForBounds() local256 snap.calculateNonDismissingSnapTarget(position).position; in getSmallestWidthDpForBounds()
152 DividerSnapAlgorithm snap = sdl.getSnapAlgorithm(); in LegacySplitScreenController()154 snap.calculateNonDismissingSnapTarget(position); in LegacySplitScreenController()
89 android::FenceTime::Snapshot snap(time); in signalFenceWithTime() local90 fence->applyTrustedSnapshot(snap); in signalFenceWithTime()
224 snap(); in onTouchEvent()1051 private void snap() { in snap() method in PhotoView1320 mHeader.snap(); in run()