/frameworks/support/slices/core/src/main/java/androidx/slice/compat/ |
H A D | SlicePermissionActivity.java | 91 String label = appInfo.loadLabel(pm).toString(); 93 String labelStr = Html.fromHtml(label).toString(); 95 // If the label contains new line characters it may push the UI
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
H A D | BoringLayoutIsBoringPerfTest.java | 70 public BoringLayoutIsBoringPerfTest(String label, int length, boolean boring, TextType textType, argument
|
/frameworks/base/core/java/android/app/ |
H A D | RemoteInput.java | 46 * sets the result key as {@code quick_reply}, and sets the label as {@code Quick reply}. 109 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument 112 this.mLabel = label; 128 * Get the label to display to users when collecting this input. 202 * Set a label to be displayed to the user when collecting this input. 204 * @param label The label to show to users when they input a response 208 public Builder setLabel(@Nullable CharSequence label) { argument 209 mLabel = Notification.safeCharSequence(label);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 301 * @param label to attach to this given stats. 306 public void addStatsToResults(String label, NetworkStats stats, Bundle results, int uid){ argument 330 results.putInt(label + "uid", totalStats.uid); 331 results.putLong(label + "tx", totalStats.txBytes); 332 results.putLong(label + "rx", totalStats.rxBytes);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileBaseView.java | 257 String label = getResources() 259 event.setContentDescription(label); 272 String label = getResources() 274 info.setText(label);
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | AutomaticActivity.java | 122 TestResult(String label, float error) { argument 123 mLabel = label; 177 private static void logTestResultHash(String label, HashMap<String, TestResult> map) { argument 179 Log.d(LOG_TAG, label + ":");
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter.java | 361 public void visitLabel(Label label) { argument 363 mOrgWriter.visitLabel(label); 410 public void visitJumpInsn(int opcode, Label label) { argument 412 mOrgWriter.visitJumpInsn(opcode, label);
|
H A D | StubMethodAdapter.java | 278 public void visitLabel(Label label) { argument 280 mParentVisitor.visitLabel(label); 327 public void visitJumpInsn(int opcode, Label label) { argument 329 mParentVisitor.visitJumpInsn(opcode, label);
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | RemoteInput.java | 57 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument 60 this.mLabel = label; 76 * Get the label to display to users when collecting this input. 145 * Set a label to be displayed to the user when collecting this input. 146 * @param label The label to show to users when they input a response. 149 public Builder setLabel(CharSequence label) { argument 150 mLabel = label;
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 293 String label; 297 label = mService.getString(R.string.label_pause); 301 label = mService.getString(R.string.label_play); 305 builder.addAction(new NotificationCompat.Action(icon, label, intent));
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 293 String label; 297 label = mService.getString(R.string.label_pause); 301 label = mService.getString(R.string.label_play); 305 builder.addAction(new NotificationCompat.Action(icon, label, intent));
|
/frameworks/base/core/java/android/provider/ |
H A D | ContactsContract.java | 1074 * The package containing resources for this status: label and icon. 1080 * The resource ID of the label describing the source of contact 1493 * <td> The package containing resources for this status: label and icon.</td> 1499 * <td>The resource ID of the label describing the source of contact status, 3227 * The package containing resources for this status: label and icon. 3233 * The resource ID of the label describing the source of the status update, e.g. "Google 3690 * The resource name of the label describing the source of the status update, e.g. "Google 3699 public static final String RES_LABEL = "label"; 4672 * <td>The package containing resources for this status: label and icon.</td> 4678 * <td>The resource ID of the label describin 6135 getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray) argument 6145 getDisplayLabel(Context context, int type, CharSequence label) argument 6185 getTypeLabel(Resources res, int type, CharSequence label) argument 6396 getTypeLabel(Resources res, int type, CharSequence label) argument 6604 getTypeLabel(Resources res, int type, CharSequence label) argument 6742 getTypeLabel(Resources res, int type, CharSequence label) argument 6776 getProtocolLabel(Resources res, int type, CharSequence label) argument 6949 getTypeLabel(Resources res, int type, CharSequence label) argument 7076 getTypeLabel(Resources res, int type, CharSequence label) argument 7172 getTypeLabel(Resources res, int type, CharSequence label) argument 7501 getTypeLabel(Resources res, int type, CharSequence label) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 55 * For display to the user, it also has a label.</p> 694 * @param label Label to show to the user describing this clip. 698 public ClipData(CharSequence label, String[] mimeTypes, Item item) { argument 699 mClipDescription = new ClipDescription(label, mimeTypes); 758 * @param label User-visible label for the clip data. 762 static public ClipData newPlainText(CharSequence label, CharSequence text) { argument 764 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item); 771 * @param label User-visible label fo 777 newHtmlText(CharSequence label, CharSequence text, String htmlText) argument 791 newIntent(CharSequence label, Intent intent) argument 807 newUri(ContentResolver resolver, CharSequence label, Uri uri) argument 854 newRawUri(CharSequence label, Uri uri) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PermissionInfo.java | 386 * @param pm A PackageManager from which the label can be loaded; usually 397 CharSequence label = pm.getText(packageName, descriptionRes, null); 398 if (label != null) { 399 return label;
|
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerInfo.java | 73 int label = 0; 99 label = sa.getResourceId(com.android.internal.R.styleable.SpellChecker_label, 0); 137 mLabel = label; 209 * Load the user-displayed label for this spell checker.
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationTest.java | 141 final String label = "label"; 146 label, 170 assertEquals(label, result.getLabel());
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
H A D | AuthenticatorHelper.java | 123 * Gets the label associated with a particular account type. If none found, return null. 125 * @return a CharSequence for the label or null if one cannot be found. 128 CharSequence label = null; 134 label = authContext.getResources().getText(desc.labelId); 136 Log.w(TAG, "No label name for account type " + accountType); 138 Log.w(TAG, "No label icon for account type " + accountType); 141 return label; 158 * Gets the resource id of the label associated with a particular account type. If none found, 161 * @return a resource id for the label or -1 if none found;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HwTests.java | 87 String label = labelSeq != null 91 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 93 String[] labelPath = label.split("/");
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | InputTypeActivity.java | 142 private View buildEntryView(int inputType, int label) { argument 150 TextView textView = (TextView) view.findViewById(R.id.label); 151 textView.setText(label);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | MainActivity.java | 111 String label = labelSeq != null 115 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 117 String[] labelPath = label.split("/");
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | VectorDrawableTest.java | 86 String label = labelSeq != null 90 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 92 String[] labelPath = label.split("/");
|
/frameworks/support/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/ |
H A D | Support13Demos.java | 84 String label = labelSeq != null 88 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 90 String[] labelPath = label.split("/");
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/ |
H A D | Support4Demos.java | 84 String label = labelSeq != null 88 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 90 String[] labelPath = label.split("/");
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/ |
H A D | Support7Demos.java | 84 String label = labelSeq != null 88 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 90 String[] labelPath = label.split("/");
|
/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/ |
H A D | BrowseActivity.java | 88 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name; 90 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 92 String[] labelPath = label.split("/");
|