Searched refs:platformVersion (Results 1 – 6 of 6) sorted by relevance
57 public static boolean showOnScreenNavBar(int platformVersion) { in showOnScreenNavBar() argument58 return isGreaterOrEqual(platformVersion, ICE_CREAM_SANDWICH); in showOnScreenNavBar()61 public static int getStatusBarColor(int platformVersion) { in getStatusBarColor() argument63 return isGreaterOrEqual(platformVersion, GINGERBREAD) ? BLACK : WHITE; in getStatusBarColor()66 public static List<String> getResourceDirs(int platformVersion) { in getResourceDirs() argument68 if (platformVersion == 0) { in getResourceDirs()73 if (platformVersion <= GINGERBREAD) { in getResourceDirs()77 if (platformVersion <= JELLY_BEAN_MR2) { in getResourceDirs()81 if (platformVersion <= KITKAT) { in getResourceDirs()85 if (platformVersion <= LOLLIPOP) { in getResourceDirs()[all …]
126 private int getForegroundColor(int platformVersion) { in getForegroundColor() argument127 if (isGreaterOrEqual(platformVersion, M)) { in getForegroundColor()146 return getTimeColor(platformVersion); in getForegroundColor()
64 int32_t platformVersion = android_get_device_api_level(); in initH2C2ComponentStore() local65 if (platformVersion >= __ANDROID_API_S__) { in initH2C2ComponentStore()71 } else if (platformVersion == __ANDROID_API_R__) { in initH2C2ComponentStore()77 } else if (platformVersion == __ANDROID_API_Q__) { in initH2C2ComponentStore()
35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader() argument39 mPlatformVersion = platformVersion; in IconLoader()
743 int platformVersion = android_get_device_api_level(); in getDeclaredHidlSwcodec() local748 platformVersion = __ANDROID_API_V__; in getDeclaredHidlSwcodec()754 if (platformVersion < __ANDROID_API_S__) { in getDeclaredHidlSwcodec()762 if (platformVersion != __ANDROID_API_R__) { in getDeclaredHidlSwcodec()770 if (platformVersion != __ANDROID_API_Q__) { in getDeclaredHidlSwcodec()
70 mPlatformVersion = contextHub.platformVersion; in ContextHubInfo()