Home
last modified time | relevance | path

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

12345678910>>...25

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DScoringParams.java243 mVal.rssi2[EXIT] = context.getResources().getInteger( in loadResources()
245 mVal.rssi2[ENTRY] = context.getResources().getInteger( in loadResources()
247 mVal.rssi2[SUFFICIENT] = context.getResources().getInteger( in loadResources()
249 mVal.rssi2[GOOD] = context.getResources().getInteger( in loadResources()
251 mVal.rssi5[EXIT] = context.getResources().getInteger( in loadResources()
253 mVal.rssi5[ENTRY] = context.getResources().getInteger( in loadResources()
255 mVal.rssi5[SUFFICIENT] = context.getResources().getInteger( in loadResources()
257 mVal.rssi5[GOOD] = context.getResources().getInteger( in loadResources()
259 mVal.rssi6[EXIT] = context.getResources().getInteger( in loadResources()
261 mVal.rssi6[ENTRY] = context.getResources().getInteger( in loadResources()
[all …]
H A DWifiBlocklistMonitor.java346 mContext.getResources().getInteger( in getFailureThresholdForReason()
352 mContext.getResources().getInteger( in getFailureThresholdForReason()
355 mContext.getResources().getInteger( in getFailureThresholdForReason()
358 mContext.getResources().getInteger( in getFailureThresholdForReason()
361 mContext.getResources().getInteger( in getFailureThresholdForReason()
364 mContext.getResources().getInteger( in getFailureThresholdForReason()
367 mContext.getResources().getInteger( in getFailureThresholdForReason()
370 mContext.getResources().getInteger( in getFailureThresholdForReason()
407 return mContext.getResources().getInteger( in getBaseBlockDurationForReason()
435 > mContext.getResources().getInteger( in handleBssidConnectionFailure()
[all …]
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
H A DSystemBarConfigsTest.java79 when(mResources.getInteger(R.integer.config_topSystemBarType)).thenReturn(0); in onInit_allSystemBarsEnabled_twoBarsHaveDuplicateType_throwsRuntimeException()
80 when(mResources.getInteger(R.integer.config_bottomSystemBarType)).thenReturn(0); in onInit_allSystemBarsEnabled_twoBarsHaveDuplicateType_throwsRuntimeException()
100 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn(33); in onInit_intersectingBarsHaveSameZOrder_throwsRuntimeException()
101 when(mResources.getInteger(R.integer.config_leftSystemBarZOrder)).thenReturn(33); in onInit_intersectingBarsHaveSameZOrder_throwsRuntimeException()
184 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn( in topSystemBarHasHigherZOrderThanHuns_topSystemBarIsSystemBarPanelType()
195 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn( in topSystemBarHasLowerZOrderThanHuns_topSystemBarIsStatusBarAdditionalType()
255 when(mResources.getInteger(R.integer.config_topSystemBarType)).thenReturn(0); in setDefaultValidConfig()
256 when(mResources.getInteger(R.integer.config_bottomSystemBarType)).thenReturn(1); in setDefaultValidConfig()
257 when(mResources.getInteger(R.integer.config_leftSystemBarType)).thenReturn(2); in setDefaultValidConfig()
258 when(mResources.getInteger(R.integer.config_rightSystemBarType)).thenReturn(3); in setDefaultValidConfig()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistEntry.java91 mDrainType = getInteger(values, KEY_DRAIN_TYPE); in BatteryHistEntry()
92 mConsumerType = getInteger(values, KEY_CONSUMER_TYPE); in BatteryHistEntry()
93 mBatteryLevel = getInteger(values, KEY_BATTERY_LEVEL); in BatteryHistEntry()
94 mBatteryStatus = getInteger(values, KEY_BATTERY_STATUS); in BatteryHistEntry()
95 mBatteryHealth = getInteger(values, KEY_BATTERY_HEALTH); in BatteryHistEntry()
112 mDrainType = getInteger(cursor, KEY_DRAIN_TYPE); in BatteryHistEntry()
113 mConsumerType = getInteger(cursor, KEY_CONSUMER_TYPE); in BatteryHistEntry()
114 mBatteryLevel = getInteger(cursor, KEY_BATTERY_LEVEL); in BatteryHistEntry()
115 mBatteryStatus = getInteger(cursor, KEY_BATTERY_STATUS); in BatteryHistEntry()
207 private int getInteger(ContentValues values, String key) { in getInteger() method in BatteryHistEntry
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A DWirelessChargingLayout.java92 final long chargingAnimationFadeStartOffset = context.getResources().getInteger( in init()
94 final long chargingAnimationFadeDuration = context.getResources().getInteger( in init()
106 textSizeAnimator.setDuration(context.getResources().getInteger( in init()
112 textOpacityAnimator.setDuration(context.getResources().getInteger( in init()
114 textOpacityAnimator.setStartDelay(context.getResources().getInteger( in init()
171 textSizeAnimatorTransmitting.setDuration(context.getResources().getInteger( in init()
178 textOpacityAnimatorTransmitting.setDuration(context.getResources().getInteger( in init()
181 context.getResources().getInteger(R.integer.wireless_charging_anim_opacity_offset)); in init()
207 textOpacityAnimatorIcon.setDuration(context.getResources().getInteger( in init()
210 context.getResources().getInteger(R.integer.wireless_charging_anim_opacity_offset)); in init()
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DRenameMobileNetworkDialogFragment.java110 .put(res.getInteger(R.color.SIM_color_cyan), in onAttach()
111 res.getInteger(R.color.SIM_dark_mode_color_cyan)) in onAttach()
112 .put(res.getInteger(R.color.SIM_color_blue800), in onAttach()
113 res.getInteger(R.color.SIM_dark_mode_color_blue)) in onAttach()
114 .put(res.getInteger(R.color.SIM_color_green800), in onAttach()
115 res.getInteger(R.color.SIM_dark_mode_color_green)) in onAttach()
116 .put(res.getInteger(R.color.SIM_color_purple800), in onAttach()
117 res.getInteger(R.color.SIM_dark_mode_color_purple)) in onAttach()
118 .put(res.getInteger(R.color.SIM_color_pink800), in onAttach()
119 res.getInteger(R.color.SIM_dark_mode_color_pink)) in onAttach()
[all …]
/aosp12/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()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DConfig.java122 return mContext.getResources().getInteger(R.integer.num_suggestions_above_keyboard); in getNumSuggestionsAboveKeyboard()
129 return mContext.getResources().getInteger(R.integer.max_promoted_suggestions); in getMaxPromotedSuggestions()
133 return mContext.getResources().getInteger(R.integer.max_promoted_results); in getMaxPromotedResults()
147 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_web_source); in getMaxShortcutsPerWebSource()
154 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_non_web_source); in getMaxShortcutsPerNonWebSource()
/aosp12/packages/apps/Camera2/src/com/android/camera/module/
H A DModulesInfo.java50 int photoModuleId = context.getResources().getInteger(R.integer.camera_mode_photo); in setupModules()
54 registerVideoModule(moduleManager, res.getInteger(R.integer.camera_mode_video), in setupModules()
57 registerWideAngleModule(moduleManager, res.getInteger(R.integer.camera_mode_panorama), in setupModules()
60 res.getInteger(R.integer.camera_mode_photosphere), in setupModules()
64 registerRefocusModule(moduleManager, res.getInteger(R.integer.camera_mode_refocus), in setupModules()
68 registerGcamModule(moduleManager, res.getInteger(R.integer.camera_mode_gcam), in setupModules()
72 int imageCaptureIntentModuleId = res.getInteger(R.integer.camera_mode_capture_intent); in setupModules()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DTransitionUtils.java49 animator.setDuration(res.getInteger(R.integer.alpha_activity_in_bkg_duration)); in createActivityFadeInAnimator()
50 animator.setStartDelay(res.getInteger(R.integer.alpha_activity_in_bkg_delay)); in createActivityFadeInAnimator()
69 animator.setDuration(res.getInteger(R.integer.alpha_activity_out_bkg_duration)); in createActivityFadeOutAnimator()
70 animator.setStartDelay(res.getInteger(R.integer.alpha_activity_out_bkg_delay)); in createActivityFadeOutAnimator()
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/headsup/animationhelper/
H A DCarHeadsUpNotificationRightAnimationHelper.java43 context.getResources().getInteger(R.integer.headsup_total_enter_duration_ms)); in getAnimateInAnimator()
48 context.getResources().getInteger(R.integer.headsup_alpha_enter_duration_ms)); in getAnimateInAnimator()
66 move.setDuration(context.getResources().getInteger(R.integer.headsup_exit_duration_ms)); in getAnimateOutAnimator()
70 alpha.setDuration(context.getResources().getInteger(R.integer.headsup_exit_duration_ms)); in getAnimateOutAnimator()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
H A DDisplayWhiteBalanceTintControllerTest.java70 doReturn(mResources.getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMin)) in setUp()
72 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMin); in setUp()
73 doReturn(mResources.getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMax)) in setUp()
75 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureMax); in setUp()
76 doReturn(mResources.getInteger(R.integer.config_displayWhiteBalanceColorTemperatureDefault)) in setUp()
78 .getInteger(R.integer.config_displayWhiteBalanceColorTemperatureDefault); in setUp()
/aosp12/packages/apps/Camera2/src/com/android/camera/app/
H A DModuleManagerImpl.java115 final int photoModuleId = context.getResources().getInteger(R.integer.camera_mode_photo); in getQuickSwitchToModuleId()
116 final int videoModuleId = context.getResources().getInteger(R.integer.camera_mode_video); in getQuickSwitchToModuleId()
120 || moduleId == context.getResources().getInteger(R.integer.camera_mode_gcam)) { in getQuickSwitchToModuleId()
125 quickSwitchTo = settingsManager.getInteger( in getQuickSwitchToModuleId()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
H A DLongPressPowerButtonPreferenceControllerTest.java104 when(mResources.getInteger( in preferenceUnchecked_keyChordEnabled_powerMenuHintTextShown()
137 when(mResources.getInteger( in preferenceUnchecked_keyChordDisabled_powerMenuHintTextHidden()
162 when(mResources.getInteger( in preferenceUnchecked_longPressPowerSettingSetToDefaultValue()
183 when(mResources.getInteger( in preferenceUnchecked_muteChordDefault_longPressPowerSettingSetToDefaultValue()
186 when(mResources.getInteger( in preferenceUnchecked_muteChordDefault_longPressPowerSettingSetToDefaultValue()
203 when(mResources.getInteger( in preferenceUnchecked_assistDefault_setNoAction()
H A DPowerMenuSettingsUtilsTest.java51 when(mResources.getInteger( in longPressBehaviourValuePresent_returnsValue()
62 when(mResources.getInteger( in longPressBehaviourValueNotPresent_returnsDefault()
85 when(mResources.getInteger( in longPressBehaviourDefaultSetToAssistant_isAssistEnabledReturnsFalse()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerPropertyTests.java47 assertEquals(0, p.getInteger()); in testBooleanProperty()
72 assertEquals(0, p.getInteger()); in testFloatProperty()
97 assertEquals(42, p.getInteger()); in testIntegerProperty()
122 assertEquals(0, p.getInteger()); in testResourceProperty()
147 assertEquals(0, p.getInteger()); in testStringProperty()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DConfig.java49 slotViewSpec.rowsLand = r.getInteger(R.integer.albumset_rows_land); in AlbumSetPage()
50 slotViewSpec.rowsPort = r.getInteger(R.integer.albumset_rows_port); in AlbumSetPage()
100 slotViewSpec.rowsLand = r.getInteger(R.integer.album_rows_land); in AlbumPage()
101 slotViewSpec.rowsPort = r.getInteger(R.integer.album_rows_port); in AlbumPage()
/aosp12/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()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpCodecConfig.java185 value = resources.getInteger(R.integer.a2dp_source_codec_priority_sbc); in assignCodecConfigPriorities()
195 value = resources.getInteger(R.integer.a2dp_source_codec_priority_aac); in assignCodecConfigPriorities()
205 value = resources.getInteger(R.integer.a2dp_source_codec_priority_aptx); in assignCodecConfigPriorities()
215 value = resources.getInteger(R.integer.a2dp_source_codec_priority_aptx_hd); in assignCodecConfigPriorities()
225 value = resources.getInteger(R.integer.a2dp_source_codec_priority_ldac); in assignCodecConfigPriorities()
/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTable.java134 mDropPeriod = mResources.getInteger(R.integer.table_drop_period); in PhotoTable()
135 mFastDropPeriod = mResources.getInteger(R.integer.fast_drop); in PhotoTable()
136 mNowDropDelay = mResources.getInteger(R.integer.now_drop); in PhotoTable()
137 mImageRatio = mResources.getInteger(R.integer.image_ratio) / 1000000f; in PhotoTable()
138 mTableRatio = mResources.getInteger(R.integer.table_ratio) / 1000000f; in PhotoTable()
141 mPickUpDuration = mResources.getInteger(R.integer.photo_pickup_duration); in PhotoTable()
143 mTableCapacity = mResources.getInteger(R.integer.table_capacity); in PhotoTable()
144 mRedealCount = mResources.getInteger(R.integer.redeal_count); in PhotoTable()
149 mMaxSelectionTime = mResources.getInteger(R.integer.max_selection_time); in PhotoTable()
150 mMaxFocusTime = mResources.getInteger(R.integer.max_focus_time); in PhotoTable()
[all …]
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
H A DSystemBarConfigs.java213 .setBarType(mResources.getInteger(R.integer.config_topSystemBarType)) in readConfigs()
214 .setZOrder(mResources.getInteger(R.integer.config_topSystemBarZOrder)) in readConfigs()
227 .setBarType(mResources.getInteger(R.integer.config_bottomSystemBarType)) in readConfigs()
229 mResources.getInteger(R.integer.config_bottomSystemBarZOrder)) in readConfigs()
242 .setBarType(mResources.getInteger(R.integer.config_leftSystemBarType)) in readConfigs()
243 .setZOrder(mResources.getInteger(R.integer.config_leftSystemBarZOrder)) in readConfigs()
256 .setBarType(mResources.getInteger(R.integer.config_rightSystemBarType)) in readConfigs()
257 .setZOrder(mResources.getInteger(R.integer.config_rightSystemBarZOrder)) in readConfigs()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
H A DAudioTrackWrapper.java117 int channelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in reconfigure()
118 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in reconfigure()
121 pcmEncoding = format.getInteger(MediaFormat.KEY_PCM_ENCODING); in reconfigure()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxConfiguration.java132 mLetterboxActivityCornersRadius = mContext.getResources().getInteger( in LetterboxConfiguration()
188 mLetterboxActivityCornersRadius = mContext.getResources().getInteger( in resetLetterboxActivityCornersRadius()
292 int backgroundType = context.getResources().getInteger( in readLetterboxBackgroundTypeFromConfig()
442 int position = context.getResources().getInteger( in readLetterboxReachabilityPositionFromConfig()
/aosp12/frameworks/base/services/core/java/com/android/server/display/whitebalance/
H A DDisplayWhiteBalanceFactory.java113 final int rate = resources.getInteger( in createBrightnessSensor()
127 final int rate = resources.getInteger( in createColorTemperatureSensor()
134 final int increaseDebounce = resources.getInteger( in createThrottler()
136 final int decreaseDebounce = resources.getInteger( in createThrottler()
/aosp12/packages/providers/TvProvider/src/com/android/providers/tv/
H A DEpgDataCleanupService.java57 int maxProgramAgeInDays = getResources().getInteger(R.integer.max_program_age_in_days); in onHandleIntent()
63 getResources().getInteger(R.integer.max_watched_program_age_in_days); in onHandleIntent()
69 getResources().getInteger(R.integer.max_watched_program_entry_count); in onHandleIntent()

12345678910>>...25