OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vectorVel
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
FlingUpDownTouchHandler.java
299
float
vectorVel
= 0f;
303
vectorVel
=
317
int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY,
vectorVel
);
334
private int getFlingTarget(float pointerY, float
vectorVel
) {
338
if (
vectorVel
> 0) {
341
if (!flingEnabled || Math.abs(
vectorVel
) < minVelocityPxPerSecond) {
351
boolean sameDirection =
vectorVel
< 0 == progress > 0;
357
return
vectorVel
< 0 ? FlingTarget.ACCEPT : FlingTarget.REJECT;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PanelView.java
433
float
vectorVel
= 0f;
437
vectorVel
= (float) Math.hypot(
440
boolean expand = flingExpands(vel,
vectorVel
, x, y)
658
* @param
vectorVel
the length of the vectorial velocity
661
protected boolean flingExpands(float vel, float
vectorVel
, float x, float y) {
665
if (Math.abs(
vectorVel
) < mFlingAnimationUtils.getMinVelocityPxPerSecond()) {
[
all
...]
NotificationPanelView.java
[
all
...]
Completed in 181 milliseconds