Home
last modified time | relevance | path

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

12345678

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkEvaluatorTest.java62 mThresholdMinimumRssi2G = mResource.getInteger( in setUp()
64 mThresholdMinimumRssi5G = mResource.getInteger( in setUp()
66 mThresholdQualifiedRssi2G = mResource.getInteger( in setUp()
68 mThresholdQualifiedRssi5G = mResource.getInteger( in setUp()
70 mThresholdSaturatedRssi2G = mResource.getInteger( in setUp()
72 mThresholdSaturatedRssi5G = mResource.getInteger( in setUp()
105 when(mResource.getInteger( in setupResource()
108 when(mResource.getInteger( in setupResource()
111 when(mResource.getInteger( in setupResource()
114 when(mResource.getInteger( in setupResource()
[all …]
DWifiScoreReportTest.java84 when(resources.getInteger( in setUpResources()
87 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()
111 when(resources.getInteger( in setUpResources()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java98 Resources.getSystem().getInteger( in getJournalSizeLimit()
125 Resources.getSystem().getInteger( in getWALAutoCheckpoint()
135 Resources.getSystem().getInteger( in getWALConnectionPoolSize()
146 Resources.getSystem().getInteger( in getIdleConnectionTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java79 final long chargingAnimationFadeStartOffset = (long) context.getResources().getInteger( in init()
81 final long chargingAnimationFadeDuration = (long) context.getResources().getInteger( in init()
92 textSizeAnimator.setDuration((long) context.getResources().getInteger( in init()
98 textOpacityAnimator.setDuration((long) context.getResources().getInteger( in init()
100 textOpacityAnimator.setStartDelay((long) context.getResources().getInteger( in init()
DWirelessChargingView.java87 mAngleOffset = context.getResources().getInteger(R.integer.wireless_charging_angle_offset); in init()
88 mScaleDotsDuration = (long) context.getResources().getInteger( in init()
90 mNumDots = context.getResources().getInteger(R.integer.wireless_charging_num_dots); in init()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoringParams.java214 mVal.rssi2[EXIT] = context.getResources().getInteger( in loadResources()
216 mVal.rssi2[ENTRY] = context.getResources().getInteger( in loadResources()
218 mVal.rssi2[SUFFICIENT] = context.getResources().getInteger( in loadResources()
220 mVal.rssi2[GOOD] = context.getResources().getInteger( in loadResources()
222 mVal.rssi5[EXIT] = context.getResources().getInteger( in loadResources()
224 mVal.rssi5[ENTRY] = context.getResources().getInteger( in loadResources()
226 mVal.rssi5[SUFFICIENT] = context.getResources().getInteger( in loadResources()
228 mVal.rssi5[GOOD] = context.getResources().getInteger( in loadResources()
DSavedNetworkEvaluator.java58 mRssiScoreSlope = context.getResources().getInteger( in SavedNetworkEvaluator()
60 mRssiScoreOffset = context.getResources().getInteger( in SavedNetworkEvaluator()
62 mSameBssidAward = context.getResources().getInteger( in SavedNetworkEvaluator()
64 mSameNetworkAward = context.getResources().getInteger( in SavedNetworkEvaluator()
66 mLastSelectionAward = context.getResources().getInteger( in SavedNetworkEvaluator()
68 mSecurityAward = context.getResources().getInteger( in SavedNetworkEvaluator()
70 mBand5GHzAward = context.getResources().getInteger( in SavedNetworkEvaluator()
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DSubtitleController.java241 .getInteger(format, MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0; in getDefaultTrack()
243 .getInteger(format, MediaFormat.KEY_IS_AUTOSELECT, 1) != 0; in getDefaultTrack()
245 .getInteger(format, MediaFormat.KEY_IS_DEFAULT, 0) != 0; in getDefaultTrack()
275 static int getInteger(MediaFormat format, String name, int defaultValue) { in getInteger() method in SubtitleController.MediaFormatUtil
277 return format.getInteger(name); in getInteger()
301 || (mSelectedTrack != null && MediaFormatUtil.getInteger( in doSelectDefaultTrack()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java383 final int screenBrightnessSettingMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
386 mScreenBrightnessDozeConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
389 mScreenBrightnessDimConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
395 mScreenBrightnessRangeMaximum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
397 mScreenBrightnessDefault = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
400 mScreenBrightnessForVrRangeMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
402 mScreenBrightnessForVrRangeMaximum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
404 mScreenBrightnessForVrDefault = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
413 mBrightnessRampRateFast = resources.getInteger( in DisplayPowerController()
415 mBrightnessRampRateSlow = resources.getInteger( in DisplayPowerController()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DColorDisplayController.java200 autoMode = mContext.getResources().getInteger( in getAutoMode()
265 startTimeValue = mContext.getResources().getInteger( in getCustomStartTime()
303 endTimeValue = mContext.getResources().getInteger( in getCustomEndTime()
452 return mContext.getResources().getInteger( in getMinimumColorTemperature()
460 return mContext.getResources().getInteger( in getMaximumColorTemperature()
468 return mContext.getResources().getInteger( in getDefaultColorTemperature()
/frameworks/base/media/java/android/media/
DSubtitleController.java227 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0; in getDefaultTrack()
229 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0; in getDefaultTrack()
231 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0; in getDefaultTrack()
276 mSelectedTrack.getFormat().getInteger( in doSelectDefaultTrack()
DMediaFormat.java978 public final int getInteger(String name) { in getInteger() method in MediaFormat
987 public final int getInteger(String name, int defaultValue) { in getInteger() method in MediaFormat
989 return getInteger(name); in getInteger()
/frameworks/support/car/src/main/java/androidx/car/widget/
DColumnCardView.java70 int defaultColumnSpan = getResources().getInteger( in init()
75 mColumnSpan = ta.getInteger(R.styleable.ColumnCardView_columnSpan, defaultColumnSpan); in init()
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DSubtitleController.java231 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0; in getDefaultTrack()
233 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0; in getDefaultTrack()
235 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0; in getDefaultTrack()
280 mSelectedTrack.getFormat().getInteger( in doSelectDefaultTrack()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DBaseCardView.java163 mCardType = a.getInteger(R.styleable.lbBaseCardView_cardType, CARD_TYPE_MAIN_ONLY); in BaseCardView()
172 mInfoVisibility = a.getInteger(R.styleable.lbBaseCardView_infoVisibility, in BaseCardView()
174 mExtraVisibility = a.getInteger(R.styleable.lbBaseCardView_extraVisibility, in BaseCardView()
181 mSelectedAnimationDelay = a.getInteger( in BaseCardView()
183 getResources().getInteger(R.integer.lb_card_selected_animation_delay)); in BaseCardView()
185 mSelectedAnimDuration = a.getInteger( in BaseCardView()
187 getResources().getInteger(R.integer.lb_card_selected_animation_duration)); in BaseCardView()
190 a.getInteger(R.styleable.lbBaseCardView_activatedAnimationDuration, in BaseCardView()
191 getResources().getInteger(R.integer.lb_card_activated_animation_duration)); in BaseCardView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java101 mHold = res.getInteger(R.integer.navigation_bar_deadzone_hold); in onConfigurationChanged()
102 mDecay = res.getInteger(R.integer.navigation_bar_deadzone_decay); in onConfigurationChanged()
106 int index = res.getInteger(R.integer.navigation_bar_deadzone_orientation); in onConfigurationChanged()
/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/services/core/java/com/android/server/
DNetworkTimeUpdateService.java110 mPollingIntervalMs = mContext.getResources().getInteger( in NetworkTimeUpdateService()
112 mPollingIntervalShorterMs = mContext.getResources().getInteger( in NetworkTimeUpdateService()
114 mTryAgainTimesMax = mContext.getResources().getInteger( in NetworkTimeUpdateService()
116 mTimeErrorThresholdMs = mContext.getResources().getInteger( in NetworkTimeUpdateService()
/frameworks/base/core/java/android/os/
DPowerManager.java632 return mContext.getResources().getInteger( in getMinimumScreenBrightnessSetting()
643 return mContext.getResources().getInteger( in getMaximumScreenBrightnessSetting()
652 return mContext.getResources().getInteger( in getDefaultScreenBrightnessSetting()
661 return mContext.getResources().getInteger( in getMinimumScreenBrightnessForVrSetting()
672 return mContext.getResources().getInteger( in getMaximumScreenBrightnessForVrSetting()
681 return mContext.getResources().getInteger( in getDefaultScreenBrightnessForVrSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java52 context.getResources().getInteger(R.integer.user_fullscreen_switcher_num_col)); in FullscreenUserSwitcher()
61 .getInteger(android.R.integer.config_shortAnimTime); in FullscreenUserSwitcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java142 int critLevel = mContext.getResources().getInteger( in updateBatteryWarningLevels()
144 int warnLevel = mContext.getResources().getInteger( in updateBatteryWarningLevels()
154 + mContext.getResources().getInteger( in updateBatteryWarningLevels()
364 resources.getInteger(R.integer.config_showTemperatureWarning)) == 0) { in initTemperatureWarning()
369 resources.getInteger(R.integer.config_warningTemperature)); in initTemperatureWarning()
382 resources.getInteger(R.integer.config_warningTemperatureTolerance); in initTemperatureWarning()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DBatteryMeterDrawableTest.java84 int criticalLevel = mResources.getInteger( in testDrawTextWarningAtCriticalLevel()
96 int criticalLevel = mResources.getInteger( in testDrawTextNoWarningAboveCriticalLevel()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTrackerHelperImpl.java66 return mContext.getResources().getInteger( in getCheckTimeAllowedMillis()
72 return mContext.getResources().getInteger(R.integer.config_timeZoneRulesCheckRetryCount); in getFailedCheckRetryCount()

12345678