Searched refs:snap (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp104 Snapshot snap; local
107 snap.mDurationMS = mSkAnimatedImage->decodeNextFrame();
108 snap.mPic.reset(mSkAnimatedImage->newPictureSnapshot());
111 return snap;
116 Snapshot snap; local
120 snap.mPic.reset(mSkAnimatedImage->newPictureSnapshot());
121 snap.mDurationMS = mSkAnimatedImage->currentFrameDuration();
124 return snap;
/frameworks/base/libs/hwui/
H A DGlopBuilder.h89 GlopBuilder& setModelViewMapUnitToRectOptionalSnap(bool snap, const Rect& destination) { argument
90 if (snap) {
98 GlopBuilder& setModelViewOffsetRectOptionalSnap(bool snap, float offsetX, float offsetY, argument
100 if (snap) {
107 // pass empty rect since not needed for damage / snap
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java40 * Call this to snap a notification to provided {@code targetLeft}.
42 public void snap(View animView, float velocity, float targetLeft); method in interface:NotificationSwipeActionHelper
/frameworks/base/core/java/com/android/internal/policy/
H A DDividerSnapAlgorithm.java34 * Calculates the snap targets and the snap position given a position and a velocity. All positions
45 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio
50 * 3 snap targets: fixed ratio, 1:1, (1 - fixed ratio)
55 * 1 snap target: 1:1
60 * 1 snap target: minimized height, (1 - minimized height)
173 return snap(position, hardDismiss);
183 SnapTarget target = snap(position, false /* hardDismiss */);
249 private SnapTarget snap(int position, boolean hardDismiss) { method in class:DividerSnapAlgorithm
419 * Represents a snap targe
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationMenuRow.java64 // menu item to snap back to menu (else it will cover the menu or it'll be dismissed)
224 // If the # of items showing changed we need to update the snap position
339 // we should stick to the menu, snap back into place, or dismiss
380 mSwipeHelper.snap(animView, targetLeft, velocity);
387 mSwipeHelper.snap(animView, 0 /* leftTarget */, velocity);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java64 /** Amount of time to wait before starting snap animation; in milliseconds */
70 /** Amount of translation needed before starting a snap animation */
224 snap();
651 // snap transformations; we don't animate
1051 private void snap() { method in class:PhotoView
1055 // Determine how much to snap in the horizontal direction [if any]
1075 // Determine how much to snap in the vertical direction [if any]
1107 * @param animate if {@code true}, animate during the rotation. Otherwise, snap rotate.
1205 * Stops the animation in place. It does not snap the image to its final zoom.
1283 * Stops the animation in place. It does not snap th
[all...]
/frameworks/av/include/media/nblog/
H A DNBLog.h541 void getAndProcessSnapshot(Snapshot & snap);
/frameworks/av/media/libnblog/include/media/nblog/
H A DNBLog.h541 void getAndProcessSnapshot(Snapshot & snap);
/frameworks/av/media/libnblog/
H A DNBLog.cpp864 std::unique_ptr<Snapshot> snap = getSnapshot(); local
865 getAndProcessSnapshot(*snap);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java1153 // We start the swipe and snap back in the same frame, we don't want any animation
1493 // If the child is showing the notification menu snap to that
4774 public void snap(View animView, float targetLeft, float velocity) { method in class:NotificationStackScrollLayout.NotificationSwipeHelper
/frameworks/base/config/
H A Dboot-image-profile.txt9211 HPLcom/android/internal/policy/DividerSnapAlgorithm;->snap(IZ)Lcom/android/internal/policy/DividerSnapAlgorithm$SnapTarget;
[all...]

Completed in 182 milliseconds