Home
last modified time | relevance | path

Searched refs:integer (Results 1 – 25 of 151) sorted by relevance

1234567

/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.java46 int photoModuleId = context.getResources().getInteger(R.integer.camera_mode_photo); in setupModules()
50 .getInteger(R.integer.camera_mode_video)); in setupModules()
53 .getInteger(R.integer.camera_mode_panorama)); in setupModules()
55 .getInteger(R.integer.camera_mode_photosphere)); in setupModules()
59 .getInteger(R.integer.camera_mode_refocus)); in setupModules()
63 .getInteger(R.integer.camera_mode_gcam)); in setupModules()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSettingsDialog.java106 R.integer.standard_setting_index)]); in onCreate()
204 presetSettingChoices[getResources().getInteger(R.integer.custom_setting_index)]); in setFocusedSettingToValue()
231 if (newIndex == getResources().getInteger(R.integer.standard_setting_index)) { in stringSettingHandleKeyCode()
233 } else if (newIndex == getResources().getInteger(R.integer.cinema_setting_index)) { in stringSettingHandleKeyCode()
235 } else if (newIndex == getResources().getInteger(R.integer.vivid_setting_index)) { in stringSettingHandleKeyCode()
237 } 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/dialog/
DSettingsLayoutFragment.java271 mAnimateInDuration = res.getInteger(R.integer.animate_in_duration); in onCreateView()
272 mAnimateDelay = res.getInteger(R.integer.animate_delay); in onCreateView()
273 mSecondaryAnimateDelay = res.getInteger(R.integer.secondary_animate_delay); in onCreateView()
274 mSlideInStagger = res.getInteger(R.integer.slide_in_stagger); in onCreateView()
275 mSlideInDistance = res.getInteger(R.integer.slide_in_distance); in onCreateView()
607 android.R.integer.config_mediumAnimTime)); in fadeIn()
755 getResources().getInteger(android.R.integer.config_longAnimTime)); in createTranslateAlphaAnimator()
764 alphaAnimator.setDuration(getResources().getInteger(android.R.integer.config_longAnimTime)); in createAlphaAnimator()
779 .getResources().getInteger(R.integer.lb_dialog_animation_duration); in SelectorAnimator()
DSettingsLayoutAdapter.java280 mTitle.setMaxLines(res.getInteger(R.integer.lb_dialog_action_title_max_lines)); in bind()
286 mTitle.setMaxLines(res.getInteger(R.integer.lb_dialog_action_title_min_lines)); in bind()
289 res.getInteger(R.integer.lb_dialog_action_description_min_lines)); in bind()
319 android.R.integer.config_mediumAnimTime)); in fadeIn()
331 final int titleMaxLines = res.getInteger(R.integer.lb_dialog_action_title_max_lines); in getDescriptionMaxHeight()
404 mAnimationDuration = res.getInteger(R.integer.lb_dialog_animation_duration); in changeFocus()
DDialogActionAdapter.java206 title.setMaxLines(res.getInteger(R.integer.lb_dialog_action_title_max_lines)); in init()
210 title.setMaxLines(res.getInteger(R.integer.lb_dialog_action_title_min_lines)); in init()
212 res.getInteger(R.integer.lb_dialog_action_description_min_lines)); in init()
266 android.R.integer.config_mediumAnimTime)); in fadeIn()
277 final int titleMaxLines = res.getInteger(R.integer.lb_dialog_action_title_max_lines); in getDescriptionMaxHeight()
345 mAnimationDuration = res.getInteger(R.integer.lb_dialog_animation_duration); in changeFocus()
/packages/apps/Dialer/src/com/android/dialer/list/
DSwipeHelper.java104 SWIPE_ESCAPE_VELOCITY = res.getInteger(R.integer.swipe_escape_velocity); in SwipeHelper()
105 DEFAULT_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.escape_animation_duration); in SwipeHelper()
106 MAX_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.max_escape_animation_duration); in SwipeHelper()
107 MAX_DISMISS_VELOCITY = res.getInteger(R.integer.max_dismiss_velocity); in SwipeHelper()
108 SNAP_ANIM_LEN = res.getInteger(R.integer.snap_animation_duration); in SwipeHelper()
109 SWIPE_SCROLL_SLOP = res.getInteger(R.integer.swipe_scroll_slop); in SwipeHelper()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java1573 int photoIndex = getResources().getInteger(R.integer.camera_mode_photo); in getModeIndex()
1574 int videoIndex = getResources().getInteger(R.integer.camera_mode_video); in getModeIndex()
1575 int gcamIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getModeIndex()
2164 if (modeIndex == getResources().getInteger(R.integer.camera_mode_photo)) { in getPreferredChildModeIndex()
2167 modeIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getPreferredChildModeIndex()
2181 if (modeIndex == getResources().getInteger(R.integer.camera_mode_photo) in onModeSelected()
2182 || modeIndex == getResources().getInteger(R.integer.camera_mode_gcam)) { in onModeSelected()
2353 if (mCurrentModeIndex == getResources().getInteger(R.integer.camera_mode_photo)) { in currentUserInterfaceMode()
2356 if (mCurrentModeIndex == getResources().getInteger(R.integer.camera_mode_video)) { in currentUserInterfaceMode()
2359 if (mCurrentModeIndex == getResources().getInteger(R.integer.camera_mode_refocus)) { in currentUserInterfaceMode()
[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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java134 mAnimationDuration = res.getInteger(R.integer.dialog_animation_duration); in ActionAdapter()
209 title.setMaxLines(res.getInteger(R.integer.action_title_max_lines)); in getView()
213 title.setMaxLines(res.getInteger(R.integer.action_title_min_lines)); in getView()
215 res.getInteger(R.integer.action_description_min_lines)); in getView()
347 android.R.integer.config_mediumAnimTime)); in fadeIn()
539 final int titleMaxLines = res.getInteger(R.integer.action_title_max_lines); in getDescriptionMaxHeight()
/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/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()
DActionableToastBar.java111 mAnimationDuration = getResources().getInteger(R.integer.toast_bar_animation_duration_ms); in ActionableToastBar()
112 mMinToastDuration = getResources().getInteger(R.integer.toast_bar_min_duration_ms); in ActionableToastBar()
113 mMaxToastDuration = getResources().getInteger(R.integer.toast_bar_max_duration_ms); in ActionableToastBar()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java160 Integer integer = values.getAsInteger(StructuredName.FULL_NAME_STYLE); in fromValues() local
161 fullNameStyle = integer == null ? FullNameStyle.UNDEFINED : integer; in fromValues()
167 integer = values.getAsInteger(StructuredName.PHONETIC_NAME_STYLE); in fromValues()
168 phoneticNameStyle = integer == null ? PhoneticNameStyle.UNDEFINED : integer; in fromValues()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java192 res.getInteger(R.integer.config_dynamic_grid_overview_icon_zone_percentage) / 100f; in DeviceProfile()
194 res.getInteger(R.integer.config_dynamic_grid_overview_scale_percentage) / 100f; in DeviceProfile()
286 float padding = res.getInteger(R.integer.config_allAppsButtonPaddingPercent) / 100f; in computeAllAppsButtonSize()
402 resources.getInteger(R.integer.config_dynamic_grid_max_long_edge_cell_count); in updateIconSize()
404 resources.getInteger(R.integer.config_dynamic_grid_max_short_edge_cell_count); in updateIconSize()
406 resources.getInteger(R.integer.config_dynamic_grid_min_edge_cell_count); in updateIconSize()
/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/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/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()
/packages/providers/TvProvider/src/com/android/providers/tv/
DEpgDataCleanupService.java58 int maxProgramAgeInDays = getResources().getInteger(R.integer.max_program_age_in_days); in onHandleIntent()
64 getResources().getInteger(R.integer.max_watched_program_age_in_days); in onHandleIntent()
70 getResources().getInteger(R.integer.max_watched_program_entry_count); in onHandleIntent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsValues.java117 res.getInteger(R.integer.config_delay_in_milliseconds_to_update_old_suggestions); in SettingsValues()
153 mDoubleSpacePeriodTimeout = res.getInteger(R.integer.config_double_space_period_timeout); in SettingsValues()
182 res.getInteger(R.integer.config_key_preview_show_up_duration)); in SettingsValues()
185 res.getInteger(R.integer.config_key_preview_dismiss_duration)); in SettingsValues()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java292 animatorSet.setDuration(getResources().getInteger(android.R.integer.config_mediumAnimTime)); in onTextSizeChanged()
345 getResources().getInteger(android.R.integer.config_longAnimTime)); in reveal()
349 getResources().getInteger(android.R.integer.config_mediumAnimTime)); in reveal()
431 animatorSet.setDuration(getResources().getInteger(android.R.integer.config_longAnimTime)); in onResult()
/packages/services/Telephony/src/com/android/phone/
DOtaUtils.java267 R.integer.OtaShowActivationScreen); in maybeDoOtaCall()
1162 mContext.getResources().getInteger(R.integer.OtaShowActivationScreen); in readXmlSettings()
1168 mContext.getResources().getInteger(R.integer.OtaShowListeningScreen); in readXmlSettings()
1174 mContext.getResources().getInteger(R.integer.OtaShowActivateFailTimes); in readXmlSettings()
1180 mContext.getResources().getInteger(R.integer.OtaPlaySuccessFailureTone); in readXmlSettings()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogFragment.java212 mFadeInDuration = getResources().getInteger(R.integer.call_log_actions_fade_in_duration); in onCreate()
213 mFadeInStartDelay = getResources().getInteger(R.integer.call_log_actions_fade_start); in onCreate()
214 mFadeOutDuration = getResources().getInteger(R.integer.call_log_actions_fade_out_duration); in onCreate()
216 R.integer.call_log_expand_collapse_duration); in onCreate()

1234567