/packages/apps/TV/src/com/android/tv/onboarding/ |
D | WelcomeFragment.java | 41 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/ |
D | DialpadView.java | 43 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/ |
D | DialpadView.java | 62 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/services/Telephony/src/com/android/services/telephony/ |
D | DisconnectCauseUtil.java | 27 import com.android.phone.common.R; 249 resourceId = R.string.callFailed_userBusy; in getLabelFromDisconnectCause() 253 resourceId = R.string.callFailed_NetworkBusy; in getLabelFromDisconnectCause() 257 resourceId = R.string.callFailed_NetworkCongested; in getLabelFromDisconnectCause() 261 resourceId = R.string.callFailed_congestion; in getLabelFromDisconnectCause() 265 resourceId = R.string.callFailed_timedOut; in getLabelFromDisconnectCause() 269 resourceId = R.string.callFailed_server_unreachable; in getLabelFromDisconnectCause() 273 resourceId = R.string.callFailed_number_unreachable; in getLabelFromDisconnectCause() 277 resourceId = R.string.callFailed_invalid_credentials; in getLabelFromDisconnectCause() 281 resourceId = R.string.callFailed_server_error; in getLabelFromDisconnectCause() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
D | AnalyticsUtils.java | 20 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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastResources.java | 50 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/apps/Car/Settings/src/com/android/car/settings/units/ |
D | UnitsMap.java | 21 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/ |
D | TestMenu.java | 24 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/ |
D | db_utilities_camera.h | 124 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/ |
D | NavStateController.java | 64 mManeuver = container.findViewById(R.id.maneuver); in NavStateController() 65 mProvidedManeuver = container.findViewById(R.id.provided_maneuver); in NavStateController() 66 mLane = container.findViewById(R.id.lane); in NavStateController() 67 mProvidedLane = container.findViewById(R.id.provided_lane); in NavStateController() 68 mDistance = container.findViewById(R.id.distance); in NavStateController() 69 mSegment = container.findViewById(R.id.segment); in NavStateController() 70 mEta = container.findViewById(R.id.eta); in NavStateController() 71 mCue = container.findViewById(R.id.cue); in NavStateController() 122 return mContext.getColor(R.color.low_traffic); in getTrafficColor() 124 return mContext.getColor(R.color.medium_traffic); in getTrafficColor() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 128 { 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/ |
D | KeyVisualAttributes.java | 23 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiConfigController.java | 66 import com.android.car.developeroptions.R; 220 mLevels = res.getStringArray(R.array.wifi_signal); in initWifiConfigController() 222 com.android.internal.R.bool.config_eap_sim_based_auth_supported)) { in initWifiConfigController() 224 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController() 225 res.getStringArray(R.array.wifi_peap_phase2_entries)); in initWifiConfigController() 228 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController() 229 res.getStringArray(R.array.wifi_peap_phase2_entries_with_sim_auth)); in initWifiConfigController() 231 mPhase2PeapAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in initWifiConfigController() 234 mContext, android.R.layout.simple_spinner_item, in initWifiConfigController() 235 res.getStringArray(R.array.wifi_phase2_entries)); in initWifiConfigController() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 65 import com.android.settings.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/Dialer/java/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 31 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/apps/Contacts/src/com/android/contacts/util/ |
D | ContactDisplayUtils.java | 28 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/ |
D | BluetoothOppTransferActivity.java | 51 import com.android.bluetooth.R; 221 mPara.mTitle = getString(R.string.download_title); in setUpDialog() 224 mPara.mPositiveButtonText = getString(R.string.download_ok); in setUpDialog() 226 mPara.mNegativeButtonText = getString(R.string.download_cancel); in setUpDialog() 229 mPara.mPositiveButtonText = getString(R.string.download_succ_ok); in setUpDialog() 232 mPara.mIconAttrId = android.R.attr.alertDialogIcon; in setUpDialog() 233 mPara.mPositiveButtonText = getString(R.string.download_fail_ok); in setUpDialog() 236 mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); in setUpDialog() 239 mPara.mIconAttrId = android.R.attr.alertDialogIcon; in setUpDialog() 240 mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); in setUpDialog() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | Vvm3VoicemailMessageCreator.java | 88 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/UnifiedEmail/src/com/android/mail/browse/ |
D | SelectedConversationsActionMenu.java | 29 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/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 59 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/Gallery/src/com/android/camera/ |
D | MenuHelper.java | 19 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/Dialer/java/com/android/contacts/common/model/account/ |
D | BaseAccountType.java | 44 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/ |
D | BaseAccountType.java | 42 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/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 33 import com.android.settings.R; 143 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries() 145 R.array.enabled_networks_cdma_values); in updatePreferenceEntries() 152 R.array.enabled_networks_cdma_no_lte_choices); in updatePreferenceEntries() 154 R.array.enabled_networks_cdma_no_lte_values); in updatePreferenceEntries() 161 R.array.enabled_networks_cdma_only_lte_choices); in updatePreferenceEntries() 163 R.array.enabled_networks_cdma_only_lte_values); in updatePreferenceEntries() 167 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries() 169 R.array.enabled_networks_cdma_values); in updatePreferenceEntries() 177 R.array.enabled_networks_tdscdma_choices); in updatePreferenceEntries() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 33 import com.android.car.developeroptions.R; 143 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries() 145 R.array.enabled_networks_cdma_values); in updatePreferenceEntries() 152 R.array.enabled_networks_cdma_no_lte_choices); in updatePreferenceEntries() 154 R.array.enabled_networks_cdma_no_lte_values); in updatePreferenceEntries() 161 R.array.enabled_networks_cdma_only_lte_choices); in updatePreferenceEntries() 163 R.array.enabled_networks_cdma_only_lte_values); in updatePreferenceEntries() 167 R.array.enabled_networks_cdma_choices); in updatePreferenceEntries() 169 R.array.enabled_networks_cdma_values); in updatePreferenceEntries() 177 R.array.enabled_networks_tdscdma_choices); in updatePreferenceEntries() [all …]
|