Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 132) sorted by relevance

123456

/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.java49 public static LabelDialogFragment newInstance(Alarm alarm, String label) { in newInstance() argument
52 args.putString(KEY_LABEL, label); in newInstance()
58 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { in newInstance() argument
61 args.putString(KEY_LABEL, label); in newInstance()
78 final String label = bundle.getString(KEY_LABEL); in onCreateView() local
86 mLabelBox.setText(label); in onCreateView()
121 String label = mLabelBox.getText().toString(); in set() local
122 if (label.trim().length() == 0) { in set()
124 label = ""; in set()
128 ((AlarmClock) getActivity()).onDialogLabelSet(alarm, label); in set()
[all …]
DAlarm.java60 p.writeString(label); in writeToParcel()
166 public String label; field in Alarm
181 ", label='" + label + '\'' + in toString()
194 label = c.getString(Columns.ALARM_MESSAGE_INDEX); in Alarm()
223 label = p.readString(); in Alarm()
235 label = ""; in Alarm()
240 if (label == null || label.length() == 0) { in getLabelOrDefault()
243 return label; in getLabelOrDefault()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java80 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { in initSnippet() argument
82 ((TextView)snippetView.findViewById(R.id.app_name)).setText(label); in initSnippet()
119 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label); in initSnippetForNewApp()
137 CharSequence label; field in PackageUtil.AppSnippet
139 public AppSnippet(CharSequence label, Drawable icon) { in AppSnippet() argument
140 this.label = label; in AppSnippet()
159 CharSequence label = null; in getAppSnippet() local
164 label = res.getText(appInfo.labelRes); in getAppSnippet()
168 if (label == null) { in getAppSnippet()
169 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java83 private void addRowForValue(String label, Object value) { in addRowForValue() argument
85 addRow(label, "null"); in addRowForValue()
87 addRowWithBitmap(label, (Bitmap)value); in addRowForValue()
89 addRow(label, "INTENT"); in addRowForValue()
92 addRow(label, "DATA"); in addRowForValue()
95 addRow(label, "ARRAY"); in addRowForValue()
101 addRow(label, String.valueOf(value)); in addRowForValue()
134 TextView label = new TextView(this); in addRow() local
135 label.setPadding(4, 4, 4, 4); in addRow()
136 label.setText(column0); in addRow()
[all …]
/packages/apps/Email/src/com/android/email/activity/setup/
DSpinnerOption.java24 public final String label; field in SpinnerOption
36 public SpinnerOption(Object value, String label) { in SpinnerOption() argument
38 this.label = label; in SpinnerOption()
43 return label; in toString()
/packages/apps/Settings/src/com/android/settings/net/
DUidDetailProvider.java94 detail.label = pm.getNameForUid(uid); in buildUidDetail()
100 detail.label = res.getString(R.string.process_kernel_label); in buildUidDetail()
104 detail.label = res.getString(UserManager.supportsMultipleUsers() in buildUidDetail()
112 detail.label = res.getString(Utils.getTetheringLabel(cm)); in buildUidDetail()
123 detail.label = res.getString(R.string.running_process_item_user_label, info.name); in buildUidDetail()
135 detail.label = info.loadLabel(pm).toString(); in buildUidDetail()
146 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel, in buildUidDetail()
155 if (TextUtils.isEmpty(detail.label)) { in buildUidDetail()
156 detail.label = Integer.toString(uid); in buildUidDetail()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dlegacy_contacts.sql11 …(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INT… field
32 …EXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGE… field
55 … REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INT… field
91 …N contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
92 …N contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
104 … ON organizations WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
105 … ON organizations WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
115 … INSERT ON phones WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
116 … UPDATE ON phones WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dlegacy_contacts.sql12 …(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INT… field
42 …EXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGE… field
100 … REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INT… field
147 …N contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
148 …N contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
160 … ON organizations WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
161 … ON organizations WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
171 … INSERT ON phones WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
172 … UPDATE ON phones WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
/packages/providers/ContactsProvider/tests/assets/test1/
Dlegacy_contacts.sql14 …(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INT… field
51 …EXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGE… field
78 … REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INT… field
123 …N contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
124 …N contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
136 … ON organizations WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
137 … ON organizations WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
147 … INSERT ON phones WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
148 … UPDATE ON phones WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NE…
/packages/apps/Settings/src/com/android/settings/
DWallpaperTypeSettings.java55 CharSequence label = info.loadLabel(pm); in populateWallpaperTypes() local
56 if (label == null) label = info.activityInfo.packageName; in populateWallpaperTypes()
57 pref.setTitle(label); in populateWallpaperTypes()
DAppPicker.java79 CharSequence label; field in AppPicker.MyApplicationInfo
104 info.label = info.info.loadLabel(getPackageManager()).toString(); in AppListAdapter()
109 info.label = context.getText(R.string.no_application); in AppListAdapter()
121 holder.appName.setText(info.label); in getView()
139 return collator.compare(a.label, b.label);
DActivityPicker.java153 String label = labels.get(i); in getItems() local
167 items.add(new PickAdapter.Item(this, label, icon)); in getItems()
216 CharSequence label; field in ActivityPicker.PickAdapter.Item
225 Item(Context context, CharSequence label, Drawable icon) { in Item() argument
226 this.label = label; in Item()
235 label = resolveInfo.loadLabel(pm); in Item()
236 if (label == null && resolveInfo.activityInfo != null) { in Item()
237 label = resolveInfo.activityInfo.name; in Item()
261 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, label); in getIntent()
267 return label; in getLabel()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DStopWatch.java35 private StopWatch(String label) { in StopWatch() argument
36 mLabel = label; in StopWatch()
43 public static StopWatch start(String label) { in start() argument
44 return new StopWatch(label); in start()
DClipboardUtils.java40 public static void copyText(Context context, CharSequence label, CharSequence text, in copyText() argument
46 ClipData clipData = ClipData.newPlainText(label == null ? "" : label, text); in copyText()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupDeletionDialogFragment.java37 public static void show(FragmentManager fragmentManager, long groupId, String label, in show() argument
42 args.putString(ARG_LABEL, label); in show()
50 String label = getArguments().getString(ARG_LABEL); in onCreateDialog() local
51 String message = getActivity().getString(R.string.delete_group_dialog_message, label); in onCreateDialog()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java195 String label = labelAtCursor.toLowerCase(); in getVoiceContacts() local
196 if (label.contains("home") || label.contains("house")) { in getVoiceContacts()
199 else if (label.contains("mobile") || label.contains("cell")) { in getVoiceContacts()
202 else if (label.contains("work") || label.contains("office")) { in getVoiceContacts()
205 else if (label.contains("other")) { in getVoiceContacts()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsAdapter.java94 String label = cursor.getString(RecipientsAdapter.LABEL_INDEX); in convertToString() local
95 CharSequence displayLabel = Phone.getDisplayLabel(mContext, type, label); in convertToString()
140 TextView label = (TextView) view.findViewById(R.id.label); in bindView() local
148 label.setVisibility(View.GONE); in bindView()
150 label.setText(labelText); in bindView()
151 label.setVisibility(View.VISIBLE); in bindView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java76 final String label = (mIconId == KeyboardIconsSet.ICON_UNDEFINED ? mLabel in toString() local
80 if (StringUtils.codePointCount(label) == 1 && label.codePointAt(0) == mCode) { in toString()
83 return label + "|" + output; in toString()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySipper.java64 Handler handler, String label, DrainType drainType, in BatterySipper() argument
70 name = label; in BatterySipper()
76 if ((label == null || iconId == 0) && uid != null) { in BatterySipper()
154 CharSequence label = ai.loadLabel(pm); in getNameIcon() local
155 if (label != null) { in getNameIcon()
156 packageLabels[i] = label.toString(); in getNameIcon()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java231 String label, collection; in getView() local
233 label = item.getLabel(); in getView()
236 label = getContext().getString(R.string.keyboard_layout_default_label); in getView()
242 return inflateOneLine(convertView, parent, label, checked); in getView()
244 return inflateTwoLine(convertView, parent, label, collection, checked); in getView()
249 String label, boolean checked) { in inflateOneLine() argument
258 headline.setText(label); in inflateOneLine()
264 String label, String collection, boolean checked) { in inflateTwoLine() argument
276 headline.setText(label); in inflateTwoLine()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupDetailDisplayUtils.java46 TextView label = (TextView) view.findViewById(android.R.id.title); in bindGroupSourceView() local
47 if (label == null) { in bindGroupSourceView()
51 label.setText(accountType.getViewGroupLabel(context)); in bindGroupSourceView()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DContactInfo.java31 public String label; field in ContactInfo
63 if (!TextUtils.equals(label, other.label)) return false; in equals()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapCallLogComposer.java161 String label = mCursor.getString(CALLER_NUMBERLABEL_COLUMN_INDEX); in createOneCallLogEntryInternal() local
162 if (TextUtils.isEmpty(label)) { in createOneCallLogEntryInternal()
163 label = Integer.toString(type); in createOneCallLogEntryInternal()
165 builder.appendTelLine(type, label, number, false); in createOneCallLogEntryInternal()
189 String label = Integer.toString(phonetype); in composeVCardForPhoneOwnNumber() local
190 builder.appendTelLine(phonetype, label, phoneNumber, false); in composeVCardForPhoneOwnNumber()
/packages/apps/Contacts/src/com/android/contacts/detail/
DCarouselTab.java53 mLabelView = (TextView) findViewById(R.id.label); in onFinishInflate()
59 public void setLabel(String label) { in setLabel() argument
60 mLabelView.setText(label); in setLabel()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java318 TextView label = (TextView) mDayNamesHeader.findViewById(R.id.wk_label); in updateHeader() local
320 label.setVisibility(View.VISIBLE); in updateHeader()
322 label.setVisibility(View.GONE); in updateHeader()
326 label = (TextView) mDayNamesHeader.getChildAt(i); in updateHeader()
329 label.setText(mDayLabels[position]); in updateHeader()
330 label.setVisibility(View.VISIBLE); in updateHeader()
332 label.setTextColor(mSaturdayColor); in updateHeader()
334 label.setTextColor(mSundayColor); in updateHeader()
336 label.setTextColor(mDayNameColor); in updateHeader()
339 label.setVisibility(View.GONE); in updateHeader()

123456