OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:snapTarget
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DividerView.java
60
import com.android.internal.policy.DividerSnapAlgorithm.
SnapTarget
;
173
resizeStack(msg.arg1, msg.arg2, (
SnapTarget
) msg.obj);
221
SnapTarget
nextTarget = null;
405
public void stopDragging(int position,
SnapTarget
target, long duration,
410
public void stopDragging(int position,
SnapTarget
target, long duration,
415
public void stopDragging(int position,
SnapTarget
target, long duration, long startDelay,
494
SnapTarget
snapTarget
= getSnapAlgorithm().calculateSnapTarget(
496
resizeStackDelayed(calculatePosition(x, y), mStartPosition,
snapTarget
);
517
private void logResizeEvent(
SnapTarget
snapTarget)
[
all
...]
/frameworks/base/core/java/com/android/internal/policy/
DividerSnapAlgorithm.java
66
private final ArrayList<
SnapTarget
> mTargets = new ArrayList<>();
75
private final
SnapTarget
mFirstSplitTarget;
78
private final
SnapTarget
mLastSplitTarget;
80
private final
SnapTarget
mDismissStartTarget;
81
private final
SnapTarget
mDismissEndTarget;
82
private final
SnapTarget
mMiddleTarget;
146
public
SnapTarget
calculateSnapTarget(int position, float velocity) {
155
public
SnapTarget
calculateSnapTarget(int position, float velocity, boolean hardDismiss) {
172
public
SnapTarget
calculateNonDismissingSnapTarget(int position) {
173
SnapTarget
target = snap(position, false /* hardDismiss */)
[
all
...]
PipSnapAlgorithm.java
144
Point
snapTarget
= findClosestPoint(stackBounds.left, stackBounds.top, snapTargets);
145
float distance = distanceToPoint(
snapTarget
, stackBounds.left, stackBounds.top);
149
newBounds.offsetTo(
snapTarget
.x,
snapTarget
.y);
165
Point
snapTarget
= findClosestPoint(stackBounds.left, stackBounds.top, snapTargets);
166
newBounds.offsetTo(
snapTarget
.x,
snapTarget
.y);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NavigationBarGestureHelper.java
31
import com.android.internal.policy.DividerSnapAlgorithm.
SnapTarget
;
237
SnapTarget
snapTarget
= mDivider.getView().getSnapAlgorithm()
239
mDivider.getView().resizeStack(position,
snapTarget
.position,
snapTarget
);
Completed in 236 milliseconds