/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | FakeHdmiCecConfig.java | 47 Resources resources = spy(context.getResources()); in buildResources() local 49 doReturn(true).when(resources).getBoolean( in buildResources() 51 doReturn(true).when(resources).getBoolean( in buildResources() 53 doReturn(true).when(resources).getBoolean( in buildResources() 55 doReturn(true).when(resources).getBoolean( in buildResources() 57 doReturn(false).when(resources).getBoolean( in buildResources() 60 doReturn(true).when(resources).getBoolean( in buildResources() 62 doReturn(true).when(resources).getBoolean( in buildResources() 64 doReturn(true).when(resources).getBoolean( in buildResources() 66 doReturn(true).when(resources).getBoolean( in buildResources() [all …]
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 38 import com.android.resources.ResourceType; 39 import com.android.resources.ResourceUrl; 88 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()); in initSystem() local 89 resources.setImpl(new ResourcesImpl(assets, metrics, config, new DisplayAdjustments())); in initSystem() 90 resources.getConfiguration().windowConfiguration.setMaxBounds(0, 0, metrics.widthPixels, in initSystem() 92 sContexts.put(resources, Objects.requireNonNull(context)); in initSystem() 93 sLayoutlibCallbacks.put(resources, Objects.requireNonNull(layoutlibCallback)); in initSystem() 94 return Resources.mSystem = resources; in initSystem() 100 public static BridgeContext getContext(@NonNull Resources resources) { in getContext() argument 101 assert sContexts.containsKey(resources) : in getContext() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceFactory.java | 60 SensorManager sensorManager, Resources resources) { in create() argument 62 createBrightnessSensor(handler, sensorManager, resources); in create() 64 AmbientFilterFactory.createBrightnessFilter(BRIGHTNESS_FILTER_TAG, resources); in create() 66 createColorTemperatureSensor(handler, sensorManager, resources); in create() 68 .createColorTemperatureFilter(COLOR_TEMPERATURE_FILTER_TAG, resources); in create() 69 final DisplayWhiteBalanceThrottler throttler = createThrottler(resources); in create() 70 final float[] displayWhiteBalanceLowLightAmbientBrightnesses = getFloatArray(resources, in create() 74 resources, com.android.internal.R.array in create() 76 final float[] displayWhiteBalanceLowLightAmbientBiases = getFloatArray(resources, in create() 79 final float[] displayWhiteBalanceLowLightAmbientBiasesStrong = getFloatArray(resources, in create() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/ |
D | ComplicationHostViewModule.java | 71 static int providesComplicationPadding(@Main Resources resources) { in providesComplicationPadding() argument 72 return resources.getDimensionPixelSize(R.dimen.dream_overlay_complication_margin); in providesComplicationPadding() 77 static int providesComplicationMarginPositionStart(@Main Resources resources) { in providesComplicationMarginPositionStart() argument 78 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_start); in providesComplicationMarginPositionStart() 83 static int providesComplicationMarginPositionTop(@Main Resources resources) { in providesComplicationMarginPositionTop() argument 84 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_top); in providesComplicationMarginPositionTop() 89 static int providesComplicationMarginPositionEnd(@Main Resources resources) { in providesComplicationMarginPositionEnd() argument 90 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_end); in providesComplicationMarginPositionEnd() 95 static int providesComplicationMarginPositionBottom(@Main Resources resources) { in providesComplicationMarginPositionBottom() argument 96 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_bottom); in providesComplicationMarginPositionBottom() [all …]
|
D | OpenHubComplicationComponent.java | 71 OpenHubComplicationComponent create(@BindsInstance Resources resources); in create() argument 105 static Drawable providesOpenHubBackground(Context context, Resources resources) { in providesOpenHubBackground() argument 107 resources, in providesOpenHubBackground() 114 resources, in providesOpenHubBackground() 120 resources.getDrawable(R.drawable.dream_overlay_bottom_affordance_bg), in providesOpenHubBackground() 121 resources.getDimensionPixelOffset( in providesOpenHubBackground() 123 resources.getDimensionPixelSize(R.dimen.dream_overlay_bottom_affordance_inset) in providesOpenHubBackground() 127 private static DoubleShadowTextHelper.ShadowInfo createShadowInfo(Resources resources, in createShadowInfo() argument 131 resources.getDimension(blurId), in createShadowInfo() 132 resources.getDimension(offsetXId), in createShadowInfo() [all …]
|
D | DreamHomeControlsComplicationComponent.java | 67 DreamHomeControlsComplicationComponent create(@BindsInstance Resources resources); in create() argument 98 static Drawable providesHomeControlsBackground(Context context, Resources resources) { in providesHomeControlsBackground() argument 100 resources, in providesHomeControlsBackground() 107 resources, in providesHomeControlsBackground() 113 resources.getDrawable(R.drawable.dream_overlay_bottom_affordance_bg), in providesHomeControlsBackground() 114 resources.getDimensionPixelOffset( in providesHomeControlsBackground() 116 resources.getDimensionPixelSize(R.dimen.dream_overlay_bottom_affordance_inset) in providesHomeControlsBackground() 120 private static DoubleShadowTextHelper.ShadowInfo createShadowInfo(Resources resources, in createShadowInfo() argument 124 resources.getDimension(blurId), in createShadowInfo() 125 resources.getDimension(offsetXId), in createShadowInfo() [all …]
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/content/ |
D | ResourcesManager.kt | 29 private val resources: ConcurrentMap<String, WeakReference<Any>> = ConcurrentHashMap(0) constant in com.google.android.torus.utils.content.ResourcesManager 35 get() = resources.size 46 if (resources.contains(key) && in addResource() 47 resources[key] != null && in addResource() 48 resources[key]!!.get() != null in addResource() 53 resources[key] = WeakReference(resource) in addResource() 67 val resource: T = (resources[key]?.get() as T) ?: provider() in getOrAddResource() 68 resources[key] = WeakReference<Any>(resource) in getOrAddResource() 79 if (!resources.contains(key)) return null in getResource() 80 resources[key]?.let { in getResource() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | RefreshRateData.java | 99 @Nullable DisplayConfiguration config, @Nullable Resources resources) { in loadRefreshRateData() argument 102 int defaultRefreshRate = loadDefaultRefreshRate(refreshRateConfigs, resources); in loadRefreshRateData() 103 int defaultPeakRefreshRate = loadDefaultPeakRefreshRate(refreshRateConfigs, resources); in loadRefreshRateData() 104 int defaultRefreshRateInHbmHdr = loadDefaultRefreshRateInHbm(refreshRateConfigs, resources); in loadRefreshRateData() 106 refreshRateConfigs, resources); in loadRefreshRateData() 124 @Nullable RefreshRateConfigs refreshRateConfigs, @Nullable Resources resources) { in loadDefaultRefreshRate() argument 127 } else if (resources != null) { in loadDefaultRefreshRate() 128 return resources.getInteger(R.integer.config_defaultRefreshRate); in loadDefaultRefreshRate() 134 @Nullable RefreshRateConfigs refreshRateConfigs, @Nullable Resources resources) { in loadDefaultPeakRefreshRate() argument 137 } else if (resources != null) { in loadDefaultPeakRefreshRate() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/drawable/ |
D | DrawableSizeTest.kt | 19 lateinit var resources: Resources variable in com.android.systemui.util.drawable.DrawableSizeTest 23 resources = context.resources in setUp() 29 val result = DrawableSize.downscaleToSize(resources, drawable, 100, 100) in testDownscaleToSize_drawableZeroSize_unchanged() 37 resources, in testDownscaleToSize_drawableSmallerThanRequirement_unchanged() 38 Bitmap.createBitmap(resources.displayMetrics, 150, 150, Bitmap.Config.ARGB_8888) in testDownscaleToSize_drawableSmallerThanRequirement_unchanged() 40 val result = DrawableSize.downscaleToSize(resources, drawable, 300, 300) in testDownscaleToSize_drawableSmallerThanRequirement_unchanged() 50 resources, in testDownscaleToSize_drawableLargerThanRequirementWithDensity_resized() 51 Bitmap.createBitmap(resources.displayMetrics, 150, 75, Bitmap.Config.ARGB_8888) in testDownscaleToSize_drawableLargerThanRequirementWithDensity_resized() 54 val result = DrawableSize.downscaleToSize(resources, drawable, 75, 75) in testDownscaleToSize_drawableLargerThanRequirementWithDensity_resized() 63 resources.getDrawable(android.R.drawable.stat_sys_download, resources.newTheme()) in testDownscaleToSize_drawableAnimated_unchanged() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResourceMappingTests.cpp | 145 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay-legacy.apk", "", in TEST() local 148 ASSERT_TRUE(resources) << resources.GetErrorMessage(); in TEST() 149 auto& res = *resources; in TEST() 162 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", "SwapNames", in TEST() local 166 ASSERT_TRUE(resources) << resources.GetErrorMessage(); in TEST() 167 auto& res = *resources; in TEST() 178 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", in TEST() local 182 ASSERT_TRUE(resources) << resources.GetErrorMessage(); in TEST() 183 auto& res = *resources; in TEST() 193 auto resources = TestGetResourceMapping("target/target.apk", "overlay/overlay.apk", "Inline", in TEST() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/ |
D | DreamOverlayModule.java | 120 static int providesMaxBurnInOffset(@Main Resources resources) { in providesMaxBurnInOffset() argument 121 return resources.getDimensionPixelSize(R.dimen.default_burn_in_prevention_offset); in providesMaxBurnInOffset() 127 static long providesBurnInProtectionUpdateInterval(@Main Resources resources) { in providesBurnInProtectionUpdateInterval() argument 128 return resources.getInteger( in providesBurnInProtectionUpdateInterval() 135 static long providesMillisUntilFullJitter(@Main Resources resources) { in providesMillisUntilFullJitter() argument 136 return resources.getInteger(R.integer.config_dreamOverlayMillisUntilFullJitter); in providesMillisUntilFullJitter() 144 static int providesDreamBlurRadius(@Main Resources resources) { in providesDreamBlurRadius() argument 145 return resources.getDimensionPixelSize(R.dimen.dream_overlay_anim_blur_radius); in providesDreamBlurRadius() 153 static long providesDreamInBlurAnimationDuration(@Main Resources resources) { in providesDreamInBlurAnimationDuration() argument 154 return (long) resources.getInteger(R.integer.config_dreamOverlayInBlurDurationMs); in providesDreamInBlurAnimationDuration() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 42 final Resources resources = context.getResources(); in getWindowCornerRadius() local 43 if (!supportsRoundedCornersOnWindows(resources)) { in getWindowCornerRadius() 49 float defaultRadius = RoundedCorners.getRoundedCornerRadius(resources, displayUniqueId) in getWindowCornerRadius() 50 - RoundedCorners.getRoundedCornerRadiusAdjustment(resources, displayUniqueId); in getWindowCornerRadius() 52 float topRadius = RoundedCorners.getRoundedCornerTopRadius(resources, displayUniqueId) in getWindowCornerRadius() 53 - RoundedCorners.getRoundedCornerRadiusTopAdjustment(resources, displayUniqueId); in getWindowCornerRadius() 57 float bottomRadius = RoundedCorners.getRoundedCornerBottomRadius(resources, displayUniqueId) in getWindowCornerRadius() 58 - RoundedCorners.getRoundedCornerRadiusBottomAdjustment(resources, displayUniqueId); in getWindowCornerRadius() 91 public static boolean supportsRoundedCornersOnWindows(Resources resources) { in supportsRoundedCornersOnWindows() argument 92 return resources.getBoolean(R.bool.config_supportsRoundedCornersOnWindows); in supportsRoundedCornersOnWindows()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 328 std::vector<MediaResourceParcel> resources; in testOverridePid() local 329 resources.push_back(MediaResource(MediaResource::Type::kSecureCodec, 1)); in testOverridePid() 330 resources.push_back(MediaResource(MediaResource::Type::kGraphicMemory, 150)); in testOverridePid() 342 CHECK_STATUS_FALSE(mService->reclaimResource(clientInfo, resources, &result)); in testOverridePid() 346 CHECK_STATUS_TRUE(mService->reclaimResource(clientInfo, resources, &result)); in testOverridePid() 350 CHECK_STATUS_FALSE(mService->reclaimResource(clientInfo, resources, &result)); in testOverridePid() 371 std::vector<MediaResourceParcel> resources; in testMarkClientForPendingRemoval() local 372 resources.push_back(MediaResource(MediaResource::Type::kNonSecureCodec, 1)); in testMarkClientForPendingRemoval() 378 CHECK_STATUS_FALSE(mService->reclaimResource(client2Info, resources, &result)); in testMarkClientForPendingRemoval() 386 CHECK_STATUS_TRUE(mService->reclaimResource(client2Info, resources, &result)); in testMarkClientForPendingRemoval() [all …]
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 66 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap) { in AdaptiveOutlineDrawable() argument 67 super(new AdaptiveIconShapeDrawable(resources)); in AdaptiveOutlineDrawable() 69 init(resources, bitmap, ICON_TYPE_DEFAULT); in AdaptiveOutlineDrawable() 72 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap, in AdaptiveOutlineDrawable() argument 74 super(new AdaptiveIconShapeDrawable(resources)); in AdaptiveOutlineDrawable() 76 init(resources, bitmap, type); in AdaptiveOutlineDrawable() 79 private void init(Resources resources, Bitmap bitmap, in init() argument 84 resources.getString(com.android.internal.R.string.config_icon_mask))); in init() 85 mStrokeWidth = resources.getDimensionPixelSize(R.dimen.adaptive_outline_stroke); in init() 87 mOutlinePaint.setColor(getColor(resources, type)); in init() [all …]
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/ |
D | ConfigGenerator.java | 20 import com.android.ide.common.resources.configuration.CountryCodeQualifier; 21 import com.android.ide.common.resources.configuration.DensityQualifier; 22 import com.android.ide.common.resources.configuration.FolderConfiguration; 23 import com.android.ide.common.resources.configuration.KeyboardStateQualifier; 24 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier; 25 import com.android.ide.common.resources.configuration.LocaleQualifier; 26 import com.android.ide.common.resources.configuration.NavigationMethodQualifier; 27 import com.android.ide.common.resources.configuration.NetworkCodeQualifier; 28 import com.android.ide.common.resources.configuration.NightModeQualifier; 29 import com.android.ide.common.resources.configuration.ScreenDimensionQualifier; [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 39 final Resources resources = getContext().getResources(); in extractApkAndGetPath() local 40 try (InputStream is = resources.openRawResource(id)) { in extractApkAndGetPath() 41 File path = new File(getContext().getFilesDir(), resources.getResourceEntryName(id)); in extractApkAndGetPath() 56 private static void ensureNoLanguage(Resources resources, String language) { in ensureNoLanguage() argument 57 final String[] supportedLocales = resources.getAssets().getNonSystemLocales(); in ensureNoLanguage() 70 final Resources resources = createResourcesWithApk(R.raw.locales); in testEnglishIsAlwaysConsideredSupported() local 71 ensureNoLanguage(resources, "en"); in testEnglishIsAlwaysConsideredSupported() 77 resources.updateConfiguration(config, null); in testEnglishIsAlwaysConsideredSupported() 82 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported() 87 final Resources resources = createResourcesWithApk(R.raw.locales); in testSelectFirstSupportedLanguage() local [all …]
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | Namer.kt | 28 class Namer(resources: Resources) { 29 private val planetDescriptors = Bag(resources.getStringArray(R.array.planet_descriptors)) 30 private val lifeDescriptors = Bag(resources.getStringArray(R.array.life_descriptors)) 31 private val anyDescriptors = Bag(resources.getStringArray(R.array.any_descriptors)) 32 private val atmoDescriptors = Bag(resources.getStringArray(R.array.atmo_descriptors)) 34 private val planetTypes = Bag(resources.getStringArray(R.array.planet_types)) 35 private val constellations = Bag(resources.getStringArray(R.array.constellations)) 36 private val constellationsRare = Bag(resources.getStringArray(R.array.constellations_rare)) 37 private val suffixes = Bag(resources.getStringArray(R.array.star_suffixes)) 38 private val suffixesRare = Bag(resources.getStringArray(R.array.star_suffixes_rare)) [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/ |
D | SimBouncerInteractor.kt | 64 @Main private val resources: Resources, constant in com.android.systemui.bouncer.domain.interactor.SimBouncerInteractor 94 count < 2 && isPuk -> resources.getString(R.string.kg_puk_enter_puk_hint) in getDefaultMessage() 95 count < 2 -> resources.getString(R.string.kg_sim_pin_instructions) in getDefaultMessage() 99 resources.getString(R.string.kg_puk_enter_puk_hint_multi, displayName) in getDefaultMessage() 101 resources.getString(R.string.kg_sim_pin_instructions_multi, displayName) in getDefaultMessage() 102 isPuk -> resources.getString(R.string.kg_puk_enter_puk_hint) in getDefaultMessage() 103 else -> resources.getString(R.string.kg_sim_pin_instructions) in getDefaultMessage() 109 msg = resources.getString(R.string.kg_sim_lock_esim_instructions, msg) in getDefaultMessage() 180 _bouncerMessageChanged.emit(resources.getString(R.string.kg_invalid_sim_pin_hint)) in verifySimPin() 224 _bouncerMessageChanged.emit(resources.getString(R.string.kg_puk_enter_pin_hint)) in verifySimPuk() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | AmbientFilterFactory.java | 60 public static AmbientFilter createBrightnessFilter(String tag, Resources resources) { in createBrightnessFilter() argument 61 final int horizon = resources.getInteger( in createBrightnessFilter() 63 final float intercept = getFloat(resources, in createBrightnessFilter() 80 public static AmbientFilter createColorTemperatureFilter(String tag, Resources resources) { in createColorTemperatureFilter() argument 81 final int horizon = resources.getInteger( in createColorTemperatureFilter() 84 final float intercept = getFloat(resources, in createColorTemperatureFilter() 94 private static float getFloat(Resources resources, int id) { in getFloat() argument 97 resources.getValue(id, value, true /* resolveRefs */); in getFloat()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 65 return entry.resources.getDrawable(entry.id); in getDrawable() 75 return entry.resources.getString(entry.id); in getString() 83 return resourceEntry.resources.getColor(resourceEntry.id); in getColor() 92 return entry.resources.getText(entry.id); in getText() 113 return new ResourceEntry(partner.resources, partnerId, true); in getResourceEntry() 120 public Resources resources; field in Partner.ResourceEntry 124 ResourceEntry(Resources resources, int id, boolean isOverlay) { in ResourceEntry() argument 125 this.resources = resources; in ResourceEntry() 182 private final Resources resources; field in Partner 186 resources = res; in Partner() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/ |
D | RotationLockTileMapper.kt | 34 @Main private val resources: Resources, constant in com.android.systemui.qs.tiles.impl.rotation.ui.mapper.RotationLockTileMapper 39 QSTileState.build(resources, theme, config.uiConfig) { in map() 40 this.label = resources.getString(R.string.quick_settings_rotation_unlocked_label) in map() 42 resources.getString(R.string.accessibility_quick_settings_rotation) in map() 52 resources.getString(R.string.rotation_lock_camera_rotation_on) in map() 59 Icon.Loaded(resources.getDrawable(iconRes!!, theme), contentDescription = null) in map() 71 val intArray = resources.getIntArray(com.android.internal.R.array.config_foldedDeviceStates) in isDeviceFoldable() 76 val stateNames = resources.getStringArray(R.array.tile_states_rotation) in getSecondaryLabelWithPosture() 85 resources.getString(R.string.quick_settings_rotation_posture_folded) in getSecondaryLabelWithPosture() 86 else resources.getString(R.string.quick_settings_rotation_posture_unfolded) in getSecondaryLabelWithPosture() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricCustomizedViewBinder.kt | 125 context.resources in PromptVerticalListContentView() 172 val resources = context.resources in PromptContentItem() constant 186 resources.getDimensionPixelSize(R.dimen.biometric_prompt_content_padding_horizontal) in PromptContentItem() 187 val listItemPadding = getListItemPadding(resources) in PromptContentItem() 204 resources.getInteger( in PromptContentItem() 220 val resources = context.resources in toView() constant 236 getListItemBulletGapWidth(resources), in toView() 238 getListItemBulletRadius(resources) in toView() 255 resources.getDimensionPixelSize( in addSpaceViewBetweenListItem() 273 private fun PromptContentItem.getListItemPadding(resources: Resources): Int { in dummyItem() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | AdaptiveIconDrawable_Delegate.java | 62 Resources resources) { in createThemedVersionFromMonochrome() argument 64 int[] colors = getColors(resources); in createThemedVersionFromMonochrome() 69 private static int[] getColors(Resources resources) { in getColors() argument 71 if (resources.getConfiguration().isNightModeActive()) { in getColors() 72 colors[0] = resources.getColor(android.R.color.system_neutral1_800, null); in getColors() 73 colors[1] = resources.getColor(android.R.color.system_accent1_100, null); in getColors() 75 colors[0] = resources.getColor(android.R.color.system_accent1_100, null); in getColors() 76 colors[1] = resources.getColor(android.R.color.system_neutral2_700, null); in getColors()
|
/frameworks/base/core/java/android/os/vibrator/ |
D | VibrationConfig.java | 76 public VibrationConfig(@Nullable Resources resources) { in VibrationConfig() argument 77 mHapticChannelMaxVibrationAmplitude = loadFloat(resources, in VibrationConfig() 79 mRampDownDurationMs = loadInteger(resources, in VibrationConfig() 81 mRampStepDurationMs = loadInteger(resources, in VibrationConfig() 83 mRequestVibrationParamsTimeoutMs = loadInteger(resources, in VibrationConfig() 85 mRequestVibrationParamsForUsages = loadIntArray(resources, in VibrationConfig() 88 mIgnoreVibrationsOnWirelessCharger = loadBoolean(resources, in VibrationConfig() 90 mDefaultKeyboardVibrationEnabled = loadBoolean(resources, in VibrationConfig() 92 mHasFixedKeyboardAmplitude = loadFloat(resources, in VibrationConfig() 95 mDefaultAlarmVibrationIntensity = loadDefaultIntensity(resources, in VibrationConfig() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/dagger/ |
D | ObservableServiceModule.java | 48 static int providesMaxReconnectAttempts(@Main Resources resources) { in providesMaxReconnectAttempts() argument 49 return resources.getInteger( in providesMaxReconnectAttempts() 55 static int provideBaseReconnectDelayMs(@Main Resources resources) { in provideBaseReconnectDelayMs() argument 56 return resources.getInteger( in provideBaseReconnectDelayMs() 62 static int providesMinConnectionDuration(@Main Resources resources) { in providesMinConnectionDuration() argument 63 return resources.getInteger( in providesMinConnectionDuration()
|