Home
last modified time | relevance | path

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

12345678

/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkEvaluatorTest.java65 mThresholdMinimumRssi2G = mResource.getInteger( in setUp()
67 mThresholdMinimumRssi5G = mResource.getInteger( in setUp()
69 mThresholdQualifiedRssi2G = mResource.getInteger( in setUp()
71 mThresholdQualifiedRssi5G = mResource.getInteger( in setUp()
73 mThresholdSaturatedRssi2G = mResource.getInteger( in setUp()
75 mThresholdSaturatedRssi5G = mResource.getInteger( in setUp()
112 when(mResource.getInteger( in setupResource()
115 when(mResource.getInteger( in setupResource()
118 when(mResource.getInteger( in setupResource()
121 when(mResource.getInteger( in setupResource()
[all …]
DWifiScoreReportTest.java87 when(resources.getInteger( in setUpResources()
90 when(resources.getInteger( in setUpResources()
93 when(resources.getInteger( in setUpResources()
96 when(resources.getInteger( in setUpResources()
99 when(resources.getInteger( in setUpResources()
102 when(resources.getInteger( in setUpResources()
105 when(resources.getInteger( in setUpResources()
108 when(resources.getInteger( in setUpResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java84 final long chargingAnimationFadeStartOffset = (long) context.getResources().getInteger( in init()
86 final long chargingAnimationFadeDuration = (long) context.getResources().getInteger( in init()
97 textSizeAnimator.setDuration((long) context.getResources().getInteger( in init()
103 textOpacityAnimator.setDuration((long) context.getResources().getInteger( in init()
105 textOpacityAnimator.setStartDelay((long) context.getResources().getInteger( in init()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java67 doReturn(mResources.getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMin)) in setUp()
69 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMin); in setUp()
70 doReturn(mResources.getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMax)) in setUp()
72 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMax); in setUp()
73 doReturn(mResources.getInteger(R.integer.config_displayWhiteBalanceColorTemperatureDefault)) in setUp()
75 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureDefault); in setUp()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java94 final int rate = resources.getInteger( in createBrightnessSensor()
105 final int horizon = resources.getInteger( in createBrightnessFilter()
127 final int rate = resources.getInteger( in createColorTemperatureSensor()
134 final int horizon = resources.getInteger( in createColorTemperatureFilter()
149 final int increaseDebounce = resources.getInteger( in createThrottler()
151 final int decreaseDebounce = resources.getInteger( in createThrottler()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkEvaluator.java70 mRssiScoreSlope = context.getResources().getInteger( in SavedNetworkEvaluator()
72 mRssiScoreOffset = context.getResources().getInteger( in SavedNetworkEvaluator()
74 mSameBssidAward = context.getResources().getInteger( in SavedNetworkEvaluator()
76 mSameNetworkAward = context.getResources().getInteger( in SavedNetworkEvaluator()
78 mLastSelectionAward = context.getResources().getInteger( in SavedNetworkEvaluator()
80 mSecurityAward = context.getResources().getInteger( in SavedNetworkEvaluator()
82 mBand5GHzAward = context.getResources().getInteger( in SavedNetworkEvaluator()
DScoringParams.java217 mVal.rssi2[EXIT] = context.getResources().getInteger( in loadResources()
219 mVal.rssi2[ENTRY] = context.getResources().getInteger( in loadResources()
221 mVal.rssi2[SUFFICIENT] = context.getResources().getInteger( in loadResources()
223 mVal.rssi2[GOOD] = context.getResources().getInteger( in loadResources()
225 mVal.rssi5[EXIT] = context.getResources().getInteger( in loadResources()
227 mVal.rssi5[ENTRY] = context.getResources().getInteger( in loadResources()
229 mVal.rssi5[SUFFICIENT] = context.getResources().getInteger( in loadResources()
231 mVal.rssi5[GOOD] = context.getResources().getInteger( in loadResources()
DSarManager.java219 mSarSensorEventFreeSpace = mContext.getResources().getInteger( in readSarConfigs()
221 mSarSensorEventNearBody = mContext.getResources().getInteger( in readSarConfigs()
223 mSarSensorEventNearHand = mContext.getResources().getInteger( in readSarConfigs()
225 mSarSensorEventNearHead = mContext.getResources().getInteger( in readSarConfigs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyConstants.java78 mDefaultMaxSqueezeRemeasureAttempts = resources.getInteger( in SmartReplyConstants()
84 mDefaultMinNumSystemGeneratedReplies = resources.getInteger( in SmartReplyConstants()
86 mDefaultMaxNumActions = resources.getInteger( in SmartReplyConstants()
88 mDefaultOnClickInitDelay = resources.getInteger( in SmartReplyConstants()
DDeadZone.java102 mHold = res.getInteger(R.integer.navigation_bar_deadzone_hold); in onConfigurationChanged()
103 mDecay = res.getInteger(R.integer.navigation_bar_deadzone_decay); in onConfigurationChanged()
107 int index = res.getInteger(R.integer.navigation_bar_deadzone_orientation); in onConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAmbientPulseManager.java49 mAutoDismissNotificationDecay = resources.getInteger(R.integer.ambient_notification_decay); in AmbientPulseManager()
50 mMinimumDisplayTime = resources.getInteger(R.integer.ambient_notification_minimum_time); in AmbientPulseManager()
51 mExtensionTime = resources.getInteger(R.integer.ambient_notification_extension_time); in AmbientPulseManager()
/frameworks/base/tests/RollbackTest/TestApp/src/com/android/tests/rollback/testapp/
DProcessUserData.java73 int appVersion = res.getInteger(appVersionId); in processUserData()
76 int splitVersion = res.getInteger(splitVersionId); in processUserData()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java49 context.getResources().getInteger(R.integer.user_fullscreen_switcher_num_col)); in FullscreenUserSwitcher()
55 .getInteger(android.R.integer.config_shortAnimTime); in FullscreenUserSwitcher()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java88 public void getInteger() { in getInteger() method in ResourcesPerfTest
91 mRes.getInteger(mIntegerId); in getInteger()
/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()
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()
DGpuVideoTrackDecoder.java82 mOutputWidth = format.getInteger(MediaFormat.KEY_WIDTH); in GpuVideoTrackDecoder()
83 mOutputHeight = format.getInteger(MediaFormat.KEY_HEIGHT); in GpuVideoTrackDecoder()
/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()
/frameworks/base/services/core/java/com/android/server/
DNewNetworkTimeUpdateService.java110 mPollingIntervalMs = mContext.getResources().getInteger( in NewNetworkTimeUpdateService()
112 mPollingIntervalShorterMs = mContext.getResources().getInteger( in NewNetworkTimeUpdateService()
114 mTryAgainTimesMax = mContext.getResources().getInteger( in NewNetworkTimeUpdateService()
116 mTimeErrorThresholdMs = mContext.getResources().getInteger( in NewNetworkTimeUpdateService()
DOldNetworkTimeUpdateService.java110 mPollingIntervalMs = mContext.getResources().getInteger( in OldNetworkTimeUpdateService()
112 mPollingIntervalShorterMs = mContext.getResources().getInteger( in OldNetworkTimeUpdateService()
114 mTryAgainTimesMax = mContext.getResources().getInteger( in OldNetworkTimeUpdateService()
116 mTimeErrorThresholdMs = mContext.getResources().getInteger( in OldNetworkTimeUpdateService()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java405 final int screenBrightnessSettingMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
408 mScreenBrightnessDozeConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
411 mScreenBrightnessDimConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
417 mScreenBrightnessRangeMaximum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
419 mScreenBrightnessDefault = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
422 mScreenBrightnessForVrRangeMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
424 mScreenBrightnessForVrRangeMaximum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
426 mScreenBrightnessForVrDefault = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
435 mBrightnessRampRateFast = resources.getInteger( in DisplayPowerController()
437 mBrightnessRampRateSlow = resources.getInteger( in DisplayPowerController()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DScreenShapeHelper.java20 return resources.getInteger(com.android.internal.R.integer.config_windowOutsetBottom); in getWindowOutsetBottomPx()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DBatteryMeterDrawableTest.java85 int criticalLevel = mResources.getInteger( in testDrawTextWarningAtCriticalLevel()
97 int criticalLevel = mResources.getInteger( in testDrawTextNoWarningAboveCriticalLevel()
/frameworks/base/core/java/android/net/util/
DMultinetworkPolicyTracker.java134 return (mContext.getResources().getInteger(R.integer.config_networkAvoidBadWifi) == 0); in configRestrictsAvoidBadWifi()
164 return mContext.getResources().getInteger( in configMeteredMultipathPreference()

12345678