Home
last modified time | relevance | path

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

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DConfig.java163 return mContext.getResources().getInteger(R.integer.num_suggestions_above_keyboard); in getNumSuggestionsAboveKeyboard()
170 return mContext.getResources().getInteger(R.integer.max_promoted_suggestions); in getMaxPromotedSuggestions()
174 return mContext.getResources().getInteger(R.integer.max_promoted_results); in getMaxPromotedResults()
188 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_web_source); in getMaxShortcutsPerWebSource()
195 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_non_web_source); in getMaxShortcutsPerNonWebSource()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java44 slotViewSpec.rowsLand = r.getInteger(R.integer.albumset_rows_land); in AlbumSetPage()
45 slotViewSpec.rowsPort = r.getInteger(R.integer.albumset_rows_port); in AlbumSetPage()
82 slotViewSpec.rowsLand = r.getInteger(R.integer.album_rows_land); in AlbumPage()
83 slotViewSpec.rowsPort = r.getInteger(R.integer.album_rows_port); in AlbumPage()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DXmlKeyboardLoader.java310 keyType = getInteger(mXrp, XMLATTR_KEY_TYPE, defAttr.keyType); in getAttributes()
371 int id = getInteger(xrp, XMLATTR_ID, KEYTYPE_ID_LAST); in loadSkbTemplate()
391 int keyCode = getInteger(xrp, XMLATTR_KEY_CODE, 0); in loadSkbTemplate()
400 int keyId = this.getInteger(xrp, XMLATTR_ID, -1); in loadSkbTemplate()
515 int rowId = getInteger(xrp, XMLATTR_ROW_ID, in loadKeyboard()
580 int keyId = this.getInteger(xrp, XMLATTR_ID, -1); in loadKeyboard()
637 int keyCode = getInteger(xrp, XMLATTR_KEY_CODE, 0); in getSoftKey()
701 int stateId = getInteger(xrp, XMLATTR_TOGGLE_STATE_ID, 0); in getToggleStates()
705 int keyTypeId = getInteger(xrp, XMLATTR_KEY_TYPE, KEYTYPE_ID_LAST); in getToggleStates()
708 keyCode = getInteger(xrp, XMLATTR_KEY_CODE, defKeyCode); in getToggleStates()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSettingsValues.java90 mDelayUpdateOldSuggestions = res.getInteger(R.integer.config_delay_update_old_suggestions); in SettingsValues()
131 Integer.toString(res.getInteger(R.integer.config_key_preview_linger_timeout))); in SettingsValues()
239 Integer.toString(resources.getInteger( in getKeyPreviewPopupDismissDelay()
/packages/apps/Email/src/com/android/email/activity/
DMessageListItemCoordinates.java116 return res.getInteger(R.integer.message_search_list_header_mode); in getMode()
122 MSG_USE_WIDE_MODE = res.getInteger(R.integer.message_use_wide_header_mode); in getMode()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaAdapter.java95 COLOR_CHIP_ALL_DAY_HEIGHT = mResources.getInteger(R.integer.color_chip_all_day_height); in AgendaAdapter()
96 COLOR_CHIP_HEIGHT = mResources.getInteger(R.integer.color_chip_height); in AgendaAdapter()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadHandler.java35 private final int mMaxConcurrentDownloadsAllowed = Resources.getSystem().getInteger(
DStorageManager.java54 Resources.getSystem().getInteger(R.integer.config_downloadDataDirSize) * 1024 * 1024;
60 Resources.getSystem().getInteger(
/packages/apps/Calendar/src/com/android/calendar/
DExpandableTextView.java55 mMaxCollapsedLines = getResources().getInteger((R.integer.event_info_desc_line_num)); in init()
/packages/apps/Launcher2/src/com/android/launcher2/
DButtonDropTarget.java56 mTransitionDuration = r.getInteger(R.integer.config_dropTargetBgTransitionDuration); in ButtonDropTarget()
DHotseat.java57 mAllAppsButtonRank = context.getResources().getInteger(R.integer.hotseat_all_apps_index); in Hotseat()
DDragLayer.java542 final float maxDist = (float) res.getInteger(R.integer.config_dropAnimMaxDist); in animateView()
546 duration = res.getInteger(R.integer.config_dropAnimMaxDuration); in animateView()
550 duration = Math.max(duration, res.getInteger(R.integer.config_dropAnimMinDuration)); in animateView()
DFolder.java126 mMaxCountX = res.getInteger(R.integer.folder_max_count_x); in Folder()
127 mMaxCountY = res.getInteger(R.integer.folder_max_count_y); in Folder()
128 mMaxNumItems = res.getInteger(R.integer.folder_max_num_items); in Folder()
138 mExpandDuration = res.getInteger(R.integer.config_folderAnimDuration); in Folder()
DLauncher.java2093 oa.setDuration(getResources().getInteger(R.integer.config_folderAnimDuration)); in growAndFadeOutFolderIcon()
2110 oa.setDuration(getResources().getInteger(R.integer.config_folderAnimDuration)); in shrinkAndFadeInFolderIcon()
2369 final int duration = res.getInteger(R.integer.config_appsCustomizeZoomInTime); in showAppsCustomizeHelper()
2370 final int fadeDuration = res.getInteger(R.integer.config_appsCustomizeFadeInTime); in showAppsCustomizeHelper()
2371 final float scale = (float) res.getInteger(R.integer.config_appsCustomizeZoomScaleFactor); in showAppsCustomizeHelper()
2375 res.getInteger(R.integer.config_workspaceAppsCustomizeAnimationStagger); in showAppsCustomizeHelper()
2542 final int duration = res.getInteger(R.integer.config_appsCustomizeZoomOutTime); in hideAppsCustomizeHelper()
2544 res.getInteger(R.integer.config_appsCustomizeFadeOutTime); in hideAppsCustomizeHelper()
2546 res.getInteger(R.integer.config_appsCustomizeZoomScaleFactor); in hideAppsCustomizeHelper()
2552 int stagger = res.getInteger(R.integer.config_appsCustomizeWorkspaceAnimationStagger); in hideAppsCustomizeHelper()
/packages/apps/Phone/src/com/android/phone/
DOtaUtils.java320 int otaShowActivationScreen = context.getResources().getInteger( in maybeDoOtaCall()
1209 mContext.getResources().getInteger(R.integer.OtaShowActivationScreen); in readXmlSettings()
1215 mContext.getResources().getInteger(R.integer.OtaShowListeningScreen); in readXmlSettings()
1221 mContext.getResources().getInteger(R.integer.OtaShowActivateFailTimes); in readXmlSettings()
1227 mContext.getResources().getInteger(R.integer.OtaPlaySuccessFailureTone); in readXmlSettings()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardService.java170 mFileIndexMinimum = resources.getInteger(R.integer.config_export_file_min_index); in initExporterParams()
171 mFileIndexMaximum = resources.getInteger(R.integer.config_export_file_max_index); in initExporterParams()
/packages/apps/Calendar/src/com/android/calendar/event/
DAttendeesView.java111 resources.getInteger(R.integer.noresponse_attendee_photo_alpha_level); in AttendeesView()
112 mDefaultPhotoAlpha = resources.getInteger(R.integer.default_attendee_photo_alpha_level); in AttendeesView()
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
DNexusRS.java95 mode = mResources.getInteger(R.integer.nexus_mode); in createState()
/packages/apps/Browser/src/com/android/browser/
DTabScrollView.java66 mAnimationDuration = ctx.getResources().getInteger( in init()
DSuggestionsAdapter.java91 getInteger(R.integer.max_suggest_lines_portrait); in SuggestionsAdapter()
93 getInteger(R.integer.max_suggest_lines_landscape); in SuggestionsAdapter()
DTitleBar.java171 int duration = res.getInteger(R.integer.titlebar_animation_duration); in setupTitleBarAnimator()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileListFragment.java71 int columnCount = res.getInteger(R.integer.contact_tile_column_count_in_favorites); in onAttach()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DFloatingChildLayout.java90 mAnimationDuration = resources.getInteger(android.R.integer.config_shortAnimTime); in FloatingChildLayout()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java351 TEXT_SIZE_EVENT_TITLE = resources.getInteger(R.integer.text_size_event_title); in initView()
352 TEXT_SIZE_MONTH_NUMBER = resources.getInteger(R.integer.text_size_month_number); in initView()
353 SIDE_PADDING_MONTH_NUMBER = resources.getInteger(R.integer.month_day_number_margin); in initView()
/packages/apps/Settings/src/com/android/settings/
DBrightnessPreference.java57 … getContext().getResources().getInteger(com.android.internal.R.integer.config_screenBrightnessDim);

12