Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java124 public int getLeftSensitivity(Resources userRes) { in getLeftSensitivity() argument
127 return (int) (getUnscaledInset(userRes) * scale); in getLeftSensitivity()
135 public int getLeftSensitivityForCallingUser(Resources userRes) { in getLeftSensitivityForCallingUser() argument
138 return (int) (getUnscaledInset(userRes) * scale); in getLeftSensitivityForCallingUser()
145 public int getRightSensitivity(Resources userRes) { in getRightSensitivity() argument
148 return (int) (getUnscaledInset(userRes) * scale); in getRightSensitivity()
156 public int getRightSensitivityForCallingUser(Resources userRes) { in getRightSensitivityForCallingUser() argument
159 return (int) (getUnscaledInset(userRes) * scale); in getRightSensitivityForCallingUser()
167 private float getUnscaledInset(Resources userRes) { in getUnscaledInset() argument
168 final DisplayMetrics dm = userRes.getDisplayMetrics(); in getUnscaledInset()
[all …]