/frameworks/base/core/java/android/gesture/ |
H A D | Prediction.java | 24 Prediction(String label, double predictionScore) { argument 25 name = label;
|
H A D | Instance.java | 21 * An instance represents a sample if the label is available or a query if the 22 * label is null. 38 // the label can be null 39 final String label; field in class:Instance 47 label = sampleName; 69 * @param label 72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) { argument 77 instance = new Instance(gesture.getID(), pts, label); 81 instance = new Instance(gesture.getID(), pts, label);
|
H A D | Learner.java | 74 // the label can be null, as specified in Instance 75 if ((instance.label == null && name == null) 76 || (instance.label != null && instance.label.equals(name))) {
|
H A D | InstanceLearner.java | 66 Double score = label2score.get(sample.label); 68 label2score.put(sample.label, weight);
|
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 29 * with name of test as the label, e.g. EmailPerformanceTest. 34 * with the name of test case as the label, e.g. testSimpleSendMailSequence. 71 * @param label description of code block between beginSnapshot and 75 public void writeBeginSnapshot(String label); argument 93 * @param label description of code block between startTiming and 97 public void writeStartTiming(String label); argument 116 * @param label short description of the metric that was measured 119 public void writeMeasurement(String label, long value); argument 126 * @param label short description of the metric that was measured 129 public void writeMeasurement(String label, floa argument 139 writeMeasurement(String label, String value) argument 305 beginSnapshot(String label) argument 362 startTiming(String label) argument 387 addIteration(String label) argument 411 stopTiming(String label) argument 424 addMeasurement(String label, long value) argument 435 addMeasurement(String label, float value) argument 446 addMeasurement(String label, String value) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | TimingLogger.java | 52 /** A label to be included in every log. */ 70 * @param label a string to be displayed with each log 72 public TimingLogger(String tag, String label) { argument 73 reset(tag, label); 82 * @param label a string to be displayed with each log 84 public void reset(String tag, String label) { argument 86 mLabel = label; 92 * the tag and label that was specified previously, either via 93 * the constructor or a call to reset(tag, label). If the 116 * @param splitLabel a label t [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | ComponentInfo.java | 83 CharSequence label; 85 label = pm.getText(packageName, labelRes, ai); 86 if (label != null) { 87 return label; 94 label = pm.getText(packageName, ai.labelRes, ai); 95 if (label != null) { 96 return label;
|
H A D | PermissionGroupInfo.java | 58 * @param pm A PackageManager from which the label can be loaded; usually 69 CharSequence label = pm.getText(packageName, descriptionRes, null); 70 if (label != null) { 71 return label;
|
H A D | PermissionInfo.java | 102 * @param pm A PackageManager from which the label can be loaded; usually 113 CharSequence label = pm.getText(packageName, descriptionRes, null); 114 if (label != null) { 115 return label;
|
H A D | ResolveInfo.java | 94 * match's label. From the "label" attribute or, if not set, 0. 118 * Retrieve the current textual label associated with this resolution. This 119 * will call back on the given PackageManager to load the label from 122 * @param pm A PackageManager from which the label can be loaded; usually 125 * @return Returns a CharSequence containing the resolutions's label. If the 126 * item does not have a label, its name is returned. 132 CharSequence label; 134 label = pm.getText(resolvePackageName, labelRes, null); 135 if (label ! [all...] |
H A D | LabeledIntent.java | 25 * 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 D | PackageItemInfo.java | 33 * a label, icon, and meta-data. This class is not intended 52 * component's label. From the "label" attribute or, if not set, 0. 91 * Retrieve the current textual label associated with this item. This 92 * will call back on the given PackageManager to load the label from 95 * @param pm A PackageManager from which the label can be loaded; usually 98 * @return Returns a CharSequence containing the item's label. If the 99 * item does not have a label, its name is returned. 106 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); 107 if (label ! [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.java | 85 * The label to display to the user in the AppWidget picker. If not supplied in the 86 * xml, the application label will be used. 88 * <p>This field corresponds to the <code>android:label</code> attribute in 91 public String label; field in class:AppWidgetProviderInfo 131 this.label = in.readString(); 153 out.writeString(this.label);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListOfButtonsTest.java | 102 String label = labels[i]; 106 String indexInfo = "index: " + i + ", label: " + label; 112 assertEquals(indexInfo, label, button.getText().toString()); 121 String label = labels[i]; 123 String indexInfo = "index: " + i + ", label: " + label; 129 assertEquals(indexInfo, label, button.getText().toString());
|
H A D | HorizontalFocusSearch.java | 93 private Button makeTall(String label) { argument 95 button.setText(label); 102 private Button addShort(LinearLayout root, String label, boolean atBottom) { argument 104 button.setText(label);
|
H A D | VerticalFocusSearch.java | 101 private Button makeWide(String label) { argument 103 button.setText(label); 114 * @param label The label of the button. 118 private Button addSkinny(LinearLayout root, String label, boolean atRight) { argument 120 button.setText(label);
|
H A D | ListOfButtons.java | 64 String label = getItem(position); 67 button.setText(label);
|
H A D | ListWithFooterViewAndNewLabels.java | 94 String label = mLabels.get(position); 102 tv.setText(label);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | CompletionInfo.java | 36 * Create a simple completion with just text, no label. 46 * Create a full completion with both text and label. 48 public CompletionInfo(long id, int index, CharSequence text, CharSequence label) { argument 52 mLabel = label; 87 * Return the user-visible label for the completion, or null if the plain 98 + "\" id=" + mId + " label=" + mLabel + "}";
|
H A D | EditorInfo.java | 164 * In some cases an IME may be able to display an arbitrary label for 208 * A label to show to the user describing the text they are writing. 210 public CharSequence label; field in class:EditorInfo 256 + " label=" + label); 279 TextUtils.writeToParcel(label, dest, flags); 301 res.label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardEntry.java | 84 public final String label; field in class:VCardEntry.PhoneData 88 public PhoneData(int type, String data, String label, boolean isPrimary) { argument 91 this.label = label; 102 label.equals(phoneData.label) && isPrimary == phoneData.isPrimary); 107 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", 108 type, data, label, isPrimary); 116 public final String label; field in class:VCardEntry.EmailData 120 public EmailData(int type, String data, String label, boolea argument 157 public final String label; field in class:VCardEntry.PostalData 160 PostalData(final int type, final List<String> propValueList, final String label, boolean isPrimary) argument 484 addPhone(int type, String data, String label, boolean isPrimary) argument 518 addEmail(int type, String data, String label, boolean isPrimary) argument 525 addPostal(int type, List<String> propValueList, String label, boolean isPrimary) argument [all...] |
H A D | VCardBuilder.java | 634 final String label = contentValues.getAsString(Phone.LABEL); 650 appendTelLine(type, label, phoneNumber, isPrimary); 671 appendTelLine(type, label, formattedPhoneNumber, isPrimary); 723 final String label = contentValues.getAsString(Email.LABEL); 730 appendEmailLine(type, label, emailAddress, isPrimary); 803 final String label = currentContentValues.getAsString(StructuredPostal.LABEL); 804 appendPostalLine(currentType, label, currentContentValues, false, true); 815 final String label = contentValues.getAsString(StructuredPostal.LABEL); 820 appendPostalLine(type, label, contentValues, isPrimary, false); 987 final String label 1216 appendPostalLine(final int type, final String label, final ContentValues contentValues, final boolean isPrimary, final boolean emitLineEveryTime) argument 1294 appendEmailLine(final int type, final String label, final String rawValue, final boolean isPrimary) argument 1344 appendTelLine(final Integer typeAsInteger, final String label, final String encodedValue, boolean isPrimary) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 457 private void verifyIterationBundle(Bundle iteration, String label) { argument 460 assertEquals(label, iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); 500 public void writeBeginSnapshot(String label) { argument 501 snapshotLabel = label; 508 public void writeStartTiming(String label) { argument 509 timingLabel = label; 516 public void writeMeasurement(String label, long value) { argument 517 timingResults.putLong(label, value); 520 public void writeMeasurement(String label, float value) { argument 521 timingResults.putFloat(label, valu 524 writeMeasurement(String label, String value) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TabHost.java | 390 * 1) set a label 391 * 2) set a label and an icon 410 * Specify a label as the tab indicator. 412 public TabSpec setIndicator(CharSequence label) { argument 413 mIndicatorStrategy = new LabelIndicatorStrategy(label); 418 * Specify a label and icon as the tab indicator. 420 public TabSpec setIndicator(CharSequence label, Drawable icon) { argument 421 mIndicatorStrategy = new LabelAndIconIndicatorStrategy(label, icon); 494 * How to create a tab indicator that just has a label. 500 private LabelIndicatorStrategy(CharSequence label) { argument 533 LabelAndIconIndicatorStrategy(CharSequence label, Drawable icon) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | ContactsContract.java | 425 * The package containing resources for this status: label and icon. 431 * The resource ID of the label describing the source of contact 828 * <td> The package containing resources for this status: label and icon.</td> 834 * <td>The resource ID of the label describing the source of contact status, 1935 * The package containing resources for this status: label and icon. 1941 * The resource ID of the label describing the source of the status update, e.g. "Google 2399 * <td>The package containing resources for this status: label and icon.</td> 2405 * <td>The resource ID of the label describing the source of status update linked 2825 * The user defined label for the phone number. 2828 public static final String LABEL = "label"; 3665 getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray) argument 3675 getDisplayLabel(Context context, int type, CharSequence label) argument 3715 getTypeLabel(Resources res, int type, CharSequence label) argument 3867 getTypeLabel(Resources res, int type, CharSequence label) argument 4074 getTypeLabel(Resources res, int type, CharSequence label) argument 4212 getTypeLabel(Resources res, int type, CharSequence label) argument 4246 getProtocolLabel(Resources res, int type, CharSequence label) argument 4419 getTypeLabel(Resources res, int type, CharSequence label) argument [all...] |