Home
last modified time | relevance | path

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

12345678910>>...130

/packages/apps/TV/src/com/android/tv/onboarding/
DWelcomeFragment.java34 import com.android.tv.R;
59 R.drawable.tv_1a_01,
60 R.drawable.tv_1a_02,
61 R.drawable.tv_1a_03,
62 R.drawable.tv_1a_04,
63 R.drawable.tv_1a_05,
64 R.drawable.tv_1a_06,
65 R.drawable.tv_1a_07,
66 R.drawable.tv_1a_08,
67 R.drawable.tv_1a_09,
[all …]
/packages/apps/ExactCalculator/src/com/android/calculator2/
DKeyMaps.java44 case R.id.const_pi: in toString()
45 return context.getString(R.string.const_pi); in toString()
46 case R.id.const_e: in toString()
47 return context.getString(R.string.const_e); in toString()
48 case R.id.op_sqrt: in toString()
49 return context.getString(R.string.op_sqrt); in toString()
50 case R.id.op_fact: in toString()
51 return context.getString(R.string.op_fact); in toString()
52 case R.id.op_pct: in toString()
53 return context.getString(R.string.op_pct); in toString()
[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.java63 R.id.zero,
64 R.id.one,
65 R.id.two,
66 R.id.three,
67 R.id.four,
68 R.id.five,
69 R.id.six,
70 R.id.seven,
71 R.id.eight,
72 R.id.nine,
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiFormPageType.java19 import com.android.tv.settings.R;
33 CHOOSE_NETWORK(FormPageDisplayer.DISPLAY_TYPE_LIST_CHOICE, R.string.title_select_wifi_network,
34 0, new int[] { R.string.other_network },
35 new int[] { R.drawable.ic_wifi_add}),
36 ENTER_SSID(FormPageDisplayer.DISPLAY_TYPE_TEXT_INPUT, R.string.title_ssid, 0,
38 CHOOSE_SECURITY(FormPageDisplayer.DISPLAY_TYPE_LIST_CHOICE, R.string.security_type, 0,
39 new int[] { R.string.wifi_security_type_none, R.string.wifi_security_type_wep,
40 R.string.wifi_security_type_wpa, R.string.wifi_security_type_eap }),
42 R.string.wifi_setup_input_password, 0, 0),
43 CONNECT(FormPageDisplayer.DISPLAY_TYPE_LOADING, R.string.wifi_connecting, 0),
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
DAnalyticsUtils.java20 import com.android.mail.R;
27 if (id == R.id.archive) { in getMenuItemString()
29 } else if (id == R.id.remove_folder) { in getMenuItemString()
31 } else if (id == R.id.delete) { in getMenuItemString()
33 } else if (id == R.id.discard_drafts) { in getMenuItemString()
35 } else if (id == R.id.discard_outbox) { in getMenuItemString()
37 } else if (id == R.id.mark_important) { in getMenuItemString()
39 } else if (id == R.id.mark_not_important) { in getMenuItemString()
41 } else if (id == R.id.mute) { in getMenuItemString()
43 } else if (id == R.id.report_phishing) { in getMenuItemString()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DFallbackSource.java19 import com.android.loaderapp.R;
62 this.titleRes = R.string.account_phone; in FallbackSource()
63 this.iconRes = R.drawable.ic_launcher_contacts; in FallbackSource()
109 R.string.nameLabelsGroup, -1, -1, true)); in inflateStructuredName()
114 context.getResources().getBoolean(R.bool.config_editor_field_order_primary); in inflateStructuredName()
117 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in inflateStructuredName()
120 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in inflateStructuredName()
122 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, in inflateStructuredName()
124 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in inflateStructuredName()
126 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix, in inflateStructuredName()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DSearchIndexableResources.java29 import com.android.settings.R;
130 addIndex(WifiSettings.class, NO_DATA_RES_ID, R.drawable.ic_settings_wireless); in addIndex()
131 addIndex(NetworkDashboardFragment.class, NO_DATA_RES_ID, R.drawable.ic_settings_wireless); in addIndex()
132 addIndex(ConfigureWifiSettings.class, NO_DATA_RES_ID, R.drawable.ic_settings_wireless); in addIndex()
134 R.drawable.ic_settings_wireless); in addIndex()
135 addIndex(BluetoothSettings.class, NO_DATA_RES_ID, R.drawable.ic_settings_bluetooth); in addIndex()
136 addIndex(SimSettings.class, NO_DATA_RES_ID, R.drawable.ic_sim_sd); in addIndex()
137 addIndex(DataUsageSummary.class, NO_DATA_RES_ID, R.drawable.ic_settings_data_usage); in addIndex()
138 addIndex(DataUsageMeteredSettings.class, NO_DATA_RES_ID, R.drawable.ic_settings_data_usage); in addIndex()
139 addIndex(ScreenZoomSettings.class, NO_DATA_RES_ID, R.drawable.ic_settings_display); in addIndex()
[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/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/Settings/src/com/android/settings/wifi/
DWifiConfigController.java62 import com.android.settings.R;
182 mLevels = res.getStringArray(R.array.wifi_signal); in WifiConfigController()
184 com.android.internal.R.bool.config_eap_sim_based_auth_supported)) { in WifiConfigController()
186 mContext, android.R.layout.simple_spinner_item, in WifiConfigController()
187 res.getStringArray(R.array.wifi_peap_phase2_entries)); in WifiConfigController()
190 mContext, android.R.layout.simple_spinner_item, in WifiConfigController()
191 res.getStringArray(R.array.wifi_peap_phase2_entries_with_sim_auth)); in WifiConfigController()
193 mPhase2PeapAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in WifiConfigController()
196 mContext, android.R.layout.simple_spinner_item, in WifiConfigController()
197 res.getStringArray(R.array.wifi_phase2_entries)); in WifiConfigController()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java50 buf.append(context.getString(R.string.delivery_time_heading)); in getMessageDetails()
69 appendMessageDetail(context, buf, R.string.cmas_category_heading, categoryId); in appendCmasAlertDetails()
75 appendMessageDetail(context, buf, R.string.cmas_response_heading, responseId); in appendCmasAlertDetails()
81 appendMessageDetail(context, buf, R.string.cmas_severity_heading, severityId); in appendCmasAlertDetails()
87 appendMessageDetail(context, buf, R.string.cmas_urgency_heading, urgencyId); in appendCmasAlertDetails()
93 appendMessageDetail(context, buf, R.string.cmas_certainty_heading, certaintyId); in appendCmasAlertDetails()
117 return R.string.cmas_category_geo; in getCmasCategoryResId()
120 return R.string.cmas_category_met; in getCmasCategoryResId()
123 return R.string.cmas_category_safety; in getCmasCategoryResId()
126 return R.string.cmas_category_security; in getCmasCategoryResId()
[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/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenu.java22 import com.android.documentsui.R;
40 R.id.dir_menu_share, in create()
41 R.id.dir_menu_open, in create()
42 R.id.dir_menu_open_with, in create()
43 R.id.dir_menu_cut_to_clipboard, in create()
44 R.id.dir_menu_copy_to_clipboard, in create()
45 R.id.dir_menu_paste_from_clipboard, in create()
46 R.id.dir_menu_create_dir, in create()
47 R.id.dir_menu_select_all, in create()
48 R.id.dir_menu_rename, in create()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java29 import com.android.contacts.common.R;
95 return R.string.call_other; in getPhoneLabelResourceId()
99 return R.string.call_home; in getPhoneLabelResourceId()
101 return R.string.call_mobile; in getPhoneLabelResourceId()
103 return R.string.call_work; in getPhoneLabelResourceId()
105 return R.string.call_fax_work; in getPhoneLabelResourceId()
107 return R.string.call_fax_home; in getPhoneLabelResourceId()
109 return R.string.call_pager; in getPhoneLabelResourceId()
111 return R.string.call_other; in getPhoneLabelResourceId()
113 return R.string.call_callback; in getPhoneLabelResourceId()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java31 import com.android.contacts.R;
97 if (type == null) return R.string.call_other; in getPhoneLabelResourceId()
100 return R.string.call_home; in getPhoneLabelResourceId()
102 return R.string.call_mobile; in getPhoneLabelResourceId()
104 return R.string.call_work; in getPhoneLabelResourceId()
106 return R.string.call_fax_work; in getPhoneLabelResourceId()
108 return R.string.call_fax_home; in getPhoneLabelResourceId()
110 return R.string.call_pager; in getPhoneLabelResourceId()
112 return R.string.call_other; in getPhoneLabelResourceId()
114 return R.string.call_callback; in getPhoneLabelResourceId()
[all …]
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationService.java45 import com.android.example.notificationshowcase.R;
76 .getDimension(R.dimen.notification_large_icon_width); in getBitmap()
78 .getDimension(R.dimen.notification_large_icon_height); in getBitmap()
97 String sender = context.getString(R.string.sms_sender); in makeSmsNotification()
132 bigTextStyle.bigText(context.getString(R.string.sms_message)); in makeSmsNotification()
133 PendingIntent ci = ToastService.getPendingIntent(context, R.string.sms_click); in makeSmsNotification()
139 .setContentText(context.getString(R.string.sms_message)) in makeSmsNotification()
141 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeSmsNotification()
143 .addAction(R.drawable.ic_media_next, context.getString(R.string.sms_reply), ai) in makeSmsNotification()
144 .setSmallIcon(R.drawable.stat_notify_talk_text) in makeSmsNotification()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java35 import com.android.bluetooth.R;
214 mPara.mTitle = getString(R.string.download_title); in setUpDialog()
217 mPara.mPositiveButtonText = getString(R.string.download_ok); in setUpDialog()
219 mPara.mNegativeButtonText = getString(R.string.download_cancel); in setUpDialog()
222 mPara.mPositiveButtonText = getString(R.string.download_succ_ok); in setUpDialog()
225 mPara.mIconAttrId = android.R.attr.alertDialogIcon; in setUpDialog()
226 mPara.mPositiveButtonText = getString(R.string.download_fail_ok); in setUpDialog()
229 mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); in setUpDialog()
232 mPara.mIconAttrId = android.R.attr.alertDialogIcon; in setUpDialog()
233 mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); in setUpDialog()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java40 import com.android.contacts.common.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/apps/Dialer/java/com/android/dialer/app/voicemail/error/
DVvm3VoicemailMessageCreator.java87 context.getString(R.string.vvm3_error_vms_dns_failure_title), in create()
88 getCustomerSupportString(context, R.string.vvm3_error_vms_dns_failure_message), in create()
95 context.getString(R.string.vvm3_error_vmg_dns_failure_title), in create()
96 getCustomerSupportString(context, R.string.vvm3_error_vmg_dns_failure_message), in create()
103 context.getString(R.string.vvm3_error_spg_dns_failure_title), in create()
104 getCustomerSupportString(context, R.string.vvm3_error_spg_dns_failure_message), in create()
111 context.getString(R.string.vvm3_error_vms_no_cellular_title), in create()
112 getCustomerSupportString(context, R.string.vvm3_error_vms_no_cellular_message), in create()
119 context.getString(R.string.vvm3_error_vmg_no_cellular_title), in create()
120 getCustomerSupportString(context, R.string.vvm3_error_vmg_no_cellular_message), in create()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java29 import com.android.mail.R;
129 if (itemId == R.id.delete) { in onActionItemClicked()
131 performDestructiveAction(R.id.delete, undoCallback); in onActionItemClicked()
132 } else if (itemId == R.id.discard_drafts) { in onActionItemClicked()
134 performDestructiveAction(R.id.discard_drafts, undoCallback); in onActionItemClicked()
135 } else if (itemId == R.id.discard_outbox) { in onActionItemClicked()
137 performDestructiveAction(R.id.discard_outbox, undoCallback); in onActionItemClicked()
138 } else if (itemId == R.id.archive) { in onActionItemClicked()
140 performDestructiveAction(R.id.archive, undoCallback); in onActionItemClicked()
141 } else if (itemId == R.id.remove_folder) { in onActionItemClicked()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java43 import com.android.settings.R;
82 R.drawable.appwidget_settings_ind_off_l_holo,
83 R.drawable.appwidget_settings_ind_off_c_holo,
84 R.drawable.appwidget_settings_ind_off_r_holo
88 R.drawable.appwidget_settings_ind_mid_l_holo,
89 R.drawable.appwidget_settings_ind_mid_c_holo,
90 R.drawable.appwidget_settings_ind_mid_r_holo
94 R.drawable.appwidget_settings_ind_on_l_holo,
95 R.drawable.appwidget_settings_ind_on_c_holo,
96 R.drawable.appwidget_settings_ind_on_r_holo
[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/DocumentsUI/src/com/android/documentsui/
DFileTypeMap.java52 mMediaTypeStringMap.put(R.string.video_file_type, R.string.video_extension_file_type); in FileTypeMap()
53 mMediaTypeStringMap.put(R.string.audio_file_type, R.string.audio_extension_file_type); in FileTypeMap()
54 mMediaTypeStringMap.put(R.string.image_file_type, R.string.image_extension_file_type); in FileTypeMap()
57 mFileTypeMap.put(MimeTypes.APK_TYPE, R.string.apk_file_type); in FileTypeMap()
58 mFileTypeMap.put("text/plain", R.string.txt_file_type); in FileTypeMap()
59 mFileTypeMap.put("text/html", R.string.html_file_type); in FileTypeMap()
60 mFileTypeMap.put("application/xhtml+xml", R.string.html_file_type); in FileTypeMap()
61 mFileTypeMap.put("application/pdf", R.string.pdf_file_type); in FileTypeMap()
64 mFileTypeMap.put("application/msword", R.string.word_file_type); in FileTypeMap()
67 R.string.word_file_type); in FileTypeMap()
[all …]

12345678910>>...130