Home
last modified time | relevance | path

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

12345678910

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
H A DComplicationHostViewModule.java71 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()
H A DDreamHomeControlsComplicationComponent.java69 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/
H A DDreamOverlayModule.java101 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()
H A DDreamModule.java119 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()
/aosp14/frameworks/base/cmds/idmap2/tests/
H A DResourceMappingTests.cpp145 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 …]
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesLocaleTest.java38 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
H A DResourcesDrawableTest.java46 Resources resources = context.getResources(); in testLoadColorAsDrawable() local
54 Resources resources = context.getResources(); in testLoadColorAsDrawableFailureThrowsOriginalException() local
79 Resources resources = context.getResources(); in testLoadNormalDrawableInColorDir() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/dagger/
H A DObservableServiceModule.java47 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()
/aosp14/frameworks/base/services/core/java/com/android/server/display/whitebalance/
H A DDisplayWhiteBalanceFactory.java60 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()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DUtilsTest.java144 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
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
H A 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()
H A DAdaptiveIconShapeDrawable.java41 public AdaptiveIconShapeDrawable(Resources resources) { in AdaptiveIconShapeDrawable()
53 private void init(Resources resources) { in init()
/aosp14/frameworks/base/services/core/java/com/android/server/display/utils/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
H A DThemeModule.java39 static String provideLauncherPackage(@Main Resources resources) { in provideLauncherPackage()
46 static String provideThemePickerPackage(@Main Resources resources) { in provideThemePickerPackage()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DUserIcons.java80 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()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DGestureLauncherService.java249 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 …]
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DScreenDecorationsUtils.java39 final Resources resources = context.getResources(); in getWindowCornerRadius() local
68 public static boolean supportsRoundedCornersOnWindows(Resources resources) { in supportsRoundedCornersOnWindows()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
H A DSensorModule.java91 static ProximitySensor provideProximitySensor( in provideProximitySensor()
120 @Main Resources resources in providePostureToProximitySensorMapping()
135 @Main Resources resources in providePostureToSecondaryProximitySensorMapping()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/
H A DTvSensorPrivacyChangedActivity.java126 final Resources resources = getResources(); in updateUI() local
185 final Resources resources = getResources(); in setIconTint() local
202 final Resources resources = getResources(); in setIconSize() local
H A DTvUnblockSensorActivity.java179 final Resources resources = getResources(); in updateUiForHardwareToggle() local
287 final Resources resources = getResources(); in setIconTint() local
304 final Resources resources = getResources(); in setIconSize() local
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreUtils.java48 static int getDescriptionResourceId(@NonNull Resources resources, in getDescriptionResourceId()
56 final Resources resources = getPackageResources(context, packageName, userId); in getDescriptionResourceId() local
/aosp14/frameworks/base/core/java/android/app/admin/
H A DParcelableResource.java188 Resources resources = getAppResourcesWithCallersConfiguration(context); in getDrawable() local
212 Resources resources = getAppResourcesWithCallersConfiguration(context); in getString() local
237 Resources resources = getAppResourcesWithCallersConfiguration(context); in getString() local
260 private void verifyResourceName(Resources resources) throws IllegalStateException { in verifyResourceName()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingModule.java76 static float providesDoubleTapTouchSlop(@Main Resources resources) { in providesDoubleTapTouchSlop()
97 static boolean providesIsFoldableDevice(@Main Resources resources) { in providesIsFoldableDevice()
/aosp14/frameworks/base/core/java/android/accessibilityservice/util/
H A DAccessibilityUtils.java119 final Resources resources = context.getResources(); in getScreenWidthPixels() local
133 final Resources resources = context.getResources(); in getScreenHeightPixels() local
/aosp14/frameworks/base/services/core/java/com/android/server/app/
H A DGameServiceProviderSelectorImpl.java53 GameServiceProviderSelectorImpl(@NonNull Resources resources, in GameServiceProviderSelectorImpl()
148 Resources resources = mPackageManager.getResourcesForApplication( in determineGameSessionServiceFromGameService() local

12345678910