Home
last modified time | relevance | path

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

1234567891011

/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.java107 res.getInteger(R.integer.standard_setting_backlight)))); in updateDescriptions()
109 res.getInteger(R.integer.standard_setting_contrast)))); in updateDescriptions()
111 res.getInteger(R.integer.standard_setting_brightness)))); in updateDescriptions()
113 res.getInteger(R.integer.standard_setting_sharpness)))); in updateDescriptions()
115 res.getInteger(R.integer.standard_setting_color)))); in updateDescriptions()
117 res.getInteger(R.integer.standard_setting_tint)))); in updateDescriptions()
DSettingsDialog.java111 presetSettingValues[getResources().getInteger( in onCreate()
231 presetSettingChoices[getResources().getInteger(R.integer.custom_setting_index)]); in setFocusedSettingToValue()
259 if (newIndex == getResources().getInteger(R.integer.standard_setting_index)) { in stringSettingHandleKeyCode()
261 } else if (newIndex == getResources().getInteger(R.integer.cinema_setting_index)) { in stringSettingHandleKeyCode()
263 } else if (newIndex == getResources().getInteger(R.integer.vivid_setting_index)) { in stringSettingHandleKeyCode()
265 } 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/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/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/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java605 ioStatsNumSamplesToStore = resources.getInteger(R.integer.ioStatsNumSamplesToStore); in Configuration()
607 1024 * resources.getInteger(R.integer.acceptableWrittenKBytesPerSample); in Configuration()
609 resources.getInteger(R.integer.acceptableFsyncCallsPerSample); in Configuration()
611 resources.getInteger(R.integer.maxExcessiveIoSamplesInWindow); in Configuration()
614 resources.getInteger(R.integer.uptimeHoursIntervalBetweenUptimeDataWrite); in Configuration()
616 resources.getInteger(R.integer.acceptableHoursPerOnePercentFlashWear); in Configuration()
618 1000 * resources.getInteger(R.integer.ioStatsRefreshRateSeconds); in Configuration()
/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/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/
DCameraActivity.java977 .getInteger(
1233 final int photosphereModuleId = getApplicationContext().getResources().getInteger( in indicateCapture()
1695 int photoIndex = getResources().getInteger(R.integer.camera_mode_photo); in getModeIndex()
1696 int videoIndex = getResources().getInteger(R.integer.camera_mode_video); in getModeIndex()
1697 int gcamIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getModeIndex()
1699 getResources().getInteger(R.integer.camera_mode_capture_intent); in getModeIndex()
1711 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
1725 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
2469 if (modeIndex == getResources().getInteger(R.integer.camera_mode_photo)) { in getPreferredChildModeIndex()
2472 modeIndex = getResources().getInteger(R.integer.camera_mode_gcam); in getPreferredChildModeIndex()
[all …]
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java296 boolean isUserEdited = mApnData.getInteger(EDITED_INDEX, Telephony.Carriers.USER_EDITED) in onCreate()
301 if (!isUserEdited && (mApnData.getInteger(USER_EDITABLE_INDEX, 1) == 0 in onCreate()
521 int authVal = mApnData.getInteger(AUTH_TYPE_INDEX, -1); in fillUI()
530 mCarrierEnabled.setChecked(mApnData.getInteger(CARRIER_ENABLED_INDEX, 1) == 1); in fillUI()
531 mBearerInitialVal = mApnData.getInteger(BEARER_INDEX, 0); in fillUI()
534 int bearerBitmask = mApnData.getInteger(BEARER_BITMASK_INDEX, 0); in fillUI()
839 Integer valueFromLocalCache = mApnData.getInteger(index); in setIntValueAndCheckIfDiff()
1282 Integer getInteger(int index) { in getInteger() method in ApnEditor.ApnData
1286 Integer getInteger(int index, Integer defaultValue) { in getInteger() method in ApnEditor.ApnData
1287 Integer val = getInteger(index); in getInteger()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java356 final boolean isUserEdited = mApnData.getInteger(EDITED_INDEX, in onCreate()
361 if (!isUserEdited && (mApnData.getInteger(USER_EDITABLE_INDEX, 1) == 0 in onCreate()
587 final int authVal = mApnData.getInteger(AUTH_TYPE_INDEX, -1); in fillUI()
596 mCarrierEnabled.setChecked(mApnData.getInteger(CARRIER_ENABLED_INDEX, 1) == 1); in fillUI()
597 mBearerInitialVal = mApnData.getInteger(BEARER_INDEX, 0); in fillUI()
600 int bearerBitmask = mApnData.getInteger(BEARER_BITMASK_INDEX, 0); in fillUI()
925 final Integer valueFromLocalCache = mApnData.getInteger(index); in setIntValueAndCheckIfDiff()
1375 Integer getInteger(int index) { in getInteger() method in ApnEditor.ApnData
1379 Integer getInteger(int index, Integer defaultValue) { in getInteger() method in ApnEditor.ApnData
1380 final Integer val = getInteger(index); in getInteger()
/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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiRecyclerView.java172 a.getInteger(R.styleable.CarUiRecyclerView_startOffset, /* defValue= */ 0); in init()
174 a.getInteger(R.styleable.CarUiRecyclerView_endOffset, /* defValue= */ 0); in init()
193 a.getInteger(R.styleable.CarUiRecyclerView_startOffset, /* defValue= */ 0); in init()
195 a.getInteger(R.styleable.CarUiRecyclerView_endOffset, /* defValue= */ 0); in init()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java118 mRowCount = a.getInteger(R.styleable.LeanbackKeyboardView_rowCount, -1); in LeanbackKeyboardView()
119 mColCount = a.getInteger(R.styleable.LeanbackKeyboardView_columnCount, -1); in LeanbackKeyboardView()
141 mClickAnimDur = res.getInteger(R.integer.clicked_anim_duration); in LeanbackKeyboardView()
142 mUnfocusStartDelay = res.getInteger(R.integer.unfocused_anim_delay); in LeanbackKeyboardView()
144 mInactiveMiniKbAlpha = res.getInteger(R.integer.inactive_mini_kb_alpha); in LeanbackKeyboardView()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java283 mResources.getInteger(R.integer.tvview_fade_in_duration), in updateTvAspectRatio()
293 mResources.getInteger(R.integer.tvview_fade_in_duration), in fadeInTvView()
303 mResources.getInteger(R.integer.tvview_fade_out_duration), in fadeOutTvView()
446 mTvViewAnimator.setDuration(mResources.getInteger(R.integer.tvview_anim_duration)); in initTvAnimatorIfNeeded()
489 mResources.getInteger(R.integer.tvactivity_background_anim_duration)); in initBackgroundAnimatorIfNeeded()
/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/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java96 int maxPools = res.getInteger(R.integer.image_fetcher_thread_pools_max_count); in LocalImageFetcher()
97 mPoolSize = res.getInteger(R.integer.image_fetcher_thread_pool_size); in LocalImageFetcher()
100 int cacheSizeMB = res.getInteger(R.integer.bitmap_memory_cache_max_size_mb); in LocalImageFetcher()
101 int drawableDefaultWeightKB = res.getInteger(R.integer.drawable_default_weight_kb); in LocalImageFetcher()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java222 mSelectionRow = res.getInteger(R.integer.program_guide_selection_row); in ProgramGuide()
224 res.getInteger(R.integer.program_guide_table_detail_fade_anim_duration); in ProgramGuide()
225 mShowDurationMillis = res.getInteger(R.integer.program_guide_show_duration); in ProgramGuide()
227 res.getInteger(R.integer.program_guide_table_detail_toggle_anim_duration); in ProgramGuide()
243 res.getInteger(R.integer.max_recycled_view_pool_epg_side_panel_row)); in ProgramGuide()
286 res.getInteger(R.integer.max_recycled_view_pool_epg_header_row_item)); in ProgramGuide()
307 res.getInteger(R.integer.max_recycled_view_pool_epg_table_row)); in ProgramGuide()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingParams.java46 final int interpolationAngularDegree = mainKeyboardViewAttr.getInteger(R.styleable in GestureStrokeDrawingParams()
54 mMaxInterpolationSegments = mainKeyboardViewAttr.getInteger( in GestureStrokeDrawingParams()
/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(

1234567891011