Searched defs:label (Results 1 - 25 of 132) sorted by path

123456

/frameworks/base/core/java/android/app/
H A DActivityManager.java951 ATTR_TASKDESCRIPTION_PREFIX + "label";
968 * @param label A label and description of the current state of this task.
973 public TaskDescription(String label, Bitmap icon, int colorPrimary) { argument
974 this(label, icon, null, colorPrimary, 0);
983 * @param label A label and description of the current state of this activity.
986 public TaskDescription(String label, Bitmap icon) { argument
987 this(label, icon, null, 0, 0);
993 * @param label
995 TaskDescription(String label) argument
1007 TaskDescription(String label, Bitmap icon, String iconFilename, int colorPrimary, int colorBackground) argument
1043 setLabel(String label) argument
[all...]
H A DApplicationPackageManager.java1226 public CharSequence getUserBadgedLabel(CharSequence label, UserHandle user) { argument
1229 com.android.internal.R.string.managed_profile_label_badge, label);
1231 return label;
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(" ");
H A DNotification.java995 * It must include an icon, a label, and a {@link PendingIntent} to be fired when the action is
1408 * Set a label to display while the wearable is preparing to automatically execute the
1411 * @param label the label to display while the action is being prepared to execute
1414 public WearableExtender setInProgressLabel(CharSequence label) { argument
1415 mInProgressLabel = label;
1420 * Get the label to display while the wearable is preparing to automatically execute
1423 * @return the label to display while the action is being prepared to execute
1430 * Set a label to display to confirm that the action should be executed.
1433 * @param label th
1436 setConfirmLabel(CharSequence label) argument
1458 setCancelLabel(CharSequence label) argument
[all...]
H A DRemoteInput.java35 * sets the result key as {@code quick_reply}, and sets the label as {@code Quick reply}.
79 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument
82 this.mLabel = label;
97 * Get the label to display to users when collecting this input.
149 * Set a label to be displayed to the user when collecting this input.
150 * @param label The label to show to users when they input a response.
153 public Builder setLabel(CharSequence label) { argument
154 mLabel = Notification.safeCharSequence(label);
H A DVoiceInteractor.java406 * Creates an option that a user can select with their voice by matching the label
408 * @param label The label that will both be matched against what the user speaks
412 public Option(CharSequence label) { argument
413 mLabel = label;
418 * Creates an option that a user can select with their voice by matching the label
420 * @param label The label that will both be matched against what the user speaks
426 public Option(CharSequence label, int index) { argument
427 mLabel = label;
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java170 public final int label; field in class:DeviceAdminInfo.PolicyInfo
175 public PolicyInfo(int ident, String tag, int label, int description) { argument
176 this(ident, tag, label, description, label, description);
179 public PolicyInfo(int ident, String tag, int label, int description, argument
183 this.label = label;
384 * Load the user-displayed label for this device admin.
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java155 * The label to display to the user in the AppWidget picker.
160 public String label; field in class:AppWidgetProviderInfo
234 this.label = in.readString();
244 * Loads the localized label to display to the user in the AppWidget picker.
247 * @return The label for the current locale.
250 CharSequence label = providerInfo.loadLabel(packageManager);
251 if (label != null) {
252 return label.toString().trim();
328 out.writeString(this.label);
350 that.label
[all...]
/frameworks/base/core/java/android/content/
H A DClipData.java47 * For display to the user, it also has a label.</p>
641 * @param label Label to show to the user describing this clip.
645 public ClipData(CharSequence label, String[] mimeTypes, Item item) { argument
646 mClipDescription = new ClipDescription(label, mimeTypes);
687 * @param label User-visible label for the clip data.
691 static public ClipData newPlainText(CharSequence label, CharSequence text) { argument
693 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item);
700 * @param label User-visible label fo
706 newHtmlText(CharSequence label, CharSequence text, String htmlText) argument
720 newIntent(CharSequence label, Intent intent) argument
736 newUri(ContentResolver resolver, CharSequence label, Uri uri) argument
771 newRawUri(CharSequence label, Uri uri) argument
[all...]
H A DClipDescription.java98 * @param label Label to show to the user describing this clip.
101 public ClipDescription(CharSequence label, String[] mimeTypes) { argument
105 mLabel = label;
144 * Return the label for this clip.
H A DUndoManager.java40 * {@link #getLastOperation}, control the label shown to the user for this operation
384 * Return the user-visible label for the top undo state on the stack.
394 * Return the user-visible label for the top redo state on the stack.
406 * @param label Optional user-visible label for this new undo state.
408 public void beginUpdate(CharSequence label) { argument
418 mWorking.updateLabel(label);
438 * Any existing label will be replaced with this one.
440 public void setUndoLabel(CharSequence label) { argument
444 mWorking.setLabel(label);
451 suggestUndoLabel(CharSequence label) argument
788 setLabel(CharSequence label) argument
792 updateLabel(CharSequence label) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DEphemeralApplicationInfo.java48 public EphemeralApplicationInfo(String packageName, CharSequence label, argument
52 mLabelText = label;
H A DPackageManager.java4586 * is itself a managed profile, then this returns a copy of the label with
4590 * @param label The label to change.
4592 * @return A label that combines the original label and a badge as
4595 public abstract CharSequence getUserBadgedLabel(CharSequence label, UserHandle user); argument
4637 * Return the label to use for this application.
4639 * @return Returns the label associated with this application, or null if
4641 * @param info The application to get the label of.
/frameworks/base/core/java/android/content/pm/permission/
H A DRuntimePermissionPresentationInfo.java44 * @param label The permission label.
48 public RuntimePermissionPresentationInfo(CharSequence label, argument
50 mLabel = label;
81 * Gets the permission label.
83 * @return The label.
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java120 private static native long nativeOpen(String path, int openFlags, String label, argument
210 mConfiguration.label,
346 + mConfiguration.label + "' from '" + value + "' to '" + newValue
393 throw new SQLiteException("Failed to change locale for db '" + mConfiguration.label
1140 String label = " (attached) " + name;
1142 label += ": " + path;
1144 dbStatsList.add(new DbStats(label, pageCount, pageSize, 0, 0, 0, 0));
1166 String label = mConfiguration.path;
1168 label += " (" + mConnectionId + ")";
1170 return new DbStats(label, pageCoun
[all...]
H A DSQLiteDatabaseConfiguration.java39 // when constructing a label to use in log messages.
54 * The label to use to describe the database when it appears in logs.
57 public final String label; field in class:SQLiteDatabaseConfiguration
105 label = stripPathForLogs(path);
124 this.label = other.label;
/frameworks/base/core/java/android/gesture/
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);
H A DPrediction.java24 Prediction(String label, double predictionScore) { argument
25 name = label;
/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java52 public KeyboardLayout(String descriptor, String label, String collection, int priority, argument
55 mLabel = label;
85 * Gets the keyboard layout descriptive label to show in the user interface.
86 * @return The keyboard layout descriptive label.
94 * the label of the broadcast receiver or application that provided the keyboard layout.
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java82 /** Keyboard label **/
239 public CharSequence label; field in class:Keyboard.Key
241 /** Icon to display instead of a label. Icon takes precedence over a label */
386 label = a.getText(com.android.internal.R.styleable.Keyboard_Key_keyLabel);
389 if (codes == null && !TextUtils.isEmpty(label)) {
390 codes = new int[] { label.charAt(0) };
612 key.label = String.valueOf(c);
H A DKeyboardView.java589 private CharSequence adjustCase(CharSequence label) { argument
590 if (mKeyboard.isShifted() && label != null && label.length() < 3
591 && Character.isLowerCase(label.charAt(0))) {
592 label = label.toString().toUpperCase();
594 return label;
700 String label = key.label == null? null : adjustCase(key.label)
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java3044 String label;
3047 label="idle";
3050 label="cell";
3053 label="phone";
3056 label="wifi";
3059 label="blue";
3062 label="scrn";
3065 label="flashlight";
3069 label = "uid";
3073 label
5167 dumpDailyLevelStepSummary(PrintWriter pw, String prefix, String label, LevelStepTracker steps, StringBuilder tmpSb, int[] tmpOutInt) argument
[all...]
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...]
H A DUserManager.java1852 * is itself a managed profile, then this returns a copy of the label with
1856 * @param label The label to change.
1858 * @return A label that combines the original label and a badge as
1862 public CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user) { argument
1863 return mContext.getPackageManager().getUserBadgedLabel(label, user);
/frameworks/base/core/java/android/os/storage/
H A DDiskInfo.java54 public String label; field in class:DiskInfo
68 label = parcel.readString();
77 private boolean isInteresting(String label) { argument
78 if (TextUtils.isEmpty(label)) {
81 if (label.equalsIgnoreCase("ata")) {
84 if (label.toLowerCase().contains("generic")) {
87 if (label.toLowerCase().startsWith("usb")) {
90 if (label.toLowerCase().startsWith("multiple")) {
99 if (isInteresting(label)) {
100 return res.getString(com.android.internal.R.string.storage_sd_card_label, label);
[all...]

Completed in 3511 milliseconds

123456