Home
last modified time | relevance | path

Searched refs:integer (Results 1 – 25 of 160) 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.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.java111 R.integer.standard_setting_index)]); 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/dialog/
DSettingsLayoutFragment.java260 mAnimateInDuration = res.getInteger(R.integer.animate_in_duration); in onCreateView()
261 mAnimateDelay = res.getInteger(R.integer.animate_delay); in onCreateView()
262 mSecondaryAnimateDelay = res.getInteger(R.integer.secondary_animate_delay); in onCreateView()
263 mSlideInStagger = res.getInteger(R.integer.slide_in_stagger); in onCreateView()
264 mSlideInDistance = res.getInteger(R.integer.slide_in_distance); in onCreateView()
614 android.R.integer.config_mediumAnimTime)); in fadeIn()
761 getResources().getInteger(android.R.integer.config_longAnimTime)); in createTranslateAlphaAnimator()
770 alphaAnimator.setDuration(getResources().getInteger(android.R.integer.config_longAnimTime)); in createAlphaAnimator()
785 .getResources().getInteger(R.integer.lb_dialog_animation_duration); in SelectorAnimator()
DDialogActionAdapter.java204 title.setMaxLines(res.getInteger(R.integer.lb_dialog_action_title_max_lines)); in init()
208 title.setMaxLines(res.getInteger(R.integer.lb_dialog_action_title_min_lines)); in init()
210 res.getInteger(R.integer.lb_dialog_action_description_min_lines)); in init()
264 android.R.integer.config_mediumAnimTime)); in fadeIn()
275 final int titleMaxLines = res.getInteger(R.integer.lb_dialog_action_title_max_lines); in getDescriptionMaxHeight()
343 mAnimationDuration = res.getInteger(R.integer.lb_dialog_animation_duration); in changeFocus()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceStateTransitionAnimation.java209 mAllAppsTransitionTime = res.getInteger(R.integer.config_allAppsTransitionTime); in WorkspaceStateTransitionAnimation()
210 mOverviewTransitionTime = res.getInteger(R.integer.config_overviewTransitionTime); in WorkspaceStateTransitionAnimation()
211 mOverlayTransitionTime = res.getInteger(R.integer.config_overlayTransitionTime); in WorkspaceStateTransitionAnimation()
213 res.getInteger(R.integer.config_workspaceSpringLoadShrinkPercentage) / 100f; in WorkspaceStateTransitionAnimation()
215 res.getInteger(R.integer.config_workspaceOverviewShrinkPercentage) / 100f; in WorkspaceStateTransitionAnimation()
216 mWorkspaceScrimAlpha = res.getInteger(R.integer.config_workspaceScrimAlpha) / 100f; in WorkspaceStateTransitionAnimation()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java977 R.integer.camera_mode_photosphere);
1233 R.integer.camera_mode_photosphere); 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()
2426 if (modeIndex == getResources().getInteger(R.integer.camera_mode_photo)) { in getPreferredChildModeIndex()
2429 modeIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getPreferredChildModeIndex()
2443 if (modeIndex == getResources().getInteger(R.integer.camera_mode_photo) in onModeSelected()
2444 || modeIndex == getResources().getInteger(R.integer.camera_mode_gcam)) { in onModeSelected()
[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/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/
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/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/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/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/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/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java63 R.integer.mediapicker_transition_duration);
67 R.integer.asyncimage_transition_duration);
71 R.integer.compose_transition_duration);
75 R.integer.reveal_view_animation_duration);
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsValues.java127 res.getInteger(R.integer.config_delay_in_milliseconds_to_update_old_suggestions); in SettingsValues()
158 mDoubleSpacePeriodTimeout = res.getInteger(R.integer.config_double_space_period_timeout); in SettingsValues()
195 res.getInteger(R.integer.config_key_preview_show_up_duration)); in SettingsValues()
198 res.getInteger(R.integer.config_key_preview_dismiss_duration)); in SettingsValues()
/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()

1234567