Home
last modified time | relevance | path

Searched refs:getInteger (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/aosp14/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteGlobal.java98 Resources.getSystem().getInteger( in getJournalSizeLimit()
135 Resources.getSystem().getInteger( in getWALAutoCheckpoint()
145 Resources.getSystem().getInteger( in getWALConnectionPoolSize()
156 Resources.getSystem().getInteger( in getIdleConnectionTimeout()
173 Resources.getSystem().getInteger( in getWALTruncateSize()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A DWirelessChargingLayout.java96 final long chargingAnimationFadeStartOffset = context.getResources().getInteger( in init()
98 final long chargingAnimationFadeDuration = context.getResources().getInteger( in init()
110 textSizeAnimator.setDuration(context.getResources().getInteger( in init()
116 textOpacityAnimator.setDuration(context.getResources().getInteger( in init()
118 textOpacityAnimator.setStartDelay(context.getResources().getInteger( in init()
211 textSizeAnimatorTransmitting.setDuration(context.getResources().getInteger( in init()
218 textOpacityAnimatorTransmitting.setDuration(context.getResources().getInteger( in init()
221 context.getResources().getInteger(R.integer.wireless_charging_anim_opacity_offset)); in init()
247 textOpacityAnimatorIcon.setDuration(context.getResources().getInteger( in init()
250 context.getResources().getInteger(R.integer.wireless_charging_anim_opacity_offset)); in init()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/dagger/
H A DObservableServiceModule.java48 return resources.getInteger( in providesMaxReconnectAttempts()
55 return resources.getInteger( in provideBaseReconnectDelayMs()
62 return resources.getInteger( in providesMinConnectionDuration()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/
H A DDreamOverlayModule.java109 return resources.getInteger( in providesBurnInProtectionUpdateInterval()
117 return resources.getInteger(R.integer.config_dreamOverlayMillisUntilFullJitter); in providesMillisUntilFullJitter()
135 return (long) resources.getInteger(R.integer.config_dreamOverlayInBlurDurationMs); in providesDreamInBlurAnimationDuration()
144 return (long) resources.getInteger(R.integer.config_dreamOverlayInComplicationsDurationMs); in providesDreamInComplicationsAnimationDuration()
164 return (long) resources.getInteger(R.integer.config_dreamOverlayInTranslationYDurationMs); in providesDreamInComplicationsTranslationYDuration()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
H A DComplicationHostViewModule.java105 return resources.getInteger(R.integer.complicationFadeOutMs); in providesComplicationsFadeOutDuration()
114 return resources.getInteger(R.integer.complicationFadeOutDelayMs); in providesComplicationsFadeOutDelay()
123 return resources.getInteger(R.integer.complicationFadeInMs); in providesComplicationsFadeInDuration()
132 return resources.getInteger(R.integer.complicationRestoreMs); in providesComplicationsRestoreTimeout()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxConfigurationPersisterTest.java78 () -> mContext.getResources().getInteger( in setUp()
80 () -> mContext.getResources().getInteger( in setUp()
82 () -> mContext.getResources().getInteger( in setUp()
84 () -> mContext.getResources().getInteger( in setUp()
108 mContext.getResources().getInteger( in test_whenStoreIsCreated_valuesAreDefaults()
115 mContext.getResources().getInteger( in test_whenStoreIsCreated_valuesAreDefaults()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerPropertyTests.java50 assertEquals(0, p.getInteger()); in testBooleanProperty()
75 assertEquals(0, p.getInteger()); in testFloatProperty()
100 assertEquals(42, p.getInteger()); in testIntegerProperty()
125 assertEquals(0, p.getInteger()); in testResourceProperty()
150 assertEquals(0, p.getInteger()); in testStringProperty()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyConstants.java81 mDefaultMaxSqueezeRemeasureAttempts = resources.getInteger( in SmartReplyConstants()
87 mDefaultMinNumSystemGeneratedReplies = resources.getInteger( in SmartReplyConstants()
89 mDefaultMaxNumActions = resources.getInteger( in SmartReplyConstants()
91 mDefaultOnClickInitDelay = resources.getInteger( in SmartReplyConstants()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipMenuEduTextDrawer.java91 .getInteger(R.integer.pip_edu_text_scroll_times); in setupDrawer()
124 final int startScrollDelay = mContext.getResources().getInteger( in scheduleLifecycleEvents()
158 .getInteger(R.integer.pip_edu_text_non_scroll_show_duration); in getEduTextShowDuration()
221 final int eduTextFadeExitAnimationDuration = mContext.getResources().getInteger( in closeDrawer()
223 final int eduTextSlideExitAnimationDuration = mContext.getResources().getInteger( in closeDrawer()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/dagger/
H A DComplicationModule.kt19 return resources.getInteger(R.integer.complicationFadeOutDelayMs)
26 return resources.getInteger(R.integer.complicationRestoreMs)
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
H A DBatteryStatus.java143 final int slowThreshold = context.getResources().getInteger( in getChargingSpeed()
145 final int fastThreshold = context.getResources().getInteger( in getChargingSpeed()
309 < context.getResources().getInteger(R.integer.config_chargingSlowlyThreshold)) { in getChargingSpeed()
312 > context.getResources().getInteger(R.integer.config_chargingFastThreshold)) { in getChargingSpeed()
/aosp14/frameworks/base/services/core/java/com/android/server/display/whitebalance/
H A DDisplayWhiteBalanceFactory.java122 final int rate = resources.getInteger( in createBrightnessSensor()
136 final int rate = resources.getInteger( in createColorTemperatureSensor()
143 final int increaseDebounce = resources.getInteger( in createThrottler()
145 final int decreaseDebounce = resources.getInteger( in createThrottler()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashScreenExitAnimation.java86 mIconFadeOutDuration = context.getResources().getInteger( in SplashScreenExitAnimation()
88 mAppRevealDelay = context.getResources().getInteger( in SplashScreenExitAnimation()
92 mAppRevealDuration = context.getResources().getInteger( in SplashScreenExitAnimation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DQsBatteryModeController.kt58 (context.resources.getInteger(R.integer.fade_in_start_frame) - BUFFER_FRAME_COUNT) /
61 (context.resources.getInteger(R.integer.fade_out_complete_frame) + BUFFER_FRAME_COUNT) /
/aosp14/frameworks/base/services/core/java/com/android/server/display/utils/
H A DAmbientFilterFactory.java61 final int horizon = resources.getInteger( in createBrightnessFilter()
81 final int horizon = resources.getInteger( in createColorTemperatureFilter()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationAnimationController.java187 .getInteger(com.android.internal.R.integer.config_shortAnimTime)); in moveWindowMagnifierToPosition()
195 .getInteger(com.android.internal.R.integer.config_shortAnimTime)); in moveWindowMagnifierToPosition()
211 mEndSpec.set(Float.isNaN(scale) ? mContext.getResources().getInteger( in setupEnableAnimationSpecs()
312 .getInteger(com.android.internal.R.integer.config_longAnimTime)); in onAnimationEnd()
360 resource.getInteger(com.android.internal.R.integer.config_longAnimTime)); in newValueAnimator()
/aosp14/frameworks/base/media/java/android/media/
H A DSubtitleController.java230 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0; in getDefaultTrack()
232 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0; in getDefaultTrack()
234 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0; in getDefaultTrack()
279 mSelectedTrack.getFormat().getInteger( in doSelectDefaultTrack()
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DDisplayWhiteBalanceTintController.java117 final int displayNominalWhiteCct = res.getInteger( in setUp()
120 final int colorTemperatureMin = res.getInteger( in setUp()
128 final int colorTemperatureMax = res.getInteger( in setUp()
136 final int defaultTemperature = res.getInteger( in setUp()
139 mTransitionDuration = res.getInteger( in setUp()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java56 mAudioSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in AudioTrackDecoder()
57 mAudioChannelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in AudioTrackDecoder()
H A DCpuVideoTrackDecoder.java61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); in CpuVideoTrackDecoder()
62 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT); in CpuVideoTrackDecoder()
87 mColorFormat = codec.getOutputFormat().getInteger(MediaFormat.KEY_COLOR_FORMAT); in onDataAvailable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DDeadZone.java120 mHold = res.getInteger(R.integer.navigation_bar_deadzone_hold); in onConfigurationChanged()
121 mDecay = res.getInteger(R.integer.navigation_bar_deadzone_decay); in onConfigurationChanged()
125 int index = res.getInteger(R.integer.navigation_bar_deadzone_orientation); in onConfigurationChanged()
/aosp14/frameworks/base/core/java/android/view/
H A DViewConfiguration.java470 final int configVal = res.getInteger( in ViewConfiguration()
532 mGlobalActionsKeyTimeout = res.getInteger( in ViewConfiguration()
546 mScreenshotChordKeyTimeout = res.getInteger( in ViewConfiguration()
549 mSmartSelectionInitializedTimeout = res.getInteger( in ViewConfiguration()
551 mSmartSelectionInitializingTimeout = res.getInteger( in ViewConfiguration()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DFingerprintAuthenticationClient.java145 .getInteger(R.integer.config_sidefpsKeyguardPowerPressWindow); in FingerprintAuthenticationClient()
147 context.getResources().getInteger(R.integer.config_sidefpsBpPowerPressWindow); in FingerprintAuthenticationClient()
149 context.getResources().getInteger(R.integer.config_sidefpsPostAuthDowntime); in FingerprintAuthenticationClient()
152 context.getResources().getInteger( in FingerprintAuthenticationClient()
155 context.getResources().getInteger( in FingerprintAuthenticationClient()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java225 mCriticalBatteryLevel = mContext.getResources().getInteger( in BatteryService()
227 mLowBatteryWarningLevel = mContext.getResources().getInteger( in BatteryService()
231 mShutdownBatteryTemperature = mContext.getResources().getInteger( in BatteryService()
332 int defWarnLevel = mContext.getResources().getInteger( in updateBatteryWarningLevelLocked()
1248 mBatteryLowARGB = context.getResources().getInteger( in Led()
1250 mBatteryMediumARGB = context.getResources().getInteger( in Led()
1252 mBatteryFullARGB = context.getResources().getInteger( in Led()
1254 mBatteryLedOn = context.getResources().getInteger( in Led()
1256 mBatteryLedOff = context.getResources().getInteger( in Led()
1258 mBatteryNearlyFullLevel = context.getResources().getInteger( in Led()
[all …]
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
H A DDisplayWhiteBalanceTintControllerTest.java81 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMin); in setUp()
84 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMax); in setUp()
87 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureDefault); in setUp()
93 .getInteger(R.integer.config_displayWhiteBalanceDisplayNominalWhiteCct); in setUp()

12345678910>>...12