Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp109 Snapshot snap; in decodeNextFrame() local
112 snap.mDurationMS = mSkAnimatedImage->decodeNextFrame(); in decodeNextFrame()
113 snap.mPic.reset(mSkAnimatedImage->newPictureSnapshot()); in decodeNextFrame()
116 return snap; in decodeNextFrame()
121 Snapshot snap; in reset() local
125 snap.mPic.reset(mSkAnimatedImage->newPictureSnapshot()); in reset()
126 snap.mDurationMS = mSkAnimatedImage->currentFrameDuration(); in reset()
129 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/av/media/libnblog/include/media/nblog/
DMerger.h80 void processSnapshot(Snapshot &snap, int author);
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java178 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
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitDisplayLayout.java245 DividerSnapAlgorithm snap = initSnapAlgorithmForRotation(context, tmpDL, dividerSize); in getSmallestWidthDpForBounds() local
256 snap.calculateNonDismissingSnapTarget(position).position; in getSmallestWidthDpForBounds()
DLegacySplitScreenController.java152 DividerSnapAlgorithm snap = sdl.getSnapAlgorithm(); in LegacySplitScreenController()
154 snap.calculateNonDismissingSnapTarget(position); in LegacySplitScreenController()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp89 android::FenceTime::Snapshot snap(time); in signalFenceWithTime() local
90 fence->applyTrustedSnapshot(snap); in signalFenceWithTime()
/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()