Searched refs:userRes (Results 1 – 1 of 1) sorted by relevance
124 public int getLeftSensitivity(Resources userRes) { in getLeftSensitivity() argument127 return (int) (getUnscaledInset(userRes) * scale); in getLeftSensitivity()135 public int getLeftSensitivityForCallingUser(Resources userRes) { in getLeftSensitivityForCallingUser() argument138 return (int) (getUnscaledInset(userRes) * scale); in getLeftSensitivityForCallingUser()145 public int getRightSensitivity(Resources userRes) { in getRightSensitivity() argument148 return (int) (getUnscaledInset(userRes) * scale); in getRightSensitivity()156 public int getRightSensitivityForCallingUser(Resources userRes) { in getRightSensitivityForCallingUser() argument159 return (int) (getUnscaledInset(userRes) * scale); in getRightSensitivityForCallingUser()167 private float getUnscaledInset(Resources userRes) { in getUnscaledInset() argument168 final DisplayMetrics dm = userRes.getDisplayMetrics(); in getUnscaledInset()[all …]