Searched defs:label (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/gesture/
H A DPrediction.java24 Prediction(String label, double predictionScore) { argument
25 name = label;
H A DInstance.java21 * 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);
/frameworks/base/core/java/android/util/
H A DTimingLogger.java52 /** 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/tests/ImfTest/src/com/android/imftest/samples/
H A DInputTypeActivity.java142 private View buildEntryView(int inputType, int label) { argument
150 TextView textView = (TextView) view.findViewById(R.id.label);
151 textView.setText(label);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java85 * 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/java/android/view/inputmethod/
H A DCompletionInfo.java36 * 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 DEditorInfo.java164 * 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);
H A DInputMethodInfo.java141 CharSequence label, String settingsActivity) {
152 si.nonLocalizedLabel = label;
201 * Load the user-displayed label for this input method.
140 InputMethodInfo(String packageName, String className, CharSequence label, String settingsActivity) argument
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearch.java93 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 DVerticalFocusSearch.java101 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);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java644 void timeNotification(int n, String label, long time) { argument
647 time, label, "" + new java.util.Date(time), null));
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java65 public CharSequence label; field in class:LauncherActivity.ListItem
73 label = resolveInfo.loadLabel(pm);
76 if (label == null && ci != null) {
77 label = resolveInfo.activityInfo.name;
160 text.setText(item.label);
207 String[] words = item.label.toString().toLowerCase().split(" ");
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java110 final public int label; field in class:DeviceAdminInfo.PolicyInfo
116 label = labelIn;
279 * Load the user-displayed label for this device admin.
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java29 * 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/pim/
H A DEventRecurrence.java226 private static void appendNumbers(StringBuilder s, String label, argument
230 s.append(label);
/frameworks/base/core/java/android/pim/vcard/
H A DVCardUtils.java107 * when not, which should be set to label.
115 String label = null;
154 label = typeString;
177 return label;
184 public static boolean isMobilePhoneLabel(final String label) { argument
187 // To support mobile type at that time, this custom label had been used.
188 return (android.provider.Contacts.ContactMethodsColumns.MOBILE_EMAIL_TYPE_NAME.equals(label)
189 || sMobilePhoneLabelSet.contains(label));
192 public static boolean isValidInV21ButUnknownToContactsPhoteType(final String label) { argument
193 return sPhoneTypesUnknownToContactsSet.contains(label);
[all...]
H A DVCardBuilder.java634 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 DPerformanceCollectorTest.java457 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/tests/coretests/src/android/util/
H A DInternalSelectionView.java60 public InternalSelectionView(Context context, int numRows, String label) { argument
63 mLabel = label;
/frameworks/base/core/java/android/widget/
H A DTabHost.java390 * 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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DStubMethodAdapter.java259 public void visitLabel(Label label) { argument
261 mParentVisitor.visitLabel(label);
301 public void visitJumpInsn(int opcode, Label label) { argument
303 mParentVisitor.visitJumpInsn(opcode, label);
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
H A DVCardExporterTests.java772 Integer type, String label) {
775 + (label != null ? label : "") + ";;;;;;;;;;;;");
771 getAndroidPropValue(final String mimeType, String value, Integer type, String label) argument
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java502 private static final void dumpAlarmList(PrintWriter pw, ArrayList<Alarm> list, String prefix, String label) { argument
505 pw.print(prefix); pw.print(label); pw.print(" #"); pw.print(i);
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java823 public void writeBeginSnapshot(String label) { argument
833 public void writeStartTiming(String label) { argument
855 public void writeMeasurement(String label, long value) { argument
856 mTestResult.putLong(label, value);
859 public void writeMeasurement(String label, float value) { argument
860 mTestResult.putFloat(label, value);
863 public void writeMeasurement(String label, String value) { argument
864 mTestResult.putString(label, value);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java81 /** Keyboard label **/
233 public CharSequence label; field in class:Keyboard.Key
235 /** Icon to display instead of a label. Icon takes precedence over a label */
376 label = a.getText(com.android.internal.R.styleable.Keyboard_Key_keyLabel);
379 if (codes == null && !TextUtils.isEmpty(label)) {
380 codes = new int[] { label.charAt(0) };
570 key.label = String.valueOf(c);

Completed in 330 milliseconds

12