Searched refs:label (Results 26 - 50 of 178) sorted by relevance

12345678

/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/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);
H A DListOfButtons.java64 String label = getItem(position);
67 button.setText(label);
H A DListWithFooterViewAndNewLabels.java94 String label = mLabels.get(position);
102 tv.setText(label);
/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java44 public KeyboardLayout(String descriptor, String label, String collection, int priority) { argument
46 mLabel = label;
70 * Gets the keyboard layout descriptive label to show in the user interface.
71 * @return The keyboard layout descriptive label.
79 * the label of the broadcast receiver or application that provided the keyboard layout.
/frameworks/base/core/java/android/net/
H A DINetworkManagementEventObserver.aidl92 void interfaceClassDataActivityChanged(String label, boolean active, long tsNanos);
/frameworks/base/core/java/android/view/inputmethod/
H A DCompletionInfo.java58 * Create a simple completion with just text, no label.
74 * Create a full completion with both text and label. The text is
75 * what will get inserted into the editor, while the label is what
77 * of the constructor without a `label' argument.
84 * @param label The text that the IME should be showing among the
87 public CompletionInfo(long id, int index, CharSequence text, CharSequence label) { argument
91 mLabel = label;
126 * Return the user-visible label for the completion, or null if the plain
137 + "\" id=" + mId + " label=" + mLabel + "}";
H A DEditorInfo.java226 * In some cases an IME may be able to display an arbitrary label for
228 * typically used as the label for the action to use in-line as a replacement
295 * A label to show to the user describing the text they are writing.
297 public CharSequence label; field in class:EditorInfo
378 + " label=" + label);
401 TextUtils.writeToParcel(label, dest, flags);
424 res.label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java97 state.label = null;
102 state.label = mController.getLastDeviceName();
107 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
113 if (TextUtils.isEmpty(state.label)) {
114 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
118 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
123 String bluetoothName = state.label;
126 R.string.accessibility_bluetooth_name, state.label);
H A DRotationLockTile.java79 final int label = portrait ? R.string.quick_settings_rotation_locked_portrait_label
81 state.label = mContext.getString(label);
84 state.label = mContext.getString(R.string.quick_settings_rotation_unlocked_label);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DTaskDescription.java35 private CharSequence mLabel; // application package label
79 public void setLabel(CharSequence label) { argument
80 mLabel = label;
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi21.java55 static Object newAccessibilityAction(int actionId, CharSequence label) { argument
56 return new AccessibilityAction(actionId, label);
/frameworks/base/core/java/android/content/pm/
H A DLabeledIntent.java25 * 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 DPermissionInfo.java186 * @param pm A PackageManager from which the label can be loaded; usually
197 CharSequence label = pm.getText(packageName, descriptionRes, null);
198 if (label != null) {
199 return label;
H A DResolveInfo.java107 * match's label. From the "label" attribute or, if not set, 0.
154 * Retrieve the current textual label associated with this resolution. This
155 * will call back on the given PackageManager to load the label from
158 * @param pm A PackageManager from which the label can be loaded; usually
161 * @return Returns a CharSequence containing the resolutions's label. If the
162 * item does not have a label, its name is returned.
168 CharSequence label;
170 label = pm.getText(resolvePackageName, labelRes, null);
171 if (label !
[all...]
/frameworks/base/core/java/android/app/
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);
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java61 public void interfaceClassDataActivityChanged(String label, boolean active, long tsNanos) { argument
/frameworks/base/core/java/android/gesture/
H A DInstanceLearner.java66 Double score = label2score.get(sample.label);
68 label2score.put(sample.label, weight);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES31Ext.spec8 void glObjectLabelKHR ( GLenum identifier, GLuint name, GLsizei length, const GLchar *label )
9 void glGetObjectLabelKHR ( GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label )
10 void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label )
11 void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py147 for label in axes.get_xticklabels():
148 label.set_fontsize(9)
149 for label in axes.get_yticklabels():
150 label.set_fontsize(9)
155 def _add_timeseries_line(self, axes, label, color, linewidth=1):
156 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
/frameworks/base/core/java/android/content/
H A DClipData.java45 * For display to the user, it also has a label and iconic representation.</p>
617 * @param label Label to show to the user describing this clip.
621 public ClipData(CharSequence label, String[] mimeTypes, Item item) { argument
622 mClipDescription = new ClipDescription(label, mimeTypes);
663 * @param label User-visible label for the clip data.
667 static public ClipData newPlainText(CharSequence label, CharSequence text) { argument
669 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item);
676 * @param label User-visible label fo
682 newHtmlText(CharSequence label, CharSequence text, String htmlText) argument
696 newIntent(CharSequence label, Intent intent) argument
712 newUri(ContentResolver resolver, CharSequence label, Uri uri) argument
752 newRawUri(CharSequence label, Uri uri) 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/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
H A DAppListFragment.java77 final String label; field in class:AppListFragment.Item
81 this.label = l;
137 tv.setText(item.label);
/frameworks/base/telecomm/java/android/telecom/
H A DPhoneAccount.java177 * Creates a builder with the specified {@link PhoneAccountHandle} and label.
179 public Builder(PhoneAccountHandle accountHandle, CharSequence label) { argument
181 this.mLabel = label;
397 CharSequence label,
409 mLabel = label;
416 CharSequence label) {
417 return new Builder(accountHandle, label);
484 * A short label describing a {@code PhoneAccount}.
486 * @return A label for this {@code PhoneAccount}.
387 PhoneAccount( PhoneAccountHandle account, Uri address, Uri subscriptionAddress, int capabilities, int iconResId, String iconPackageName, Bitmap iconBitmap, int iconTint, int highlightColor, CharSequence label, CharSequence shortDescription, List<String> supportedUriSchemes) argument
414 builder( PhoneAccountHandle accountHandle, CharSequence label) argument

Completed in 580 milliseconds

12345678