Home
last modified time | relevance | path

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

12345678910>>...209

/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/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/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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java59 appendMessageDetail(context, buf, R.string.delivery_time_heading, in getMessageDetails()
64 appendMessageDetail(context, buf, R.string.message_identifier, in getMessageDetails()
66 appendMessageDetail(context, buf, R.string.message_serial_number, in getMessageDetails()
76 appendMessageDetail(context, buf, R.string.data_coding_scheme, in getMessageDetails()
79 appendMessageDetail(context, buf, R.string.message_content, message.getMessageBody()); in getMessageDetails()
81 appendMessageDetail(context, buf, R.string.location_check_time, locationCheckTime == -1 in getMessageDetails()
85 appendMessageDetail(context, buf, R.string.maximum_waiting_time, in getMessageDetails()
87 + context.getString(R.string.seconds)); in getMessageDetails()
89 appendMessageDetail(context, buf, R.string.message_displayed, in getMessageDetails()
92 appendMessageDetail(context, buf, R.string.message_coordinates, in getMessageDetails()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DDisconnectCauseUtil.java32 import com.android.phone.common.R;
259 resourceId = R.string.callFailed_userBusy; in getLabelFromDisconnectCause()
263 resourceId = R.string.callFailed_NetworkBusy; in getLabelFromDisconnectCause()
267 resourceId = R.string.callFailed_NetworkCongested; in getLabelFromDisconnectCause()
271 resourceId = R.string.callFailed_congestion; in getLabelFromDisconnectCause()
275 resourceId = R.string.callFailed_timedOut; in getLabelFromDisconnectCause()
279 resourceId = R.string.callFailed_server_unreachable; in getLabelFromDisconnectCause()
283 resourceId = R.string.callFailed_number_unreachable; in getLabelFromDisconnectCause()
287 resourceId = R.string.callFailed_invalid_credentials; in getLabelFromDisconnectCause()
291 resourceId = R.string.callFailed_server_error; in getLabelFromDisconnectCause()
[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/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_rename, in create()
[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/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java69 mSectionManeuver = container.findViewById(R.id.section_maneuver); in NavStateController()
70 mSectionNavigation = container.findViewById(R.id.section_navigation); in NavStateController()
71 mSectionServiceStatus = container.findViewById(R.id.section_service_status); in NavStateController()
73 mManeuver = container.findViewById(R.id.maneuver); in NavStateController()
74 mProvidedManeuver = container.findViewById(R.id.provided_maneuver); in NavStateController()
75 mLane = container.findViewById(R.id.lane); in NavStateController()
76 mProvidedLane = container.findViewById(R.id.provided_lane); in NavStateController()
77 mDistance = container.findViewById(R.id.distance); in NavStateController()
78 mSegment = container.findViewById(R.id.segment); in NavStateController()
79 mEta = container.findViewById(R.id.eta); in NavStateController()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java128 { R.id.EQBand0TextView, R.id.EQBand0SeekBar },
129 { R.id.EQBand1TextView, R.id.EQBand1SeekBar },
130 { R.id.EQBand2TextView, R.id.EQBand2SeekBar },
131 { R.id.EQBand3TextView, R.id.EQBand3SeekBar },
132 { R.id.EQBand4TextView, R.id.EQBand4SeekBar },
133 { R.id.EQBand5TextView, R.id.EQBand5SeekBar },
134 { R.id.EQBand6TextView, R.id.EQBand6SeekBar },
135 { R.id.EQBand7TextView, R.id.EQBand7SeekBar },
136 { R.id.EQBand8TextView, R.id.EQBand8SeekBar },
137 { R.id.EQBand9TextView, R.id.EQBand9SeekBar },
[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/Settings/src/com/android/settings/wifi/
DWifiConfigController.java65 import com.android.settings.R;
234 mLevels = res.getStringArray(R.array.wifi_signal); in initWifiConfigController()
236 com.android.internal.R.bool.config_eap_sim_based_auth_supported)) { in initWifiConfigController()
238 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController()
239 res.getStringArray(R.array.wifi_peap_phase2_entries)); in initWifiConfigController()
242 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController()
243 res.getStringArray(R.array.wifi_peap_phase2_entries_with_sim_auth)); in initWifiConfigController()
245 mPhase2PeapAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in initWifiConfigController()
248 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController()
249 res.getStringArray(R.array.wifi_ttls_phase2_entries)); in initWifiConfigController()
[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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java65 import com.android.car.developeroptions.R;
219 mLevels = res.getStringArray(R.array.wifi_signal); in initWifiConfigController()
221 com.android.internal.R.bool.config_eap_sim_based_auth_supported)) { in initWifiConfigController()
223 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController()
224 res.getStringArray(R.array.wifi_peap_phase2_entries)); in initWifiConfigController()
227 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController()
228 res.getStringArray(R.array.wifi_peap_phase2_entries_with_sim_auth)); in initWifiConfigController()
230 mPhase2PeapAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in initWifiConfigController()
233 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController()
234 res.getStringArray(R.array.wifi_phase2_entries)); in initWifiConfigController()
[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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java51 import com.android.bluetooth.R;
215 mAlertBuilder.setTitle(getString(R.string.download_title)); in setUpDialog()
217 mAlertBuilder.setPositiveButton(R.string.download_ok, this); in setUpDialog()
218 mAlertBuilder.setNegativeButton(R.string.download_cancel, this); in setUpDialog()
220 mAlertBuilder.setPositiveButton(R.string.download_succ_ok, this); in setUpDialog()
222 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in setUpDialog()
223 mAlertBuilder.setPositiveButton(R.string.download_fail_ok, this); in setUpDialog()
225 mAlertBuilder.setPositiveButton(R.string.upload_succ_ok, this); in setUpDialog()
227 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in setUpDialog()
228 mAlertBuilder.setNegativeButton(R.string.upload_fail_cancel, this); in setUpDialog()
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVvm3VoicemailMessageCreator.java88 context.getString(R.string.vvm3_error_vms_dns_failure_title), in create()
89 getCustomerSupportString(context, R.string.vvm3_error_vms_dns_failure_message), in create()
96 context.getString(R.string.vvm3_error_vmg_dns_failure_title), in create()
97 getCustomerSupportString(context, R.string.vvm3_error_vmg_dns_failure_message), in create()
104 context.getString(R.string.vvm3_error_spg_dns_failure_title), in create()
105 getCustomerSupportString(context, R.string.vvm3_error_spg_dns_failure_message), in create()
112 context.getString(R.string.vvm3_error_vms_no_cellular_title), in create()
113 getCustomerSupportString(context, R.string.vvm3_error_vms_no_cellular_message), in create()
120 context.getString(R.string.vvm3_error_vmg_no_cellular_title), in create()
121 getCustomerSupportString(context, R.string.vvm3_error_vmg_no_cellular_message), in create()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java46 import com.android.settings.R;
189 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries()
191 R.array.enabled_networks_cdma_values); in updatePreferenceEntries()
198 R.array.enabled_networks_cdma_no_lte_choices); in updatePreferenceEntries()
200 R.array.enabled_networks_cdma_no_lte_values); in updatePreferenceEntries()
207 R.array.enabled_networks_cdma_only_lte_choices); in updatePreferenceEntries()
209 R.array.enabled_networks_cdma_only_lte_values); in updatePreferenceEntries()
213 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries()
215 R.array.enabled_networks_cdma_values); in updatePreferenceEntries()
223 R.array.enabled_networks_tdscdma_choices); in updatePreferenceEntries()
[all …]
DPreferredNetworkModePreferenceController.java31 import com.android.settings.R;
118 return R.string.preferred_network_mode_tdscdma_gsm_wcdma_summary; in getPreferredNetworkModeSummaryResId()
120 return R.string.preferred_network_mode_tdscdma_gsm_summary; in getPreferredNetworkModeSummaryResId()
122 return R.string.preferred_network_mode_wcdma_perf_summary; in getPreferredNetworkModeSummaryResId()
124 return R.string.preferred_network_mode_gsm_only_summary; in getPreferredNetworkModeSummaryResId()
126 return R.string.preferred_network_mode_tdscdma_wcdma_summary; in getPreferredNetworkModeSummaryResId()
128 return R.string.preferred_network_mode_wcdma_only_summary; in getPreferredNetworkModeSummaryResId()
130 return R.string.preferred_network_mode_gsm_wcdma_summary; in getPreferredNetworkModeSummaryResId()
133 ? R.string.preferred_network_mode_cdma_summary in getPreferredNetworkModeSummaryResId()
134 : R.string.preferred_network_mode_cdma_evdo_summary; in getPreferredNetworkModeSummaryResId()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java19 import com.android.gallery.R;
212 R.id.details_location_value); in onComplete()
214 MenuHelper.hideDetailsRow(view, R.id.details_location_row); in onComplete()
224 R.id.details_latitude_value); in setLatLngDetails()
226 R.id.details_longitude_value); in setLatLngDetails()
229 hideDetailsRow(d, R.id.details_latitude_row); in setLatLngDetails()
230 hideDetailsRow(d, R.id.details_longitude_row); in setLatLngDetails()
231 hideDetailsRow(d, R.id.details_location_row); in setLatLngDetails()
240 hideDetailsRow(d, R.id.details_latitude_row); in setLatLngDetails()
241 hideDetailsRow(d, R.id.details_longitude_row); in setLatLngDetails()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceControllerTest.java46 import com.android.settings.R;
97 mPreference.setEntries(R.array.enabled_networks_choices); in setUp()
98 mPreference.setEntryValues(R.array.enabled_networks_values); in setUp()
214 mPreference.setEntries(R.array.enabled_networks_cdma_choices); in add5gListItem_lteCdma_5gLteCdma()
215 mPreference.setEntryValues(R.array.enabled_networks_cdma_values); in add5gListItem_lteCdma_5gLteCdma()
216 CharSequence[] testEntries = {mContext.getString(R.string.network_5G) in add5gListItem_lteCdma_5gLteCdma()
217 + mContext.getString(R.string.network_recommended) in add5gListItem_lteCdma_5gLteCdma()
218 , mContext.getString(R.string.network_lte_pure) in add5gListItem_lteCdma_5gLteCdma()
219 , mContext.getString(R.string.network_3G) in add5gListItem_lteCdma_5gLteCdma()
220 , mContext.getString(R.string.network_1x) in add5gListItem_lteCdma_5gLteCdma()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java59 import com.android.wallpaper.R;
120 ((TextView) view.findViewById(R.id.thumbnail_text)).setTypeface( in bindThumbnailTile()
134 return R.layout.theme_font_option; in getLayoutResId()
139 bindPreviewHeader(container, R.string.preview_name_font, R.drawable.ic_font); in bindPreview()
141 ViewGroup cardBody = container.findViewById(R.id.theme_preview_card_body_container); in bindPreview()
144 R.layout.preview_card_font_content, in bindPreview()
147 TextView title = container.findViewById(R.id.font_card_title); in bindPreview()
149 TextView bodyText = container.findViewById(R.id.font_card_body); in bindPreview()
151 container.findViewById(R.id.font_card_divider).setBackgroundColor( in bindPreview()
164 TextView header = container.findViewById(R.id.theme_preview_card_header); in bindPreviewHeader()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java44 import com.android.dialer.contacts.resources.R;
118 this.titleRes = R.string.account_phone; in BaseAccountType()
119 this.iconRes = R.mipmap.ic_contacts_launcher; in BaseAccountType()
163 StructuredName.CONTENT_ITEM_TYPE, R.string.nameLabelsGroup, Weight.NONE, true)); in addDataKindStructuredName()
164 kind.actionHeader = new SimpleInflater(R.string.nameLabelsGroup); in addDataKindStructuredName()
170 new EditField(StructuredName.DISPLAY_NAME, R.string.full_name, FLAGS_PERSON_NAME)); in addDataKindStructuredName()
172 new EditField(StructuredName.PREFIX, R.string.name_prefix, FLAGS_PERSON_NAME) in addDataKindStructuredName()
175 new EditField(StructuredName.FAMILY_NAME, R.string.name_family, FLAGS_PERSON_NAME) in addDataKindStructuredName()
178 new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, FLAGS_PERSON_NAME) in addDataKindStructuredName()
181 new EditField(StructuredName.GIVEN_NAME, R.string.name_given, FLAGS_PERSON_NAME) in addDataKindStructuredName()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java42 import com.android.contacts.R;
123 this.titleRes = R.string.account_phone; in BaseAccountType()
124 this.iconRes = R.mipmap.ic_contacts_launcher; in BaseAccountType()
153 R.string.nameLabelsGroup, Weight.NONE, true)); in addDataKindStructuredName()
154 kind.actionHeader = new SimpleInflater(R.string.nameLabelsGroup); in addDataKindStructuredName()
159 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in addDataKindStructuredName()
161 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in addDataKindStructuredName()
163 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, in addDataKindStructuredName()
165 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in addDataKindStructuredName()
167 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix, in addDataKindStructuredName()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnabledNetworkModePreferenceController.java31 import com.android.car.developeroptions.R;
139 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries()
141 R.array.enabled_networks_cdma_values); in updatePreferenceEntries()
148 R.array.enabled_networks_cdma_no_lte_choices); in updatePreferenceEntries()
150 R.array.enabled_networks_cdma_no_lte_values); in updatePreferenceEntries()
157 R.array.enabled_networks_cdma_only_lte_choices); in updatePreferenceEntries()
159 R.array.enabled_networks_cdma_only_lte_values); in updatePreferenceEntries()
163 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries()
165 R.array.enabled_networks_cdma_values); in updatePreferenceEntries()
173 R.array.enabled_networks_tdscdma_choices); in updatePreferenceEntries()
[all …]

12345678910>>...209