Searched refs:screenMetrics (Results 1 – 2 of 2) sorted by relevance
306 public static boolean isPhone(final int screenMetrics) { in isPhone() argument307 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() argument313 return screenMetrics == SCREEN_METRICS_SMALL_TABLET in isTablet()314 || screenMetrics == SCREEN_METRICS_LARGE_TABLET; in isTablet()
45 final int screenMetrics = res.getInteger(R.integer.config_screen_metrics); in init() local46 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()