/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/ |
D | ComplicationHostViewModule.java | 71 static int providesComplicationPadding(@Main Resources resources) { in providesComplicationPadding() 77 static int providesComplicationMarginPositionStart(@Main Resources resources) { in providesComplicationMarginPositionStart() 83 static int providesComplicationMarginPositionTop(@Main Resources resources) { in providesComplicationMarginPositionTop() 89 static int providesComplicationMarginPositionEnd(@Main Resources resources) { in providesComplicationMarginPositionEnd() 95 static int providesComplicationMarginPositionBottom(@Main Resources resources) { in providesComplicationMarginPositionBottom() 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 | 69 DreamHomeControlsComplicationComponent create(@BindsInstance Resources resources); in create() 100 static Drawable providesHomeControlsBackground(Context context, Resources resources) { in providesHomeControlsBackground() 127 private static DoubleShadowTextHelper.ShadowInfo createShadowInfo(Resources resources, in createShadowInfo()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 88 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()); in initSystem() local 98 public static BridgeContext getContext(@NonNull Resources resources) { in getContext() 107 public static LayoutlibCallback getLayoutlibCallback(@NonNull Resources resources) { in getLayoutlibCallback() 125 public static BridgeTypedArray newTypeArray(Resources resources, int numEntries) { in newTypeArray() 129 private static ResourceReference getResourceInfo(Resources resources, int id) { in getResourceInfo() 149 private static Pair<String, ResourceValue> getResourceValue(Resources resources, int id) { in getResourceValue() 168 static Drawable getDrawable(Resources resources, int id) { in getDrawable() 173 static Drawable getDrawable(Resources resources, int id, Theme theme) { in getDrawable() 210 static int getColor(Resources resources, int id) { in getColor() 215 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 | 101 static int providesMaxBurnInOffset(@Main Resources resources) { in providesMaxBurnInOffset() 108 static long providesBurnInProtectionUpdateInterval(@Main Resources resources) { in providesBurnInProtectionUpdateInterval() 116 static long providesMillisUntilFullJitter(@Main Resources resources) { in providesMillisUntilFullJitter() 125 static int providesDreamBlurRadius(@Main Resources resources) { in providesDreamBlurRadius() 134 static long providesDreamInBlurAnimationDuration(@Main Resources resources) { in providesDreamInBlurAnimationDuration() 143 static long providesDreamInComplicationsAnimationDuration(@Main Resources resources) { in providesDreamInComplicationsAnimationDuration() 153 static int providesDreamInComplicationsTranslationY(@Main Resources resources) { in providesDreamInComplicationsTranslationY() 163 static long providesDreamInComplicationsTranslationYDuration(@Main Resources resources) { in providesDreamInComplicationsTranslationYDuration()
|
D | DreamModule.java | 119 static boolean providesDreamOnlyEnabledForDockUser(@Main Resources resources) { in providesDreamOnlyEnabledForDockUser() 127 static boolean providesDreamSupported(@Main Resources resources) { in providesDreamSupported() 134 static String providesDreamOverlayWindowTitle(@Main Resources resources) { in providesDreamOverlayWindowTitle()
|
/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/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 38 final Resources resources = getContext().getResources(); in extractApkAndGetPath() local 55 private static void ensureNoLanguage(Resources resources, String language) { in ensureNoLanguage() 69 final Resources resources = createResourcesWithApk(R.raw.locales); in testEnglishIsAlwaysConsideredSupported() local 86 final Resources resources = createResourcesWithApk(R.raw.locales); in testSelectFirstSupportedLanguage() local
|
D | ResourcesDrawableTest.java | 46 Resources resources = context.getResources(); in testLoadColorAsDrawable() local 54 Resources resources = context.getResources(); in testLoadColorAsDrawableFailureThrowsOriginalException() local 79 Resources resources = context.getResources(); in testLoadNormalDrawableInColorDir() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/dagger/ |
D | ObservableServiceModule.java | 47 static int providesMaxReconnectAttempts(@Main Resources resources) { in providesMaxReconnectAttempts() 54 static int provideBaseReconnectDelayMs(@Main Resources resources) { in provideBaseReconnectDelayMs() 61 static int providesMinConnectionDuration(@Main Resources resources) { in providesMinConnectionDuration()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceFactory.java | 60 SensorManager sensorManager, Resources resources) { in create() 121 SensorManager sensorManager, Resources resources) { in createBrightnessSensor() 132 Handler handler, SensorManager sensorManager, Resources resources) { in createColorTemperatureSensor() 142 private static DisplayWhiteBalanceThrottler createThrottler(Resources resources) { in createThrottler() 157 private static float getFloat(Resources resources, int id) { in getFloat() 166 private static float[] getFloatArray(Resources resources, int id) { in getFloatArray()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 144 Resources resources = mock(Resources.class); in testGetDefaultStorageManagerDaysToRetain_storageManagerDaysToRetainUsesResources() local 343 final Resources resources = mContext.getResources(); in getBatteryStatus_statusIsFull_returnFullString() local 354 final Resources resources = mContext.getResources(); in getBatteryStatus_statusIsFullAndUseCompactStatus_returnFullyChargedString() local 364 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevelIs100_returnFullString() local 374 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevelIs100AndUseCompactStatus_returnFullyString() local 385 final Resources resources = mContext.getResources(); in getBatteryStatus_batteryLevel99_returnChargingString() local 396 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingDock_returnDockChargingString() local 407 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingWireless_returnWirelessChargingString() local 418 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString() local 429 final Resources resources = mContext.getResources(); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString() local
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 64 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()
|
D | AdaptiveIconShapeDrawable.java | 41 public AdaptiveIconShapeDrawable(Resources resources) { in AdaptiveIconShapeDrawable() 53 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/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 39 final Resources resources = context.getResources(); in getWindowCornerRadius() local 68 public static boolean supportsRoundedCornersOnWindows(Resources resources) { in supportsRoundedCornersOnWindows()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 249 Resources resources = mContext.getResources(); in onBootPhase() local 301 Resources resources = mContext.getResources(); in updateCameraRegistered() local 357 private void registerCameraLaunchGesture(Resources resources) { in registerCameraLaunchGesture() 408 private void registerCameraLiftTrigger(Resources resources) { in registerCameraLiftTrigger() 491 private static boolean isCameraLaunchEnabled(Resources resources) { in isCameraLaunchEnabled() 499 static boolean isCameraDoubleTapPowerEnabled(Resources resources) { in isCameraDoubleTapPowerEnabled() 504 private static boolean isCameraLiftTriggerEnabled(Resources resources) { in isCameraLiftTriggerEnabled() 513 private static boolean isEmergencyGestureEnabled(Resources resources) { in isEmergencyGestureEnabled() 517 private static boolean isDefaultEmergencyGestureEnabled(Resources resources) { in isDefaultEmergencyGestureEnabled() 525 public static boolean isGestureLauncherEnabled(Resources resources) { in isGestureLauncherEnabled() [all …]
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 333 std::vector<MediaResourceParcel> resources; in testOverridePid() local 377 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local 405 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local 498 std::vector<MediaResourceParcel> resources; in testReclaimResourceSecure() local 631 std::vector<MediaResourceParcel> resources; in testReclaimResourceSecure() local 655 std::vector<MediaResourceParcel> resources; in testReclaimResourceNonSecure() local 733 std::vector<MediaResourceParcel> resources; in testReclaimResourceNonSecure() local 1074 std::vector<MediaResourceParcel> resources; in testReclaimResourcesFromMarkedClients_removesBiggestMarkedClientForSomeResources() local 1105 std::vector<MediaResourceParcel> resources; in testReclaimResourcesFromMarkedClients_removesBiggestMarkedClientForSomeResources() local 1136 std::vector<MediaResourceParcel> resources; in testReclaimResourcesFromMarkedClients_removesBiggestMarkedClientForSomeResources() local [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/aidl/android/media/ |
D | IResourceManagerService.aidl | 56 in MediaResourceParcel[] resources); in addResource() 64 void removeResource(in ClientInfoParcel clientInfo, in MediaResourceParcel[] resources); in removeResource() 82 boolean reclaimResource(in ClientInfoParcel clientInfo, in MediaResourceParcel[] resources); in reclaimResource()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/enterprise/ |
D | EnterpriseRepository.kt | 26 private val resources by lazy { in <lambda>() constant
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreUtils.java | 48 static int getDescriptionResourceId(@NonNull Resources resources, in getDescriptionResourceId() 56 final Resources resources = getPackageResources(context, packageName, userId); in getDescriptionResourceId() local
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | AdaptiveIconDrawable_Delegate.java | 62 Resources resources) { in createThemedVersionFromMonochrome() 69 private static int[] getColors(Resources resources) { in getColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/ |
D | TvSensorPrivacyChangedActivity.java | 126 final Resources resources = getResources(); in updateUI() local 185 final Resources resources = getResources(); in setIconTint() local 202 final Resources resources = getResources(); in setIconSize() local
|