Home
last modified time | relevance | path

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

12345678910>>...14

/packages/modules/Wifi/service/java/com/android/server/wifi/
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 …]
DWifiBlocklistMonitor.java226 failureStreak = Math.min(failureStreak, mContext.getResources().getInteger( in getBlocklistDurationWithExponentialBackoff()
346 mContext.getResources().getInteger( in getFailureThresholdForReason()
349 mContext.getResources().getInteger(R.integer 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()
[all …]
DWifiGlobals.java84 .getInteger(R.integer.config_wifiP2pDeviceNamePostfixNumDigits); in WifiGlobals()
86 .getInteger(R.integer.config_wifiClientModeImplNumLogRecs); in WifiGlobals()
97 .getInteger(R.integer.config_wifiPollRssiIntervalMilliseconds), in getPollRssiIntervalMillis()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
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 …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
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()
116 mBatteryHealth = getInteger(cursor, KEY_BATTERY_HEALTH); in BatteryHistEntry()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java111 .put(res.getInteger(R.color.SIM_color_teal), in onAttach()
112 res.getInteger(R.color.SIM_dark_mode_color_teal)) in onAttach()
113 .put(res.getInteger(R.color.SIM_color_blue), in onAttach()
114 res.getInteger(R.color.SIM_dark_mode_color_blue)) in onAttach()
115 .put(res.getInteger(R.color.SIM_color_indigo), in onAttach()
116 res.getInteger(R.color.SIM_dark_mode_color_indigo)) in onAttach()
117 .put(res.getInteger(R.color.SIM_color_purple), in onAttach()
118 res.getInteger(R.color.SIM_dark_mode_color_purple)) in onAttach()
119 .put(res.getInteger(R.color.SIM_color_pink), in onAttach()
120 res.getInteger(R.color.SIM_dark_mode_color_pink)) in onAttach()
[all …]
/packages/apps/Camera2/src/com/android/camera/module/
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()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
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()
DPreventRingingParentPreferenceControllerTest.java69 when(mResources.getInteger( in setUp()
93 when(mResources.getInteger( in getAvailabilityStatus_configIsTrueAndKeyNotMute_shouldReturnDisabledDependent()
107 when(mResources.getInteger( in getAvailabilityStatus_configIsTrueLppDisabled_shouldReturnUnsupportedOnDevice()
145 when(mResources.getInteger( in updateState_keyChordDisabled_summaryUpdated()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
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()
139 mImageRotationLimit = (float) mResources.getInteger(R.integer.max_image_rotation); in PhotoTable()
141 mPickUpDuration = mResources.getInteger(R.integer.photo_pickup_duration); in PhotoTable()
142 mThrowRotation = (float) mResources.getInteger(R.integer.image_throw_rotatioan); in PhotoTable()
143 mTableCapacity = mResources.getInteger(R.integer.table_capacity); in PhotoTable()
144 mRedealCount = mResources.getInteger(R.integer.redeal_count); in PhotoTable()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
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()
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/animationhelper/
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()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
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()
/packages/apps/Camera2/src/com/android/camera/app/
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()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
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()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
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()
/packages/apps/Settings/src/com/android/settings/gestures/
DLongPressPowerButtonPreferenceController.java165 mContext.getResources().getInteger(POWER_BUTTON_LONG_PRESS_DEFAULT_VALUE_RESOURCE)); in getPowerButtonValue()
171 context.getResources().getInteger( in isPowerMenuKeyChordEnabled()
185 final int defaultPowerButtonValue = mContext.getResources().getInteger( in setPowerLongPressValue()
208 int keyChordDefaultValue = mContext.getResources().getInteger( in setPowerVolumeChordValue()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
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()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java646 ioStatsNumSamplesToStore = resources.getInteger(R.integer.ioStatsNumSamplesToStore); in Configuration()
648 1024 * resources.getInteger(R.integer.acceptableWrittenKBytesPerSample); in Configuration()
650 resources.getInteger(R.integer.acceptableFsyncCallsPerSample); in Configuration()
652 resources.getInteger(R.integer.maxExcessiveIoSamplesInWindow); in Configuration()
654 * resources.getInteger(R.integer.uptimeHoursIntervalBetweenUptimeDataWrite); in Configuration()
656 resources.getInteger(R.integer.acceptableHoursPerOnePercentFlashWear); in Configuration()
657 ioStatsRefreshRateMs = 1000 * resources.getInteger(R.integer.ioStatsRefreshRateSeconds); in Configuration()
/packages/providers/TvProvider/src/com/android/providers/tv/
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()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DProgressBarPreference.java71 mMin = a.getInteger(R.styleable.ProgressBarPreference_min, 0); in init()
72 mMax = a.getInteger(R.styleable.ProgressBarPreference_max, 100); in init()
73 mProgress = a.getInteger(R.styleable.ProgressBarPreference_progress, 0); in init()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java140 when(resources.getInteger( in setUpResources()
143 when(resources.getInteger( in setUpResources()
146 when(resources.getInteger( in setUpResources()
149 when(resources.getInteger( in setUpResources()
152 when(resources.getInteger( in setUpResources()
155 when(resources.getInteger( in setUpResources()
158 when(resources.getInteger( in setUpResources()
161 when(resources.getInteger( in setUpResources()
164 when(resources.getInteger( in setUpResources()
167 when(resources.getInteger( in setUpResources()
[all …]
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplierTest.java64 mMaxPermitsConfig = mSpyContext.getResources().getInteger( in setUp()
66 mPermitThrottleMs = mSpyContext.getResources().getInteger( in setUp()
114 doReturn(lowMaxPermits).when(spyResources).getInteger( in testconsumePermitLocked_decrementsToMinOf0()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListSwipeHelper.java71 mDefaultRestoreAnimationDuration = res.getInteger(R.integer.swipe_duration_ms); in ConversationListSwipeHelper()
72 mDefaultDismissAnimationDuration = res.getInteger(R.integer.swipe_duration_ms); in ConversationListSwipeHelper()
73 mMaxTranslationAnimationDuration = res.getInteger(R.integer.swipe_duration_ms); in ConversationListSwipeHelper()
79 res.getInteger(R.integer.swipe_max_fling_velocity_px_per_s)); in ConversationListSwipeHelper()

12345678910>>...14