[go: nahoru, domu]

Searched defs:yDiff (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDirectionEvaluator.java20 public static float evaluate(float xDiff, float yDiff, int type) { argument
22 boolean vertical = Math.abs(yDiff) >= Math.abs(xDiff);
26 if (!vertical || yDiff <= 0.0) {
36 if (!vertical || yDiff >= 0.0) {
41 if (xDiff < 0.0 && yDiff > 0.0) {
46 if (xDiff > 0.0 && yDiff > 0.0) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java1349 private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) { argument
1358 return onHeader || (yDiff < 0 && isInQsArea(x, y));

Completed in 83 milliseconds