Searched defs:label (Results 1 - 25 of 38) 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DTitleBar.java30 public TitleBar(Context context, Density density, String label) argument
37 mTextView = setText(0, 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.java716 void timeNotification(int n, String label, long time) { argument
719 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.java117 * when not, which should be set to label.
125 String label = null;
164 label = typeString;
187 return label;
194 public static boolean isMobilePhoneLabel(final String label) { argument
197 // To support mobile type at that time, this custom label had been used.
198 return ("_AUTO_CELL".equals(label) || sMobilePhoneLabelSet.contains(label));
201 public static boolean isValidInV21ButUnknownToContactsPhoteType(final String label) { argument
202 return sPhoneTypesUnknownToContactsSet.contains(label);
[all...]
H A DVCardBuilder.java824 final String label = contentValues.getAsString(Phone.LABEL);
843 appendTelLine(type, label, phoneNumber, isPrimary);
857 appendTelLine(type, label, formattedPhoneNumber, isPrimary);
932 final String label = contentValues.getAsString(Email.LABEL);
939 appendEmailLine(type, label, emailAddress, isPrimary);
1012 final String label = currentContentValues.getAsString(StructuredPostal.LABEL);
1013 appendPostalLine(currentType, label, currentContentValues, false, true);
1024 final String label = contentValues.getAsString(StructuredPostal.LABEL);
1029 appendPostalLine(type, label, contentValues, isPrimary, false);
1196 final String label
1431 appendPostalLine(final int type, final String label, final ContentValues contentValues, final boolean isPrimary, final boolean emitEveryTime) argument
1509 appendEmailLine(final int type, final String label, final String rawValue, final boolean isPrimary) argument
1559 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.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/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.java393 * 1) set a label
394 * 2) set a label and an icon
413 * Specify a label as the tab indicator.
415 public TabSpec setIndicator(CharSequence label) { argument
416 mIndicatorStrategy = new LabelIndicatorStrategy(label);
421 * Specify a label and icon as the tab indicator.
423 public TabSpec setIndicator(CharSequence label, Drawable icon) { argument
424 mIndicatorStrategy = new LabelAndIconIndicatorStrategy(label, icon);
497 * How to create a tab indicator that just has a label.
503 private LabelIndicatorStrategy(CharSequence label) { argument
536 LabelAndIconIndicatorStrategy(CharSequence label, Drawable icon) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDelegateMethodAdapter.java297 public void visitLabel(Label label) { argument
325 public void visitJumpInsn(int opcode, Label label) { argument
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/services/java/com/android/server/
H A DAlarmManagerService.java508 String prefix, String label, long now) {
511 pw.print(prefix); pw.print(label); pw.print(" #"); pw.print(i);
507 dumpAlarmList(PrintWriter pw, ArrayList<Alarm> list, String prefix, String label, long now) argument
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java839 public void writeBeginSnapshot(String label) { argument
849 public void writeStartTiming(String label) { argument
871 public void writeMeasurement(String label, long value) { argument
872 mTestResult.putLong(label, value);
875 public void writeMeasurement(String label, float value) { argument
876 mTestResult.putFloat(label, value);
879 public void writeMeasurement(String label, String value) { argument
880 mTestResult.putString(label, value);

Completed in 2995 milliseconds

12