Home
last modified time | relevance | path

Searched defs:resources (Results 1 – 25 of 227) sorted by relevance

12345678910

/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java90 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()); in initSystem() local
100 public static BridgeContext getContext(@NonNull Resources resources) { in getContext()
109 public static LayoutlibCallback getLayoutlibCallback(@NonNull Resources resources) { in getLayoutlibCallback()
127 public static BridgeTypedArray newTypeArray(Resources resources, int numEntries) { in newTypeArray()
131 private static ResourceReference getResourceInfo(Resources resources, int id) { in getResourceInfo()
151 private static Pair<String, ResourceValue> getResourceValue(Resources resources, int id) { in getResourceValue()
170 static Drawable getDrawable(Resources resources, int id) { in getDrawable()
175 static Drawable getDrawable(Resources resources, int id, Theme theme) { in getDrawable()
204 static int getColor(Resources resources, int id) { in getColor()
209 static int getColor(Resources resources, int id, Theme theme) throws NotFoundException { in getColor()
[all …]
/frameworks/base/cmds/idmap2/tests/
DResourceMappingTests.cpp135 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay-legacy.apk", "", in TEST() local
152 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", "SwapNames", in TEST() local
168 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local
183 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", "Inline", in TEST() local
209 auto resources = TestGetResourceMapping("target/target.apk", tf.path, "SandTheme", in TEST() local
221 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local
240 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local
260 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local
295 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay-legacy.apk", "", in TEST() local
315 auto resources = TestGetResourceMapping("target/target-no-overlayable.apk", "overlay/overlay.apk", in TEST() local
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java36 final Resources resources = getContext().getResources(); in extractApkAndGetPath() local
53 private static void ensureNoLanguage(Resources resources, String language) { in ensureNoLanguage()
67 final Resources resources = createResourcesWithApk(R.raw.locales); in testEnglishIsAlwaysConsideredSupported() local
84 final Resources resources = createResourcesWithApk(R.raw.locales); in testSelectFirstSupportedLanguage() local
DResourcesDrawableTest.java44 Resources resources = context.getResources(); in testLoadColorAsDrawable() local
52 Resources resources = context.getResources(); in testLoadColorAsDrawableFailureThrowsOriginalException() local
77 Resources resources = context.getResources(); in testLoadNormalDrawableInColorDir() local
DResourcesManagerTest.java92 Resources resources = mResourcesManager.getResources( in testMultipleCallsWithIdenticalParametersCacheReference() local
106 Resources resources = mResourcesManager.getResources( in testMultipleCallsWithDifferentParametersReturnDifferentReferences() local
288 final Resources resources = mResourcesManager.createBaseTokenResources( in testOverrideDisplayAdjustments() local
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java60 SensorManager sensorManager, Resources resources) { in create()
112 SensorManager sensorManager, Resources resources) { in createBrightnessSensor()
123 Handler handler, SensorManager sensorManager, Resources resources) { in createColorTemperatureSensor()
133 private static DisplayWhiteBalanceThrottler createThrottler(Resources resources) { in createThrottler()
148 private static float getFloat(Resources resources, int id) { in getFloat()
157 private static float[] getFloatArray(Resources resources, int id) { in getFloatArray()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveOutlineDrawable.java64 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap) { in AdaptiveOutlineDrawable()
70 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap, in AdaptiveOutlineDrawable()
77 private void init(Resources resources, Bitmap bitmap, in init()
94 private @ColorInt int getColor(Resources resources, @AdaptiveOutlineIconType int type) { in getColor()
108 private int getDimensionPixelSize(Resources resources, @AdaptiveOutlineIconType int type) { in getDimensionPixelSize()
DAdaptiveIconShapeDrawable.java41 public AdaptiveIconShapeDrawable(Resources resources) { in AdaptiveIconShapeDrawable()
53 private void init(Resources resources) { in init()
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilterFactory.java60 public static AmbientFilter createBrightnessFilter(String tag, Resources resources) { in createBrightnessFilter()
80 public static AmbientFilter createColorTemperatureFilter(String tag, Resources resources) { in createColorTemperatureFilter()
94 private static float getFloat(Resources resources, int id) { in getFloat()
/frameworks/base/core/java/com/android/internal/policy/
DScreenDecorationsUtils.java33 public static float getWindowCornerRadius(Resources resources) { in getWindowCornerRadius()
61 public static boolean supportsRoundedCornersOnWindows(Resources resources) { in supportsRoundedCornersOnWindows()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java199 Resources resources = mContext.getResources(); in onBootPhase() local
236 Resources resources = mContext.getResources(); in updateCameraRegistered() local
284 private void registerCameraLaunchGesture(Resources resources) { in registerCameraLaunchGesture()
335 private void registerCameraLiftTrigger(Resources resources) { in registerCameraLiftTrigger()
403 private static boolean isCameraLaunchEnabled(Resources resources) { in isCameraLaunchEnabled()
411 static boolean isCameraDoubleTapPowerEnabled(Resources resources) { in isCameraDoubleTapPowerEnabled()
416 private static boolean isCameraLiftTriggerEnabled(Resources resources) { in isCameraLiftTriggerEnabled()
425 private static boolean isEmergencyGestureEnabled(Resources resources) { in isEmergencyGestureEnabled()
432 public static boolean isGestureLauncherEnabled(Resources resources) { in isGestureLauncherEnabled()
702 Resources resources = mContext.getResources(); in onTrigger() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java124 Resources resources = mock(Resources.class); in testGetDefaultStorageManagerDaysToRetain_storageManagerDaysToRetainUsesResources() local
321 final Resources resources = mContext.getResources(); in getBatteryStatus_statusIsFull_returnFullString() local
331 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevelIs100_returnFullString() local
342 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevel99_returnChargingString() local
353 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingWireless_returnWirelessChargingString() local
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DIResourceManagerService.aidl58 in MediaResourceParcel[] resources); in addResource()
67 void removeResource(int pid, long clientId, in MediaResourceParcel[] resources); in removeResource()
86 boolean reclaimResource(int callingPid, in MediaResourceParcel[] resources); in reclaimResource()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreUtils.java48 static int getDescriptionResourceId(@NonNull Resources resources, in getDescriptionResourceId()
56 final Resources resources = getPackageResources(context, packageName, userId); in getDescriptionResourceId() local
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp272 std::vector<MediaResourceParcel> resources; in testOverridePid() local
302 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local
326 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local
404 std::vector<MediaResourceParcel> resources; in testReclaimResourceSecure() local
506 std::vector<MediaResourceParcel> resources; in testReclaimResourceSecure() local
525 std::vector<MediaResourceParcel> resources; in testReclaimResourceNonSecure() local
580 std::vector<MediaResourceParcel> resources; in testReclaimResourceNonSecure() local
DResourceObserverService_test.cpp234 std::vector<MediaResourceParcel> resources; in TEST_F() local
275 std::vector<MediaResourceParcel> resources; in TEST_F() local
301 std::vector<MediaResourceParcel> resources; in TEST_F() local
385 std::vector<MediaResourceParcel> resources; in TEST_F() local
443 std::vector<MediaResourceParcel> resources; in TEST_F() local
/frameworks/base/core/java/android/accessibilityservice/util/
DAccessibilityUtils.java119 final Resources resources = context.getResources(); in getScreenWidthPixels() local
133 final Resources resources = context.getResources(); in getScreenHeightPixels() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java873 Resources resources = mContext.getResources(); in testSendUssdAllowUssdOverImsInOutOfService() local
889 Resources resources = mContext.getResources(); in testSendUssdAllowUssdOverImsInService() local
909 Resources resources = mContext.getResources(); in testSendUssdNotAllowUssdOverIms() local
925 Resources resources = mContext.getResources(); in testSendUssdAllowUssdOverImswithIMSPreferred() local
941 Resources resources = mContext.getResources(); in testSendUssdAllowUssdOverImswithCSOnly() local
960 Resources resources = mContext.getResources(); in testSendUssdAllowUssdOverImswithIMSOnly() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java120 public Resources resources; field in Partner.ResourceEntry
124 ResourceEntry(Resources resources, int id, boolean isOverlay) { in ResourceEntry()
182 private final Resources resources; field in Partner
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java60 public static void init(Resources resources) { in init()
64 public ResourceModifiers(Resources resources) { in ResourceModifiers()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAdaptiveOutlineDrawableTest.java36 final Resources resources = RuntimeEnvironment.application.getResources(); in constructor_initPaint() local
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptC.java62 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { in ScriptC()
93 …private static synchronized long internalCreate(RenderScript rs, Resources resources, int resource… in internalCreate()
/frameworks/base/rs/java/android/renderscript/
DScriptC.java64 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { in ScriptC()
92 …private static synchronized long internalCreate(RenderScript rs, Resources resources, int resource… in internalCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java144 final Resources resources = context.getResources(); in getBtRainbowDrawableWithDescription() local
162 final Resources resources = context.getResources(); in buildBtRainbowDrawable() local
187 final Resources resources = context.getResources(); in getBtDrawableWithDescription() local
273 final Resources resources = context.getResources(); in buildAdvancedDrawable() local
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java140 public static @Nullable FamilyResourceEntry parse(XmlPullParser parser, Resources resources) in parse()
155 Resources resources) throws XmlPullParserException, IOException { in readFamilies()
169 Resources resources) throws XmlPullParserException, IOException { in readFamily()
231 private static FontFileResourceEntry readFont(XmlPullParser parser, Resources resources) in readFont()

12345678910