Searched refs:label (Results 26 - 50 of 115) sorted by relevance

12345

/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java94 * match's label. From the "label" attribute or, if not set, 0.
123 * Retrieve the current textual label associated with this resolution. This
124 * will call back on the given PackageManager to load the label from
127 * @param pm A PackageManager from which the label can be loaded; usually
130 * @return Returns a CharSequence containing the resolutions's label. If the
131 * item does not have a label, its name is returned.
137 CharSequence label;
139 label = pm.getText(resolvePackageName, labelRes, null);
140 if (label !
[all...]
H A DLabeledIntent.java25 * A special subclass of Intent that can have a custom label/icon
35 * Create a labeled intent from the given intent, supplying the label
39 * @param sourcePackage The package in which the label and icon live.
40 * @param labelRes Resource containing the label, or 0 if none.
54 * label and icon resource for it.
57 * @param sourcePackage The package in which the label and icon live.
58 * @param nonLocalizedLabel Concrete text to use for the label.
71 * Create a labeled intent with no intent data but supplying the label
74 * @param sourcePackage The package in which the label and icon live.
75 * @param labelRes Resource containing the label, o
[all...]
H A DPermissionInfo.java176 * @param pm A PackageManager from which the label can be loaded; usually
187 CharSequence label = pm.getText(packageName, descriptionRes, null);
188 if (label != null) {
189 return label;
H A DPackageItemInfo.java33 * a label, icon, and meta-data. This class is not intended
52 * component's label. From the "label" attribute or, if not set, 0.
100 * Retrieve the current textual label associated with this item. This
101 * will call back on the given PackageManager to load the label from
104 * @param pm A PackageManager from which the label can be loaded; usually
107 * @return Returns a CharSequence containing the item's label. If the
108 * item does not have a label, its name is returned.
115 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo());
116 if (label !
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java211 * In some cases an IME may be able to display an arbitrary label for
255 * A label to show to the user describing the text they are writing.
257 public CharSequence label; field in class:EditorInfo
338 + " label=" + label);
361 TextUtils.writeToParcel(label, dest, flags);
383 res.label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/libs/hwui/
H A DCaches.h291 const char* label) { }
293 GLsizei* length, char* label) {
295 if (label) *label = '\0';
290 setLabelNull(GLenum type, uint object, GLsizei length, const char* label) argument
292 getLabelNull(GLenum type, uint object, GLsizei bufferSize, GLsizei* length, char* label) argument
/frameworks/base/core/java/android/gesture/
H A DInstanceLearner.java66 Double score = label2score.get(sample.label);
68 label2score.put(sample.label, weight);
/frameworks/base/libs/androidfw/
H A DKeyboard.cpp191 int32_t getKeyCodeByLabel(const char* label) { argument
192 return int32_t(lookupValueByLabel(label, KEYCODES));
195 uint32_t getKeyFlagByLabel(const char* label) { argument
196 return uint32_t(lookupValueByLabel(label, FLAGS));
199 int32_t getAxisByLabel(const char* label) { argument
200 return int32_t(lookupValueByLabel(label, AXES));
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py147 for label in axes.get_xticklabels():
148 label.set_fontsize(9)
149 for label in axes.get_yticklabels():
150 label.set_fontsize(9)
155 def _add_timeseries_line(self, axes, label, color, linewidth=1):
156 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
/frameworks/base/core/java/android/content/
H A DClipData.java43 * For display to the user, it also has a label and iconic representation.</p>
615 * @param label Label to show to the user describing this clip.
619 public ClipData(CharSequence label, String[] mimeTypes, Item item) { argument
620 mClipDescription = new ClipDescription(label, mimeTypes);
661 * @param label User-visible label for the clip data.
665 static public ClipData newPlainText(CharSequence label, CharSequence text) { argument
667 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item);
674 * @param label User-visible label fo
680 newHtmlText(CharSequence label, CharSequence text, String htmlText) argument
694 newIntent(CharSequence label, Intent intent) argument
710 newUri(ContentResolver resolver, CharSequence label, Uri uri) argument
750 newRawUri(CharSequence label, Uri uri) argument
[all...]
H A DClipDescription.java68 * @param label Label to show to the user describing this clip.
71 public ClipDescription(CharSequence label, String[] mimeTypes) { argument
75 mLabel = label;
114 * Return the label for this clip.
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java454 private void verifyIterationBundle(Bundle iteration, String label) { argument
457 assertEquals(label, iteration.getString(PerformanceCollector.METRIC_KEY_LABEL));
497 public void writeBeginSnapshot(String label) { argument
498 snapshotLabel = label;
505 public void writeStartTiming(String label) { argument
506 timingLabel = label;
513 public void writeMeasurement(String label, long value) { argument
514 timingResults.putLong(label, value);
517 public void writeMeasurement(String label, float value) { argument
518 timingResults.putFloat(label, valu
521 writeMeasurement(String label, String value) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithFooterViewAndNewLabels.java94 String label = mLabels.get(position);
102 tv.setText(label);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java66 String label; field in class:QuickSettingsModel.State
281 mSettingsState.label = r.getString(R.string.quick_settings_settings_label);
292 mUserState.label = name;
318 mAlarmState.label = alarmText;
366 mAirplaneModeState.label = r.getString(R.string.quick_settings_airplane_mode_label);
407 mWifiState.label = removeDoubleQuotes(enabledDesc);
411 mWifiState.label = r.getString(R.string.quick_settings_wifi_label);
415 mWifiState.label = r.getString(R.string.quick_settings_wifi_off_label);
451 mRSSIState.label = enabled
491 mBluetoothState.label
[all...]
H A DQuickSettings.java326 tv.setText(state.label);
329 R.string.accessibility_quick_settings_user, state.label));
351 tv.setText(state.label);
392 tv.setText(state.label);
440 tv.setText(wifiState.label);
444 (wifiState.connected) ? wifiState.label : ""));
478 tv.setText(state.label);
482 state.label));
505 tv.setText(state.label);
565 tv.setText(state.label);
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java312 public PhoneData(String data, int type, String label, boolean isPrimary) { argument
315 mLabel = label;
369 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mNumber,
402 public EmailData(String data, int type, String label, boolean isPrimary) { argument
405 mLabel = label;
459 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mAddress,
505 String region, String postalCode, String country, int type, String label,
515 mLabel = label;
524 final int type, final String label, boolean isPrimary, int vcardType) {
549 dataArray[4], dataArray[5], dataArray[6], type, label, isPrimar
504 PostalData(String pobox, String extendedAddress, String street, String localty, String region, String postalCode, String country, int type, String label, boolean isPrimary, int vcardType) argument
523 constructPostalData(final List<String> propValueList, final int type, final String label, boolean isPrimary, int vcardType) argument
1353 SipData(String rawSip, int type, String label, boolean isPrimary) argument
1568 onElementGroupStarted(EntryLabel label) argument
1638 onElementGroupStarted(EntryLabel label) argument
1673 onElementGroupStarted(EntryLabel label) argument
1724 onElementGroupStarted(EntryLabel label) argument
1765 addPhone(int type, String data, String label, boolean isPrimary) argument
1806 addSip(String sipData, int type, String label, boolean isPrimary) argument
1820 addEmail(int type, String data, String label, boolean isPrimary) argument
1827 addPostal(int type, List<String> propValueList, String label, boolean isPrimary) argument
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPerformanceTest.java88 String label = metricLabel + " " + statLabel;
89 double aggVal = mDataMap.containsKey(label) ? mDataMap
90 .get(label) : 0;
93 mDataMap.put(label, aggVal);
H A DPlaybackView.java52 String label; field in class:PlaybackView.TileDrawable
60 label = (int) (t.left / TILE_SCALE) + ", "
81 if (label != null) {
84 canvas.drawText(label, getBounds().left,
H A DPlaybackGraphs.java286 String label = resources.getString(
290 canvas.drawText(label, xPos, yPos, whiteLabels);
294 label = statLabel + " " + resources.getString(
298 canvas.drawText(label, xPos, yPos, whiteLabels);
/frameworks/base/core/java/android/provider/
H A DContactsContract.java976 * The package containing resources for this status: label and icon.
982 * The resource ID of the label describing the source of contact
1382 * <td> The package containing resources for this status: label and icon.</td>
1388 * <td>The resource ID of the label describing the source of contact status,
2992 * The package containing resources for this status: label and icon.
2998 * The resource ID of the label describing the source of the status update, e.g. "Google
3358 * The resource name of the label describing the source of the status update, e.g. "Google
3363 public static final String RES_LABEL = "label";
4154 * <td>The package containing resources for this status: label and icon.</td>
4160 * <td>The resource ID of the label describin
5476 getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray) argument
5486 getDisplayLabel(Context context, int type, CharSequence label) argument
5526 getTypeLabel(Resources res, int type, CharSequence label) argument
5677 getTypeLabel(Resources res, int type, CharSequence label) argument
5884 getTypeLabel(Resources res, int type, CharSequence label) argument
6022 getTypeLabel(Resources res, int type, CharSequence label) argument
6056 getProtocolLabel(Resources res, int type, CharSequence label) argument
6229 getTypeLabel(Resources res, int type, CharSequence label) argument
6355 getTypeLabel(Resources res, int type, CharSequence label) argument
6762 getTypeLabel(Resources res, int type, CharSequence label) argument
[all...]
H A DContacts.java910 * The user provided label for the phone number, only used if TYPE is TYPE_CUSTOM.
915 public static final String LABEL = "label";
961 CharSequence label, CharSequence[] labelArray) {
974 if (!TextUtils.isEmpty(label)) {
975 display = label;
986 CharSequence label) {
987 return getDisplayLabel(context, type, label, null);
1196 * The user defined label for the the contact method.
1201 public static final String LABEL = "label";
1398 int type, CharSequence label) {
960 getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray) argument
985 getDisplayLabel(Context context, int type, CharSequence label) argument
1397 getDisplayLabel(Context context, int kind, int type, CharSequence label) argument
1762 getDisplayLabel(Context context, int type, CharSequence label) argument
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java67 public CharSequence label; field in class:LauncherActivity.ListItem
75 label = resolveInfo.loadLabel(pm);
78 if (label == null && ci != null) {
79 label = resolveInfo.activityInfo.name;
164 text.setText(item.label);
212 String[] words = item.label.toString().toLowerCase().split(" ");
/frameworks/base/core/java/android/widget/
H A DTabHost.java480 * 1) set a label
481 * 2) set a label and an icon
500 * Specify a label as the tab indicator.
502 public TabSpec setIndicator(CharSequence label) { argument
503 mIndicatorStrategy = new LabelIndicatorStrategy(label);
508 * Specify a label and icon as the tab indicator.
510 public TabSpec setIndicator(CharSequence label, Drawable icon) { argument
511 mIndicatorStrategy = new LabelAndIconIndicatorStrategy(label, icon);
584 * How to create a tab indicator that just has a label.
590 private LabelIndicatorStrategy(CharSequence label) { argument
623 LabelAndIconIndicatorStrategy(CharSequence label, Drawable icon) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java876 public void writeBeginSnapshot(String label) { argument
886 public void writeStartTiming(String label) { argument
908 public void writeMeasurement(String label, long value) { argument
909 mTestResult.putLong(label, value);
912 public void writeMeasurement(String label, float value) { argument
913 mTestResult.putFloat(label, value);
916 public void writeMeasurement(String label, String value) { argument
917 mTestResult.putString(label, value);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java302 * @param label to attach to this given stats.
306 public void AddStatsToResults(String label, NetworkStats stats, Bundle results){ argument
341 results.putInt(label + "uid", entry.uid);
342 results.putLong(label + "tx", entry.txBytes);
343 results.putLong(label + "rx", entry.rxBytes);

Completed in 961 milliseconds

12345