Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DConfig.java57 public static boolean showOnScreenNavBar(int platformVersion) { in showOnScreenNavBar() argument
58 return isGreaterOrEqual(platformVersion, ICE_CREAM_SANDWICH); in showOnScreenNavBar()
61 public static int getStatusBarColor(int platformVersion) { in getStatusBarColor() argument
63 return isGreaterOrEqual(platformVersion, GINGERBREAD) ? BLACK : WHITE; in getStatusBarColor()
66 public static List<String> getResourceDirs(int platformVersion) { in getResourceDirs() argument
68 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 …]
DStatusBar.java126 private int getForegroundColor(int platformVersion) { in getForegroundColor() argument
127 if (isGreaterOrEqual(platformVersion, M)) { in getForegroundColor()
146 return getTimeColor(platformVersion); in getForegroundColor()
/frameworks/av/media/module/codecserviceregistrant/fuzzer/
DcodecServiceRegistrant_fuzzer.cpp64 int32_t platformVersion = android_get_device_api_level(); in initH2C2ComponentStore() local
65 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()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader() argument
39 mPlatformVersion = platformVersion; in IconLoader()
/frameworks/av/media/module/codecserviceregistrant/
DCodecServiceRegistrant.cpp743 int platformVersion = android_get_device_api_level(); in getDeclaredHidlSwcodec() local
748 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()
/frameworks/base/core/java/android/hardware/location/
DContextHubInfo.java70 mPlatformVersion = contextHub.platformVersion; in ContextHubInfo()