/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 90 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()); in initSystem() local 102 public static BridgeContext getContext(@NonNull Resources resources) { in getContext() 111 public static LayoutlibCallback getLayoutlibCallback(@NonNull Resources resources) { in getLayoutlibCallback() 129 public static BridgeTypedArray newTypeArray(Resources resources, int numEntries) { in newTypeArray() 133 private static ResourceReference getResourceInfo(Resources resources, int id) { in getResourceInfo() 153 private static Pair<String, ResourceValue> getResourceValue(Resources resources, int id) { in getResourceValue() 172 static Drawable getDrawable(Resources resources, int id) { in getDrawable() 177 static Drawable getDrawable(Resources resources, int id, Theme theme) { in getDrawable() 214 static int getColor(Resources resources, int id) { in getColor() 219 static int getColor(Resources resources, int id, Theme theme) throws NotFoundException { in getColor() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/ |
D | DreamOverlayModule.java | 115 static int providesMaxBurnInOffset(@Main Resources resources) { in providesMaxBurnInOffset() 122 static long providesBurnInProtectionUpdateInterval(@Main Resources resources) { in providesBurnInProtectionUpdateInterval() 130 static long providesMillisUntilFullJitter(@Main Resources resources) { in providesMillisUntilFullJitter() 139 static int providesDreamBlurRadius(@Main Resources resources) { in providesDreamBlurRadius() 148 static long providesDreamInBlurAnimationDuration(@Main Resources resources) { in providesDreamInBlurAnimationDuration() 157 static long providesDreamInComplicationsAnimationDuration(@Main Resources resources) { in providesDreamInComplicationsAnimationDuration() 167 static int providesDreamInComplicationsTranslationY(@Main Resources resources) { in providesDreamInComplicationsTranslationY() 177 static long providesDreamInComplicationsTranslationYDuration(@Main Resources resources) { in providesDreamInComplicationsTranslationYDuration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/ |
D | ComplicationHostViewModule.java | 67 static int providesComplicationPadding(@Main Resources resources) { in providesComplicationPadding() 77 static ComplicationLayoutEngine.Margins providesComplicationMargins(@Main Resources resources, in providesComplicationMargins() 104 static int providesComplicationsFadeOutDuration(@Main Resources resources) { in providesComplicationsFadeOutDuration() 113 static int providesComplicationsFadeOutDelay(@Main Resources resources) { in providesComplicationsFadeOutDelay() 122 static int providesComplicationsFadeInDuration(@Main Resources resources) { in providesComplicationsFadeInDuration() 131 static int providesComplicationsRestoreTimeout(@Main Resources resources) { in providesComplicationsRestoreTimeout()
|
D | DreamHomeControlsComplicationComponent.java | 67 DreamHomeControlsComplicationComponent create(@BindsInstance Resources resources); in create() 98 static Drawable providesHomeControlsBackground(Context context, Resources resources) { in providesHomeControlsBackground() 120 private static DoubleShadowTextHelper.ShadowInfo createShadowInfo(Resources resources, in createShadowInfo()
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResourceMappingTests.cpp | 145 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay-legacy.apk", "", in TEST() local 162 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", "SwapNames", in TEST() local 178 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local 193 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", "Inline", in TEST() local 225 auto resources = TestGetResourceMapping("target/target.apk", tf.path, "SandTheme", in TEST() local 247 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local 266 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local 286 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local 321 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay-legacy.apk", "", in TEST() local 341 auto resources = TestGetResourceMapping("target/target-no-overlayable.apk", "overlay/overlay.apk", in TEST() local [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 159 Resources resources = mock(Resources.class); in testGetDefaultStorageManagerDaysToRetain_storageManagerDaysToRetainUsesResources() local 347 final Resources resources = mContext.getResources(); in getBatteryStatus_statusIsFull_returnFullString() local 359 final Resources resources = mContext.getResources(); in getBatteryStatus_statusIsFullAndUseCompactStatus_returnFullyChargedString() local 370 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevelIs100_returnFullString() local 381 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevelIs100AndUseCompactStatus_returnFullyString() local 392 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevel99_returnChargingString() local 403 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingDock_returnDockChargingString() local 414 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingWireless_returnWirelessChargingString() local 425 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString() local 436 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString() local
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 62 final Resources resources = mContext.getResources(); in extractApkAndGetPath() local 88 private static void ensureNoLanguage(Resources resources, String language) { in ensureNoLanguage() 102 final Resources resources = createResourcesWithApk(R.raw.locales); in testEnglishIsAlwaysConsideredSupported() local 119 final Resources resources = createResourcesWithApk(R.raw.locales); in testSelectFirstSupportedLanguage() local 150 final Resources resources = createResourcesWithSelfApk(); in assertResGetString() local
|
D | ResourcesDrawableTest.java | 53 Resources resources = context.getResources(); in testLoadColorAsDrawable() local 61 Resources resources = context.getResources(); in testLoadColorAsDrawableFailureThrowsOriginalException() local 86 Resources resources = context.getResources(); in testLoadNormalDrawableInColorDir() local
|
D | ResourcesManagerTest.java | 133 Resources resources = mResourcesManager.getResources( in testMultipleCallsWithIdenticalParametersCacheReference() local 148 Resources resources = mResourcesManager.getResources( in testMultipleCallsWithDifferentParametersReturnDifferentReferences() local 373 Resources resources = mResourcesManager.getResources( in testExistingResourcesAfterResourcePathsRegistration() local 401 Resources resources = mResourcesManager.getResources( in testNewResourcesAfterResourcePathsRegistration() local 424 Resources resources = new Resources(new AssetManager(), metrics, config); in testExistingResourcesCreatedByConstructorAfterResourcePathsRegistration() local 500 Resources resources = mResourcesManager.getResources( in testNewResourcesWithOutdatedImplAfterResourcePathsRegistration() local 534 Resources resources = mResourcesManager.getResources( in testRegisteringOwnApplicationInfo() local
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceFactory.java | 60 SensorManager sensorManager, Resources resources) { in create() 145 SensorManager sensorManager, Resources resources) { in createBrightnessSensor() 156 Handler handler, SensorManager sensorManager, Resources resources) { in createColorTemperatureSensor() 166 private static DisplayWhiteBalanceThrottler createThrottler(Resources resources) { in createThrottler() 181 private static float getFloat(Resources resources, int id) { in getFloat() 190 private static float[] getFloatArray(Resources resources, int id) { in getFloatArray()
|
/frameworks/av/services/mediaresourcemanager/aidl/android/media/ |
D | IResourceManagerService.aidl | 56 in MediaResourceParcel[] resources); in addResource() 67 in MediaResourceParcel[] resources); in updateResource() 75 void removeResource(in ClientInfoParcel clientInfo, in MediaResourceParcel[] resources); in removeResource() 93 boolean reclaimResource(in ClientInfoParcel clientInfo, in MediaResourceParcel[] resources); in reclaimResource() 190 void getMediaResourceUsageReport(out MediaResourceParcel[] resources); in getMediaResourceUsageReport()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/dagger/ |
D | ObservableServiceModule.java | 48 static int providesMaxReconnectAttempts(@Main Resources resources) { in providesMaxReconnectAttempts() 55 static int provideBaseReconnectDelayMs(@Main Resources resources) { in provideBaseReconnectDelayMs() 62 static int providesMinConnectionDuration(@Main Resources resources) { in providesMinConnectionDuration()
|
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | RefreshRateData.java | 99 @Nullable DisplayConfiguration config, @Nullable Resources resources) { in loadRefreshRateData() 124 @Nullable RefreshRateConfigs refreshRateConfigs, @Nullable Resources resources) { in loadDefaultRefreshRate() 134 @Nullable RefreshRateConfigs refreshRateConfigs, @Nullable Resources resources) { in loadDefaultPeakRefreshRate() 144 @Nullable RefreshRateConfigs refreshRateConfigs, @Nullable Resources resources) { in loadDefaultRefreshRateInHbm() 155 @Nullable RefreshRateConfigs refreshRateConfigs, @Nullable Resources resources) { in loadDefaultRefreshRateInHbmSunlight()
|
D | HysteresisLevels.java | 244 @Nullable DisplayConfiguration config, @Nullable Resources resources) { in loadAmbientBrightnessConfig() 260 @Nullable DisplayConfiguration config, @Nullable Resources resources) { in loadDisplayBrightnessConfig() 276 @Nullable DisplayConfiguration config, @Nullable Resources resources) { in loadAmbientBrightnessIdleConfig() 292 @Nullable DisplayConfiguration config, @Nullable Resources resources) { in loadDisplayBrightnessIdleConfig() 313 @Nullable Resources resources, in createHysteresisLevels() 359 @Nullable Resources resources) { in getBrightnessLevelAndPercentage()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 66 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap) { in AdaptiveOutlineDrawable() 72 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap, in AdaptiveOutlineDrawable() 79 private void init(Resources resources, Bitmap bitmap, in init() 96 private @ColorInt int getColor(Resources resources, @AdaptiveOutlineIconType int type) { in getColor() 110 private int getDimensionPixelSize(Resources resources, @AdaptiveOutlineIconType int type) { in getDimensionPixelSize()
|
D | AdaptiveIconShapeDrawable.java | 42 public AdaptiveIconShapeDrawable(Resources resources) { in AdaptiveIconShapeDrawable() 54 private void init(Resources resources) { in init()
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | AmbientFilterFactory.java | 60 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/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeModule.java | 39 static String provideLauncherPackage(@Main Resources resources) { in provideLauncherPackage() 46 static String provideThemePickerPackage(@Main Resources resources) { in provideThemePickerPackage()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | UserIcons.java | 80 public static Drawable getDefaultUserIcon(Resources resources, int userId, boolean light) { in getDefaultUserIcon() 95 public static Drawable getDefaultUserIconInColor(Resources resources, @ColorInt int color) { in getDefaultUserIconInColor() 105 public static int[] getUserIconColors(Resources resources) { in getUserIconColors()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | LightSensorController.java | 81 LightSensorController(SensorManager sensorManager, Resources resources, in LightSensorController() 87 LightSensorController(SensorManager sensorManager, Resources resources, in LightSensorController() 147 AmbientFilter getAmbientFilter(Resources resources) { in getAmbientFilter() 151 int getLightSensorRate(Resources resources) { in getLightSensorRate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 265 Resources resources = mContext.getResources(); in onBootPhase() local 324 Resources resources = mContext.getResources(); in updateCameraRegistered() local 388 private void registerCameraLaunchGesture(Resources resources) { in registerCameraLaunchGesture() 439 private void registerCameraLiftTrigger(Resources resources) { in registerCameraLiftTrigger() 535 private static int getDoubleTapPowerGestureMode(Resources resources) { in getDoubleTapPowerGestureMode() 589 private static boolean isCameraLaunchEnabled(Resources resources) { in isCameraLaunchEnabled() 597 static boolean isCameraDoubleTapPowerEnabled(Resources resources) { in isCameraDoubleTapPowerEnabled() 602 private static boolean isCameraLiftTriggerEnabled(Resources resources) { in isCameraLiftTriggerEnabled() 611 private static boolean isEmergencyGestureEnabled(Resources resources) { in isEmergencyGestureEnabled() 615 private static boolean isDefaultEmergencyGestureEnabled(Resources resources) { in isDefaultEmergencyGestureEnabled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
D | SensorModule.java | 91 static ProximitySensor provideProximitySensor( in provideProximitySensor() 120 @Main Resources resources in providePostureToProximitySensorMapping() 135 @Main Resources resources in providePostureToSecondaryProximitySensorMapping()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 330 std::vector<MediaResourceParcel> resources; in testOverridePid() local 373 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local 401 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local 516 std::vector<MediaResourceParcel> resources; in testSelfReclaimResourceSecure() local 572 std::vector<MediaResourceParcel> resources; in testReclaimResourceSecure() local 699 std::vector<MediaResourceParcel> resources; in testReclaimResourceSecure() local 723 std::vector<MediaResourceParcel> resources; in testReclaimResourceNonSecure() local 801 std::vector<MediaResourceParcel> resources; in testReclaimResourceNonSecure() local 1143 std::vector<MediaResourceParcel> resources; in testReclaimResourcesFromMarkedClients_removesBiggestMarkedClientForSomeResources() local 1174 std::vector<MediaResourceParcel> resources; in testReclaimResourcesFromMarkedClients_removesBiggestMarkedClientForSomeResources() local [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 44 final Resources resources = context.getResources(); in getWindowCornerRadius() local 99 public static boolean supportsRoundedCornersOnWindows(Resources resources) { in supportsRoundedCornersOnWindows()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/ |
D | WindowDecorTaskResourceLoader.kt | 115 val resources = loadAppResources(taskInfo) in getName() constant 129 val resources = loadAppResources(taskInfo) in getHeaderIcon() constant 143 val resources = loadAppResources(taskInfo) in getVeilIcon() constant
|