Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/core/java/android/database/sqlite/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/dagger/
DObservableServiceModule.java49 return resources.getInteger( in providesMaxReconnectAttempts()
56 return resources.getInteger( in provideBaseReconnectDelayMs()
63 return resources.getInteger( in providesMinConnectionDuration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/
DDreamOverlayModule.java128 return resources.getInteger( in providesBurnInProtectionUpdateInterval()
136 return resources.getInteger(R.integer.config_dreamOverlayMillisUntilFullJitter); in providesMillisUntilFullJitter()
154 return (long) resources.getInteger(R.integer.config_dreamOverlayInBlurDurationMs); in providesDreamInBlurAnimationDuration()
163 return (long) resources.getInteger(R.integer.config_dreamOverlayInComplicationsDurationMs); in providesDreamInComplicationsAnimationDuration()
183 return (long) resources.getInteger(R.integer.config_dreamOverlayInTranslationYDurationMs); in providesDreamInComplicationsTranslationYDuration()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java133 when(mResources.getInteger(R.integer.config_externalDisplayPeakRefreshRate)) in setup()
135 when(mResources.getInteger(R.integer.config_externalDisplayPeakWidth)) in setup()
137 when(mResources.getInteger(R.integer.config_externalDisplayPeakHeight)) in setup()
236 when(mResources.getInteger(R.integer.config_externalDisplayPeakRefreshRate)) in testExternalDisplay_doNotApplyLimitToUserPreferredMode()
238 when(mResources.getInteger(R.integer.config_externalDisplayPeakWidth)) in testExternalDisplay_doNotApplyLimitToUserPreferredMode()
240 when(mResources.getInteger(R.integer.config_externalDisplayPeakHeight)) in testExternalDisplay_doNotApplyLimitToUserPreferredMode()
269 when(mResources.getInteger(R.integer.config_externalDisplayPeakRefreshRate)) in testDefaultDisplayAdded_notAppliedLimitToUserPreferredMode()
271 when(mResources.getInteger(R.integer.config_externalDisplayPeakWidth)) in testDefaultDisplayAdded_notAppliedLimitToUserPreferredMode()
273 when(mResources.getInteger(R.integer.config_externalDisplayPeakHeight)) in testDefaultDisplayAdded_notAppliedLimitToUserPreferredMode()
295 when(mResources.getInteger(R.integer.config_externalDisplayPeakRefreshRate)) in testDefaultDisplayAdded()
[all …]
/frameworks/base/services/core/java/com/android/server/display/config/
DRefreshRateData.java128 return resources.getInteger(R.integer.config_defaultRefreshRate); in loadDefaultRefreshRate()
138 return resources.getInteger(R.integer.config_defaultPeakRefreshRate); in loadDefaultPeakRefreshRate()
149 return resources.getInteger(R.integer.config_defaultRefreshRateInHbmHdr); in loadDefaultRefreshRateInHbm()
160 return resources.getInteger(R.integer.config_defaultRefreshRateInHbmSunlight); in loadDefaultRefreshRateInHbmSunlight()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimation.java88 mIconFadeOutDuration = context.getResources().getInteger( in SplashScreenExitAnimation()
90 mAppRevealDelay = context.getResources().getInteger( in SplashScreenExitAnimation()
94 mAppRevealDuration = context.getResources().getInteger( in SplashScreenExitAnimation()
96 mAnimationType = context.getResources().getInteger( in SplashScreenExitAnimation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
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()
/frameworks/base/core/tests/coretests/src/android/content/pm/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/dagger/
DComplicationModule.kt19 return resources.getInteger(R.integer.complicationFadeOutDelayMs) in providesComplicationsFadeOutDelay()
26 return resources.getInteger(R.integer.complicationRestoreMs) in providesComplicationsRestoreTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyConstants.java82 mDefaultMaxSqueezeRemeasureAttempts = resources.getInteger( in SmartReplyConstants()
88 mDefaultMinNumSystemGeneratedReplies = resources.getInteger( in SmartReplyConstants()
90 mDefaultMaxNumActions = resources.getInteger( in SmartReplyConstants()
92 mDefaultOnClickInitDelay = resources.getInteger( in SmartReplyConstants()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java88 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMin); in setUp()
91 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMax); in setUp()
94 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureDefault); in setUp()
100 .getInteger(R.integer.config_displayWhiteBalanceDisplayNominalWhiteCct); in setUp()
399 when(mMockedResources.getInteger( in setUpTransitionTimes()
401 when(mMockedResources.getInteger( in setUpTransitionTimes()
403 when(mMockedResources.getInteger( in setUpTransitionTimes()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuEduTextDrawer.java89 .getInteger(R.integer.pip_edu_text_scroll_times); in setupDrawer()
122 final int startScrollDelay = mContext.getResources().getInteger( in scheduleLifecycleEvents()
156 .getInteger(R.integer.pip_edu_text_non_scroll_show_duration); in getEduTextShowDuration()
222 final int eduTextFadeExitAnimationDuration = mContext.getResources().getInteger( in closeDrawer()
224 final int eduTextSlideExitAnimationDuration = mContext.getResources().getInteger( in closeDrawer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQsBatteryModeController.kt58 (context.resources.getInteger(R.integer.fade_in_start_frame) - BUFFER_FRAME_COUNT) / in updateResources()
61 (context.resources.getInteger(R.integer.fade_out_complete_frame) + BUFFER_FRAME_COUNT) / in updateResources()
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayWhiteBalanceTintController.java124 final int displayNominalWhiteCct = res.getInteger( in setUp()
127 final int colorTemperatureMin = res.getInteger( in setUp()
135 final int colorTemperatureMax = res.getInteger( in setUp()
143 final int defaultTemperature = res.getInteger( in setUp()
146 mTransitionDuration = res.getInteger( in setUp()
153 mTransitionDurationIncrease = res.getInteger( in setUp()
155 mTransitionDurationDecrease = res.getInteger( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSideLabelTileLayout.kt44 context.resources.getInteger( in updateResources()
47 context.resources.getInteger(R.integer.quick_settings_max_rows) in updateResources()
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilterFactory.java61 final int horizon = resources.getInteger( in createBrightnessFilter()
81 final int horizon = resources.getInteger( in createColorTemperatureFilter()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java146 final int rate = resources.getInteger( in createBrightnessSensor()
160 final int rate = resources.getInteger( in createColorTemperatureSensor()
167 final int increaseDebounce = resources.getInteger( in createThrottler()
169 final int decreaseDebounce = resources.getInteger( in createThrottler()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java145 final int slowThreshold = context.getResources().getInteger( in getChargingSpeed()
147 final int fastThreshold = context.getResources().getInteger( in getChargingSpeed()
383 < context.getResources().getInteger(R.integer.config_chargingSlowlyThreshold)) { in calculateChargingSpeed()
386 > context.getResources().getInteger(getFastChargingThresholdResId())) { in calculateChargingSpeed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java188 .getInteger(com.android.internal.R.integer.config_shortAnimTime)); in moveWindowMagnifierToPosition()
196 .getInteger(com.android.internal.R.integer.config_shortAnimTime)); in moveWindowMagnifierToPosition()
212 mEndSpec.set(Float.isNaN(scale) ? mContext.getResources().getInteger( in setupEnableAnimationSpecs()
316 .getInteger(com.android.internal.R.integer.config_longAnimTime)); in onAnimationEnd()
368 resource.getInteger(com.android.internal.R.integer.config_longAnimTime)); in newValueAnimator()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioTrackDecoder.java56 mAudioSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in AudioTrackDecoder()
57 mAudioChannelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in AudioTrackDecoder()
/frameworks/base/media/java/android/media/
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()
DLoudnessCodecController.java366 aacProfile = inputFormat.getInteger(MediaFormat.KEY_AAC_PROFILE); in getCodecInfo()
371 profile = inputFormat.getInteger(MediaFormat.KEY_PROFILE); in getCodecInfo()
387 lci.isDownmixing = outputFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT) in getCodecInfo()
388 < inputFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in getCodecInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DDeadZone.java132 mHold = res.getInteger(R.integer.navigation_bar_deadzone_hold); in onConfigurationChanged()
133 mDecay = res.getInteger(R.integer.navigation_bar_deadzone_decay); in onConfigurationChanged()
137 int index = res.getInteger(R.integer.navigation_bar_deadzone_orientation); in onConfigurationChanged()

12345678910>>...14