Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DConstants.java306 public static boolean isPhone(final int screenMetrics) { in isPhone() argument
307 return screenMetrics == SCREEN_METRICS_SMALL_PHONE in isPhone()
308 || screenMetrics == SCREEN_METRICS_LARGE_PHONE; in isPhone()
312 public static boolean isTablet(final int screenMetrics) { in isTablet() argument
313 return screenMetrics == SCREEN_METRICS_SMALL_TABLET in isTablet()
314 || screenMetrics == SCREEN_METRICS_LARGE_TABLET; in isTablet()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBogusMoveEventDetector.java45 final int screenMetrics = res.getInteger(R.integer.config_screen_metrics); in init() local
46 final boolean isLargeTablet = (screenMetrics == Constants.SCREEN_METRICS_LARGE_TABLET); in init()
47 final boolean isSmallTablet = (screenMetrics == Constants.SCREEN_METRICS_SMALL_TABLET); in init()
55 + " screenMetrics=" + screenMetrics); in init()