Home
last modified time | relevance | path

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

1234567891011

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java138 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled()
143 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled()
148 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled()
156 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
161 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
166 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
174 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
179 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
184 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
DSystemNavigationGestureSettingsTest.java99 R.integer.config_navBarInteractionMode, NAV_BAR_MODE_GESTURAL); in testGetCurrentSystemNavigationMode()
103 R.integer.config_navBarInteractionMode, NAV_BAR_MODE_3BUTTON); in testGetCurrentSystemNavigationMode()
107 R.integer.config_navBarInteractionMode, NAV_BAR_MODE_2BUTTON); in testGetCurrentSystemNavigationMode()
/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/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/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java278 mRotationAcceleration3xMs = res.getInteger(R.integer.rotation_acceleration_3x_ms); in onCreate()
279 mRotationAcceleration2xMs = res.getInteger(R.integer.rotation_acceleration_2x_ms); in onCreate()
285 res.getInteger(R.integer.focus_history_cache_type); in onCreate()
287 res.getInteger(R.integer.focus_history_cache_size); in onCreate()
289 res.getInteger(R.integer.focus_history_expiration_time_ms); in onCreate()
292 res.getInteger(R.integer.focus_area_history_cache_type); in onCreate()
294 res.getInteger(R.integer.focus_area_history_cache_size); in onCreate()
296 res.getInteger(R.integer.focus_area_history_expiration_time_ms); in onCreate()
299 res.getInteger(R.integer.focus_window_cache_type); in onCreate()
301 res.getInteger(R.integer.focus_window_cache_size); in onCreate()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java108 override(R.integer.ioStatsNumSamplesToStore, 5);
112 override(R.integer.ioStatsNumSamplesToStore, 5);
116 override(R.integer.ioStatsNumSamplesToStore, 5);
120 override(R.integer.ioStatsNumSamplesToStore, 5);
121 override(R.integer.maxExcessiveIoSamplesInWindow, 0);
122 override(R.integer.acceptableWrittenKBytesPerSample, 10);
123 override(R.integer.acceptableFsyncCallsPerSample, 1000);
128 override(R.integer.ioStatsNumSamplesToStore, 5);
129 override(R.integer.maxExcessiveIoSamplesInWindow, 0);
130 override(R.integer.acceptableWrittenKBytesPerSample, 1000);
[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/Car/Calendar/src/com/android/car/calendar/common/
DEventsLiveData.java184 boolean allDay = integer(eventInstancesCursor, CalendarContract.Events.ALL_DAY) == 1; in createEventsForRow()
187 long startTimeMs = integer(eventInstancesCursor, Instances.BEGIN); in createEventsForRow()
188 long endTimeMs = integer(eventInstancesCursor, Instances.END); in createEventsForRow()
207 long calendarColor = integer(eventInstancesCursor, Instances.CALENDAR_COLOR); in createEventsForRow()
210 (int) integer(eventInstancesCursor, Instances.SELF_ATTENDEE_STATUS); in createEventsForRow()
302 private static long integer(Cursor cursor, String columnName) { in integer() method in EventsLiveData
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSensorMetadata.java208 String integer = keys.next(); in readMappingFromJSON() local
209 if (json.get(integer) instanceof String && isInteger(integer)) { in readMappingFromJSON()
210 map.put(Integer.parseInt(integer), json.getString(integer)); in readMappingFromJSON()
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/animationhelper/
DCarHeadsUpNotificationRightAnimationHelper.java43 context.getResources().getInteger(R.integer.headsup_total_enter_duration_ms)); in getAnimateInAnimator()
48 context.getResources().getInteger(R.integer.headsup_alpha_enter_duration_ms)); in getAnimateInAnimator()
66 move.setDuration(context.getResources().getInteger(R.integer.headsup_exit_duration_ms)); in getAnimateOutAnimator()
70 alpha.setDuration(context.getResources().getInteger(R.integer.headsup_exit_duration_ms)); in getAnimateOutAnimator()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DNightDisplayIntensityPreferenceControllerTest.java78 com.android.internal.R.integer.config_nightDisplayColorTemperatureMin, 2950); in onPreferenceChange_changesTemperature()
80 com.android.internal.R.integer.config_nightDisplayColorTemperatureMax, 3050); in onPreferenceChange_changesTemperature()
93 com.android.internal.R.integer.config_nightDisplayColorTemperatureMin, 2950); in rangeOfSlider_staysWithinValidRange()
95 com.android.internal.R.integer.config_nightDisplayColorTemperatureMax, 3050); in rangeOfSlider_staysWithinValidRange()
/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.java646 ioStatsNumSamplesToStore = resources.getInteger(R.integer.ioStatsNumSamplesToStore); in Configuration()
648 1024 * resources.getInteger(R.integer.acceptableWrittenKBytesPerSample); in Configuration()
650 resources.getInteger(R.integer.acceptableFsyncCallsPerSample); in Configuration()
652 resources.getInteger(R.integer.maxExcessiveIoSamplesInWindow); in Configuration()
654 * resources.getInteger(R.integer.uptimeHoursIntervalBetweenUptimeDataWrite); in Configuration()
656 resources.getInteger(R.integer.acceptableHoursPerOnePercentFlashWear); in Configuration()
657 ioStatsRefreshRateMs = 1000 * resources.getInteger(R.integer.ioStatsRefreshRateSeconds); in Configuration()
/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.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/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java482 when(mResources.getInteger(eq(R.integer.config_captive_portal_dns_probe_timeout))) in setUp()
777 doReturn(100).when(mResources).getInteger(R.integer.config_min_matches_http_content_length); in testMatchesHttpContentLength()
779 R.integer.config_max_matches_http_content_length); in testMatchesHttpContentLength()
792 R.integer.config_min_matches_http_content_length); in testMatchesHttpContentLength()
794 R.integer.config_max_matches_http_content_length); in testMatchesHttpContentLength()
820 doReturn(100).when(mResources).getInteger(R.integer.config_min_matches_http_content_length); in testGetResIntConfig()
822 R.integer.config_max_matches_http_content_length); in testGetResIntConfig()
824 R.integer.config_min_matches_http_content_length, Integer.MAX_VALUE)); in testGetResIntConfig()
826 R.integer.config_max_matches_http_content_length, 0)); in testGetResIntConfig()
829 eq(R.integer.config_min_matches_http_content_length)); in testGetResIntConfig()
[all …]
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplierTest.java65 R.integer.driverAwarenessTouchModelMaxPermits); in setUp()
67 R.integer.driverAwarenessTouchModelThrottleMs); in setUp()
115 eq(R.integer.driverAwarenessTouchModelMaxPermits)); in testconsumePermitLocked_decrementsToMinOf0()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md72 | `int i` | 32-bit signed integer |4 |4 |
79 | `unsigned u` | 32-bit unsigned integer |4 |4 |
86 | `int64_t i64` | 64-bit signed integer |8 |8 |
92 | `uint64_t i64` | 64-bit unsigned integer |8 |8 |
104 …o the endianess. This makes possible for interpreting a 32-bit integer as a 64-bit integer, withou…
113 …For normal integer values, it can contains `kIntFlag`, `kUintFlag`, `kInt64Flag` and/or `kUint64F…
234 The naive algorithm for integer-to-string conversion involves division per each decimal digit. We h…
/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/services/Telephony/tests/src/com/android/services/telephony/rcs/
DRcsFeatureControllerTest.java138 controller.getRegistrationTech(integer -> { in testFeatureManagerConnectedRegister()
235 controller.getRegistrationTech(integer -> { in testFeatureManagerDisconnectedException()
236 assertNotNull(integer); in testFeatureManagerDisconnectedException()
237 assertEquals(ImsRegistrationImplBase.REGISTRATION_TECH_NONE, integer.intValue()); in testFeatureManagerDisconnectedException()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStoreUtils.java143 Integer integer) { in putIntegerIfNotNull() argument
144 if (integer != null) { in putIntegerIfNotNull()
145 bundle.putInt(attrName, integer); in putIntegerIfNotNull()
/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/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()

1234567891011