Home
last modified time | relevance | path

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

123456789

/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/
DWifiWakeupNetworkSelector.java51 resources.getInteger(R.integer.config_netrec_wifi_score_low_rssi_threshold_24GHz); in WifiWakeupNetworkSelector()
53 resources.getInteger(R.integer.config_netrec_wifi_score_low_rssi_threshold_5GHz); in WifiWakeupNetworkSelector()
54 mRssiScoreSlope = resources.getInteger(R.integer.config_netrec_RSSI_SCORE_SLOPE); in WifiWakeupNetworkSelector()
55 mRssiScoreOffset = resources.getInteger(R.integer.config_netrec_RSSI_SCORE_OFFSET); in WifiWakeupNetworkSelector()
57 resources.getInteger(R.integer.config_netrec_PASSPOINT_SECURITY_AWARD); in WifiWakeupNetworkSelector()
58 mSecurityAward = resources.getInteger(R.integer.config_netrec_SECURITY_AWARD); in WifiWakeupNetworkSelector()
59 mBand5GHzAward = resources.getInteger(R.integer.config_netrec_5GHz_preference_boost_factor); in WifiWakeupNetworkSelector()
61 resources.getInteger(R.integer.config_netrec_wifi_score_good_rssi_threshold_24GHz); in WifiWakeupNetworkSelector()
/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/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/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DQuickSettingsPreferenceFragment.java106 res.getInteger(R.integer.standard_setting_backlight)))); in updateDescriptions()
108 res.getInteger(R.integer.standard_setting_contrast)))); in updateDescriptions()
110 res.getInteger(R.integer.standard_setting_brightness)))); in updateDescriptions()
112 res.getInteger(R.integer.standard_setting_sharpness)))); in updateDescriptions()
114 res.getInteger(R.integer.standard_setting_color)))); in updateDescriptions()
116 res.getInteger(R.integer.standard_setting_tint)))); in updateDescriptions()
DSettingsDialog.java110 presetSettingValues[getResources().getInteger( in onCreate()
230 presetSettingChoices[getResources().getInteger(R.integer.custom_setting_index)]); in setFocusedSettingToValue()
258 if (newIndex == getResources().getInteger(R.integer.standard_setting_index)) { in stringSettingHandleKeyCode()
260 } else if (newIndex == getResources().getInteger(R.integer.cinema_setting_index)) { in stringSettingHandleKeyCode()
262 } else if (newIndex == getResources().getInteger(R.integer.vivid_setting_index)) { in stringSettingHandleKeyCode()
264 } else if (newIndex == getResources().getInteger(R.integer.game_setting_index)) { in stringSettingHandleKeyCode()
/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/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/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/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/Camera2/src/com/android/camera/
DCameraActivity.java976 .getInteger(
1232 final int photosphereModuleId = getApplicationContext().getResources().getInteger( in indicateCapture()
1691 int photoIndex = getResources().getInteger(R.integer.camera_mode_photo); in getModeIndex()
1692 int videoIndex = getResources().getInteger(R.integer.camera_mode_video); in getModeIndex()
1693 int gcamIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getModeIndex()
1695 getResources().getInteger(R.integer.camera_mode_capture_intent); in getModeIndex()
1707 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
1721 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
2426 if (modeIndex == getResources().getInteger(R.integer.camera_mode_photo)) { in getPreferredChildModeIndex()
2429 modeIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getPreferredChildModeIndex()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java302 final long duration = getResources().getInteger(
304 final long arrowScaleDuration = getResources().getInteger(
307 final long stagger = getResources().getInteger(
594 final int duration = getResources().getInteger( in trimNotifications()
626 final long arrowScaleDuration = getResources().getInteger( in trimNotifications()
770 final long duration = getResources().getInteger( in animateClose()
772 final long arrowScaleDuration = getResources().getInteger( in animateClose()
774 final long stagger = getResources().getInteger( in animateClose()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java93 SWIPE_ESCAPE_VELOCITY = res.getInteger(R.integer.swipe_escape_velocity); in SwipeHelper()
94 DEFAULT_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.escape_animation_duration); in SwipeHelper()
95 MAX_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.max_escape_animation_duration); in SwipeHelper()
96 MAX_DISMISS_VELOCITY = res.getInteger(R.integer.max_dismiss_velocity); in SwipeHelper()
97 SNAP_ANIM_LEN = res.getInteger(R.integer.snap_animation_duration); in SwipeHelper()
DLeaveBehindItem.java84 sShrinkAnimationDuration = res.getInteger(R.integer.shrink_animation_duration); in loadStatics()
85 sFadeInAnimationDuration = res.getInteger(R.integer.fade_in_animation_duration); in loadStatics()
86 sScrollSlop = res.getInteger(R.integer.leaveBehindSwipeScrollSlop); in loadStatics()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java175 .setDuration(getResources().getInteger(R.integer.media_scrim_duration_ms)); in darkenScrim()
178 .setDuration(getResources().getInteger(R.integer.media_scrim_duration_ms)); in darkenScrim()
190 .setDuration(getResources().getInteger(R.integer.media_scrim_duration_ms)); in setScrimVisibility()
193 .setDuration(getResources().getInteger(R.integer.media_scrim_duration_ms)); in setScrimVisibility()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherStateTransitionAnimation.java228 final int revealDuration = res.getInteger(R.integer.config_overlayRevealTime); in startAnimationToOverlay()
229 final int revealDurationSlide = res.getInteger(R.integer.config_overlaySlideRevealTime); in startAnimationToOverlay()
231 final int itemsAlphaStagger = res.getInteger(R.integer.config_overlayItemsAlphaStagger); in startAnimationToOverlay()
518 final int revealDuration = res.getInteger(R.integer.config_overlayRevealTime); in startAnimationToWorkspaceFromOverlay()
519 final int revealDurationSlide = res.getInteger(R.integer.config_overlaySlideRevealTime); in startAnimationToWorkspaceFromOverlay()
520 final int itemsAlphaStagger = res.getInteger(R.integer.config_overlayItemsAlphaStagger); in startAnimationToWorkspaceFromOverlay()
DWorkspaceStateTransitionAnimation.java213 mAllAppsTransitionTime = res.getInteger(R.integer.config_allAppsTransitionTime); in WorkspaceStateTransitionAnimation()
214 mOverviewTransitionTime = res.getInteger(R.integer.config_overviewTransitionTime); in WorkspaceStateTransitionAnimation()
215 mOverlayTransitionTime = res.getInteger(R.integer.config_overlayTransitionTime); in WorkspaceStateTransitionAnimation()
219 res.getInteger(R.integer.config_workspaceOverviewShrinkPercentage) / 100f; in WorkspaceStateTransitionAnimation()
220 mWorkspaceScrimAlpha = res.getInteger(R.integer.config_workspaceScrimAlpha) / 100f; in WorkspaceStateTransitionAnimation()
/packages/apps/UnifiedEmail/src/com/android/mail/
DMinTimeProgressDialog.java64 .getInteger(R.integer.batch_progress_display_time); in MinTimeProgressDialog()
66 .getInteger(R.integer.batch_progress_wait_time); in MinTimeProgressDialog()
68 + context.getResources().getInteger(R.integer.dialog_animationDefaultDur); in MinTimeProgressDialog()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java194 mSelectionRow = res.getInteger(R.integer.program_guide_selection_row); in ProgramGuide()
196 res.getInteger(R.integer.program_guide_table_detail_fade_anim_duration); in ProgramGuide()
197 mShowDurationMillis = res.getInteger(R.integer.program_guide_show_duration); in ProgramGuide()
199 res.getInteger(R.integer.program_guide_table_detail_toggle_anim_duration); in ProgramGuide()
213 res.getInteger(R.integer.max_recycled_view_pool_epg_side_panel_row)); in ProgramGuide()
250 res.getInteger(R.integer.max_recycled_view_pool_epg_header_row_item)); in ProgramGuide()
269 res.getInteger(R.integer.max_recycled_view_pool_epg_table_row)); in ProgramGuide()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ac3/
DAudioTrackWrapper.java114 int channelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in reconfigure()
115 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in reconfigure()
118 pcmEncoding = format.getInteger(MediaFormat.KEY_PCM_ENCODING); in reconfigure()
/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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java128 mAnimationDuration = res.getInteger(R.integer.dialog_animation_duration); in ActionAdapter()
203 title.setMaxLines(res.getInteger(R.integer.action_title_max_lines)); in getView()
207 title.setMaxLines(res.getInteger(R.integer.action_title_min_lines)); in getView()
209 res.getInteger(R.integer.action_description_min_lines)); in getView()
506 final int titleMaxLines = res.getInteger(R.integer.action_title_max_lines); in getDescriptionMaxHeight()
/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()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java296 res.getInteger(R.integer.folder_max_width_proportion) / 100.0); in ConversationItemViewCoordinates()
298 res.getInteger(R.integer.folder_cell_max_width_proportion) / 100.0); in ConversationItemViewCoordinates()
466 return res.getInteger(R.integer.senders_with_attachment_lengths); in getSendersLength()
468 return res.getInteger(R.integer.senders_lengths); in getSendersLength()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java62 getApplicationContext().getResources().getInteger(
66 getApplicationContext().getResources().getInteger(
70 getApplicationContext().getResources().getInteger(
74 getApplicationContext().getResources().getInteger(
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java304 mTvView.fadeIn(mResources.getInteger(R.integer.tvview_fade_in_duration), in updateTvView()
314 mTvView.fadeIn(mResources.getInteger(R.integer.tvview_fade_in_duration), in fadeInTvView()
324 mTvView.fadeOut(mResources.getInteger(R.integer.tvview_fade_out_duration), in fadeOutTvView()
669 mTvViewAnimator.setDuration(mResources.getInteger(R.integer.tvview_anim_duration)); in initTvAnimatorIfNeeded()
713 .setDuration(mResources.getInteger(R.integer.tvactivity_background_anim_duration)); in initBackgroundAnimatorIfNeeded()

123456789