Home
last modified time | relevance | path

Searched refs:R (Results 1 – 25 of 6289) sorted by relevance

12345678910>>...252

/packages/apps/TV/src/com/android/tv/onboarding/
DWelcomeFragment.java41 import com.android.tv.R;
63 R.drawable.tv_1a_01,
64 R.drawable.tv_1a_02,
65 R.drawable.tv_1a_03,
66 R.drawable.tv_1a_04,
67 R.drawable.tv_1a_05,
68 R.drawable.tv_1a_06,
69 R.drawable.tv_1a_07,
70 R.drawable.tv_1a_08,
71 R.drawable.tv_1a_09,
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/
DFitnessPermissionStrings.kt19 import com.android.healthconnect.controller.R
44 R.string.active_calories_burned_uppercase_label,
45 R.string.active_calories_burned_lowercase_label,
46 R.string.active_calories_burned_read_content_description,
47 R.string.active_calories_burned_write_content_description))
51 R.string.distance_uppercase_label,
52 R.string.distance_lowercase_label,
53 R.string.distance_read_content_description,
54 R.string.distance_write_content_description))
58 R.string.elevation_gained_uppercase_label,
[all …]
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigInvalidTest.kt23 import com.android.safetycenter.config.tests.R
68 R.raw.config_dynamic_safety_source_all_disabled_no_private, in parameters()
75 R.raw.config_dynamic_safety_source_all_disabled_no_work, in parameters()
81 R.raw.config_dynamic_safety_source_all_hidden_with_search_no_private, in parameters()
88 R.raw.config_dynamic_safety_source_all_hidden_with_search_no_work, in parameters()
94 R.raw.config_dynamic_safety_source_all_no_private, in parameters()
101 R.raw.config_dynamic_safety_source_all_no_work, in parameters()
107 R.raw.config_dynamic_safety_source_disabled_no_summary, in parameters()
113 R.raw.config_dynamic_safety_source_disabled_no_title, in parameters()
119 R.raw.config_dynamic_safety_source_duplicate_key, in parameters()
[all …]
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java43 import com.android.phone.common.R;
80 private final int[] mButtonIds = new int[] {R.id.zero, R.id.one, R.id.two, R.id.three,
81 R.id.four, R.id.five, R.id.six, R.id.seven, R.id.eight, R.id.nine, R.id.star,
82 R.id.pound};
100 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Dialpad); in DialpadView()
101 mRippleColor = a.getColorStateList(R.styleable.Dialpad_dialpad_key_button_touch_tint); in DialpadView()
105 R.dimen.dialpad_key_button_translate_y); in DialpadView()
116 mDigits = (EditText) findViewById(R.id.digits); in onFinishInflate()
117 mDelete = (ImageButton) findViewById(R.id.deleteButton); in onFinishInflate()
118 mOverflowMenuButton = findViewById(R.id.dialpad_overflow); in onFinishInflate()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenu.java24 import com.android.documentsui.R;
42 R.id.dir_menu_share, in create()
43 R.id.dir_menu_open, in create()
44 R.id.dir_menu_open_with, in create()
45 R.id.dir_menu_cut_to_clipboard, in create()
46 R.id.dir_menu_copy_to_clipboard, in create()
47 R.id.dir_menu_paste_from_clipboard, in create()
48 R.id.dir_menu_create_dir, in create()
49 R.id.dir_menu_select_all, in create()
50 R.id.dir_menu_deselect_all, in create()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java62 appendMessageDetail(context, buf, R.string.delivery_time_heading, in getMessageDetails()
67 appendMessageDetail(context, buf, R.string.message_identifier, in getMessageDetails()
69 appendMessageDetail(context, buf, R.string.message_serial_number, in getMessageDetails()
79 appendMessageDetail(context, buf, R.string.data_coding_scheme, in getMessageDetails()
82 appendMessageDetail(context, buf, R.string.message_content, message.getMessageBody()); in getMessageDetails()
84 appendMessageDetail(context, buf, R.string.location_check_time, locationCheckTime == -1 in getMessageDetails()
88 appendMessageDetail(context, buf, R.string.maximum_waiting_time, in getMessageDetails()
90 + context.getString(R.string.seconds)); in getMessageDetails()
92 appendMessageDetail(context, buf, R.string.message_displayed, in getMessageDetails()
95 appendMessageDetail(context, buf, R.string.message_coordinates, in getMessageDetails()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DExerciseSegmentTypeFormatter.kt20 import com.android.healthconnect.controller.R
31 context.getString(R.string.back_extension) in getSegmentType()
33 context.getString(R.string.barbell_shoulder_press) in getSegmentType()
35 context.getString(R.string.bench_press) in getSegmentType()
37 context.getString(R.string.bench_sit_up) in getSegmentType()
38 ExerciseSegmentType.EXERCISE_SEGMENT_TYPE_BURPEE -> context.getString(R.string.burpee) in getSegmentType()
39 ExerciseSegmentType.EXERCISE_SEGMENT_TYPE_CRUNCH -> context.getString(R.string.crunch) in getSegmentType()
41 context.getString(R.string.deadlift) in getSegmentType()
43 context.getString(R.string.dumbbell_curl_left_arm) in getSegmentType()
45 context.getString(R.string.dumbbell_curl_right_arm) in getSegmentType()
[all …]
DNutritionFormatter.kt25 import com.android.healthconnect.controller.R in <lambda>()
48 format(context.getString(R.string.gram_short_format), mapOf("count" to grams)) in <lambda>()
63 format(context.getString(R.string.gram_long_format), mapOf("count" to grams)) in <lambda>()
75 record.mealName?.run { stringJoiner.addAggregation(R.string.meal_name, this) } in <lambda>()
78 R.string.mealtype_label, formatMealType(context, record.mealType)) in <lambda>()
80 record.biotin?.addAggregation(R.string.biotin, stringJoiner, formatMass) in <lambda>()
81 record.caffeine?.addAggregation(R.string.caffeine, stringJoiner, formatMass) in <lambda>()
82 record.calcium?.addAggregation(R.string.calcium, stringJoiner, formatMass) in <lambda>()
83 record.chloride?.addAggregation(R.string.chloride, stringJoiner, formatMass) in <lambda>()
84 record.cholesterol?.addAggregation(R.string.cholesterol, stringJoiner, formatMass) in <lambda>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadView.java62 R.id.zero,
63 R.id.one,
64 R.id.two,
65 R.id.three,
66 R.id.four,
67 R.id.five,
68 R.id.six,
69 R.id.seven,
70 R.id.eight,
71 R.id.nine,
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsMap.java21 import com.android.car.settings.R;
31 R.string.units_unit_abbreviation_meter_per_sec, R.string.units_unit_name_meter_per_sec);
33 R.string.units_unit_abbreviation_rpm, R.string.units_unit_name_rpm);
35 R.string.units_unit_abbreviation_hertz, R.string.units_unit_name_hertz);
37 R.string.units_unit_abbreviation_percentile, R.string.units_unit_name_percentile);
39 R.string.units_unit_abbreviation_millimeter, R.string.units_unit_name_millimeter);
41 R.string.units_unit_abbreviation_meter, R.string.units_unit_name_meter);
43 R.string.units_unit_abbreviation_kilometer, R.string.units_unit_name_kilometer);
45 R.string.units_unit_abbreviation_mile, R.string.units_unit_name_mile);
47 R.string.units_unit_abbreviation_celsius, R.string.units_unit_name_celsius);
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DAnimationDynamicColorsHelper.java24 import com.android.managedprovisioning.R;
153 new ColorItem(R.color.blue600, ".blue600"), in buildLightToDarkColorsBiMap()
154 new ColorItem(R.color.blue400, ".blue400")); in buildLightToDarkColorsBiMap()
156 new ColorItem(R.color.green600, ".green600"), in buildLightToDarkColorsBiMap()
157 new ColorItem(R.color.green400, ".green400")); in buildLightToDarkColorsBiMap()
159 new ColorItem(R.color.red600, ".red600"), in buildLightToDarkColorsBiMap()
160 new ColorItem(R.color.red400, ".red400")); in buildLightToDarkColorsBiMap()
162 new ColorItem(R.color.yellow600, ".yellow600"), in buildLightToDarkColorsBiMap()
163 new ColorItem(R.color.yellow400, ".yellow400")); in buildLightToDarkColorsBiMap()
165 new ColorItem(R.color.blue400, ".blue400"), in buildLightToDarkColorsBiMap()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_camera.h124 inline void db_OrthonormalizeRotation(double R[9]) in db_OrthonormalizeRotation()
128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation()
130 R[0]*=mult; R[1]*=mult; R[2]*=mult; in db_OrthonormalizeRotation()
132 s=R[0]*R[3]+R[1]*R[4]+R[2]*R[5]; in db_OrthonormalizeRotation()
133 R[3]-=s*R[0]; R[4]-=s*R[1]; R[5]-=s*R[2]; in db_OrthonormalizeRotation()
135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation()
137 R[3]*=mult; R[4]*=mult; R[5]*=mult; in db_OrthonormalizeRotation()
139 R[6]=R[1]*R[5]-R[4]*R[2]; in db_OrthonormalizeRotation()
140 R[7]=R[2]*R[3]-R[5]*R[0]; in db_OrthonormalizeRotation()
141 R[8]=R[0]*R[4]-R[3]*R[1]; in db_OrthonormalizeRotation()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/theme/
DWearPermissionTonalPalette.kt5 import android.R
110 neutral100 = ColorResourceHelper.getColor(context, R.color.system_neutral1_0), in dynamicTonalPalette()
111 neutral99 = ColorResourceHelper.getColor(context, R.color.system_neutral1_10), in dynamicTonalPalette()
112 neutral95 = ColorResourceHelper.getColor(context, R.color.system_neutral1_50), in dynamicTonalPalette()
113 neutral90 = ColorResourceHelper.getColor(context, R.color.system_neutral1_100), in dynamicTonalPalette()
114 neutral80 = ColorResourceHelper.getColor(context, R.color.system_neutral1_200), in dynamicTonalPalette()
115 neutral70 = ColorResourceHelper.getColor(context, R.color.system_neutral1_300), in dynamicTonalPalette()
116 neutral60 = ColorResourceHelper.getColor(context, R.color.system_neutral1_400), in dynamicTonalPalette()
117 neutral50 = ColorResourceHelper.getColor(context, R.color.system_neutral1_500), in dynamicTonalPalette()
118 neutral40 = ColorResourceHelper.getColor(context, R.color.system_neutral1_600), in dynamicTonalPalette()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyVisualAttributes.java23 import com.android.inputmethod.latin.R;
58 R.styleable.Keyboard_Key_keyTypeface,
59 R.styleable.Keyboard_Key_keyLetterSize,
60 R.styleable.Keyboard_Key_keyLabelSize,
61 R.styleable.Keyboard_Key_keyLargeLetterRatio,
62 R.styleable.Keyboard_Key_keyHintLetterRatio,
63 R.styleable.Keyboard_Key_keyShiftedLetterHintRatio,
64 R.styleable.Keyboard_Key_keyHintLabelRatio,
65 R.styleable.Keyboard_Key_keyPreviewTextRatio,
66 R.styleable.Keyboard_Key_keyTextColor,
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DAudioCardFragmentTest.java40 import com.android.car.carlauncher.R;
89 .getSupportFragmentManager().findFragmentById(R.id.bottom_card); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
96 onView(allOf(withId(R.id.card_view), isDescendantOfA(withId(R.id.bottom_card)))) in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
101 onView(allOf(withId(R.id.card_background), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
102 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
103 onView(allOf(withId(R.id.card_background_image), is(instanceOf(CrossfadeImageView.class)), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
104 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
105 onView(allOf(withId(R.id.media_layout), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
106 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
107 onView(allOf(withId(R.id.primary_text), withText(AUDIO_VIEW_TITLE), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DActionButtonsPreferenceTest.java42 import com.android.car.settings.R;
64 mRootView = View.inflate(mContext, R.layout.action_buttons_preference, /* parent= */ null); in setUp()
80 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
81 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
82 mPref.getButton(ActionButtons.BUTTON3).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
83 mPref.getButton(ActionButtons.BUTTON4).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
87 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
89 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
91 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
93 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java31 import com.android.dialer.contacts.resources.R;
94 return R.string.call_other; in getPhoneLabelResourceId()
98 return R.string.call_home; in getPhoneLabelResourceId()
100 return R.string.call_mobile; in getPhoneLabelResourceId()
102 return R.string.call_work; in getPhoneLabelResourceId()
104 return R.string.call_fax_work; in getPhoneLabelResourceId()
106 return R.string.call_fax_home; in getPhoneLabelResourceId()
108 return R.string.call_pager; in getPhoneLabelResourceId()
110 return R.string.call_other; in getPhoneLabelResourceId()
112 return R.string.call_callback; in getPhoneLabelResourceId()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DDisconnectCauseUtil.java38 import com.android.phone.R;
303 return context.getResources().getString(R.string.callFailed_userBusy); in toTelecomDisconnectCauseLabel()
316 return context.getResources().getString(R.string.callFailed_userBusy); in toTelecomDisconnectCauseLabel()
336 resourceId = R.string.callFailed_userBusy; in getLabelFromDisconnectCause()
340 resourceId = R.string.callFailed_NetworkBusy; in getLabelFromDisconnectCause()
344 resourceId = R.string.callFailed_NetworkCongested; in getLabelFromDisconnectCause()
348 resourceId = R.string.callFailed_congestion; in getLabelFromDisconnectCause()
352 resourceId = R.string.callFailed_timedOut; in getLabelFromDisconnectCause()
356 resourceId = R.string.callFailed_server_unreachable; in getLabelFromDisconnectCause()
360 resourceId = R.string.callFailed_number_unreachable; in getLabelFromDisconnectCause()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java124 { R.id.EQBand0TextView, R.id.EQBand0SeekBar },
125 { R.id.EQBand1TextView, R.id.EQBand1SeekBar },
126 { R.id.EQBand2TextView, R.id.EQBand2SeekBar },
127 { R.id.EQBand3TextView, R.id.EQBand3SeekBar },
128 { R.id.EQBand4TextView, R.id.EQBand4SeekBar },
129 { R.id.EQBand5TextView, R.id.EQBand5SeekBar },
130 { R.id.EQBand6TextView, R.id.EQBand6SeekBar },
131 { R.id.EQBand7TextView, R.id.EQBand7SeekBar },
132 { R.id.EQBand8TextView, R.id.EQBand8SeekBar },
133 { R.id.EQBand9TextView, R.id.EQBand9SeekBar },
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java28 import com.android.contacts.R;
56 if (type == null) return R.string.call_other; in getPhoneLabelResourceId()
59 return R.string.call_home; in getPhoneLabelResourceId()
61 return R.string.call_mobile; in getPhoneLabelResourceId()
63 return R.string.call_work; in getPhoneLabelResourceId()
65 return R.string.call_fax_work; in getPhoneLabelResourceId()
67 return R.string.call_fax_home; in getPhoneLabelResourceId()
69 return R.string.call_pager; in getPhoneLabelResourceId()
71 return R.string.call_other; in getPhoneLabelResourceId()
73 return R.string.call_callback; in getPhoneLabelResourceId()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java53 return R.style.GlifV4Theme_DayNight; in getTheme()
56 return R.style.GlifV3Theme_DayNight; in getTheme()
59 return R.style.GlifV2Theme_DayNight; in getTheme()
62 return R.style.GlifTheme_DayNight; in getTheme()
67 return R.style.GlifV4Theme_Light; in getTheme()
69 return R.style.GlifV4Theme; in getTheme()
71 return R.style.GlifV3Theme_Light; in getTheme()
73 return R.style.GlifV3Theme; in getTheme()
75 return R.style.GlifV2Theme_Light; in getTheme()
77 return R.style.GlifV2Theme; in getTheme()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/
DActionTitle.java23 import com.android.intentresolver.R;
30 R.string.whichViewApplication,
31 R.string.whichViewApplicationNamed,
32 R.string.whichViewApplicationLabel),
34 R.string.whichEditApplication,
35 R.string.whichEditApplicationNamed,
36 R.string.whichEditApplicationLabel),
38 R.string.whichSendApplication,
39 R.string.whichSendApplicationNamed,
40 R.string.whichSendApplicationLabel),
[all …]
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DNavStateController.java41 import com.android.car.cluster.osdouble.R;
77 mSectionManeuver = container.findViewById(R.id.section_maneuver); in NavStateController()
78 mSectionNavigation = container.findViewById(R.id.section_navigation); in NavStateController()
79 mSectionServiceStatus = container.findViewById(R.id.section_service_status); in NavStateController()
81 mManeuver = container.findViewById(R.id.maneuver); in NavStateController()
82 mProvidedManeuver = container.findViewById(R.id.provided_maneuver); in NavStateController()
83 mLane = container.findViewById(R.id.lane); in NavStateController()
84 mProvidedLane = container.findViewById(R.id.provided_lane); in NavStateController()
85 mDistance = container.findViewById(R.id.distance); in NavStateController()
86 mSegment = container.findViewById(R.id.segment); in NavStateController()
[all …]
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DConstants.kt179 R.string.activity_category,
180 R.drawable.quantum_gm_ic_directions_run_vd_theme_24),
183 R.string.body_measurements_category,
184 R.drawable.quantum_gm_ic_straighten_vd_theme_24),
187 R.string.sleep_category,
188 R.drawable.ic_sleep),
191 R.string.vitals_category,
192 R.drawable.ic_vitals),
195 R.string.cycle_tracking_category,
196 R.drawable.ic_cycle_tracking),
[all …]
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavStateController.java76 mSectionManeuver = container.findViewById(R.id.section_maneuver); in NavStateController()
77 mSectionNavigation = container.findViewById(R.id.section_navigation); in NavStateController()
78 mSectionServiceStatus = container.findViewById(R.id.section_service_status); in NavStateController()
80 mManeuver = container.findViewById(R.id.maneuver); in NavStateController()
81 mProvidedManeuver = container.findViewById(R.id.provided_maneuver); in NavStateController()
82 mLane = container.findViewById(R.id.lane); in NavStateController()
83 mProvidedLane = container.findViewById(R.id.provided_lane); in NavStateController()
84 mDistance = container.findViewById(R.id.distance); in NavStateController()
85 mSegment = container.findViewById(R.id.segment); in NavStateController()
86 mEta = container.findViewById(R.id.eta); in NavStateController()
[all …]

12345678910>>...252