/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | SimpleJobIntentController.java | 49 WorkListener(String action, int label) { argument 51 mLabel = getText(label).toString(); 57 intent.putExtra("label", mLabel);
|
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
H A D | Telecom.java | 151 final String label = nextArgRequired(); 152 PhoneAccount account = PhoneAccount.builder(handle, label) 160 final String label = nextArgRequired(); 163 handle, label) 168 .setShortDescription(label)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | RotationLockTile.java | 89 return getState().label; 101 final int label = portrait ? R.string.quick_settings_rotation_locked_portrait_label 103 state.label = mContext.getString(label); 106 state.label = mContext.getString(R.string.quick_settings_rotation_unlocked_label);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 61 String label; field in class:LocalePicker.LocaleInfo 64 public LocaleInfo(String label, Locale locale) { argument 65 this.label = label; 70 return label; 79 return this.label; 84 return sCollator.compare(this.label, another.label); 140 Log.v(TAG, "backing up and fixing " + previous.label + " to " + 143 previous.label [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | LabeledIntent.java | 25 * 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 D | ResolveInfo.java | 124 * match's label. From the "label" attribute or, if not set, 0. 188 * Retrieve the current textual label associated with this resolution. This 189 * will call back on the given PackageManager to load the label from 192 * @param pm A PackageManager from which the label can be loaded; usually 195 * @return Returns a CharSequence containing the resolutions's label. If the 196 * item does not have a label, its name is returned. 202 CharSequence label; 204 label = pm.getText(resolvePackageName, labelRes, null); 205 if (label ! [all...] |
H A D | PackageItemInfo.java | 37 * a label, icon, and meta-data. This class is not intended 57 * component's label. From the "label" attribute or, if not set, 0. 120 * Retrieve the current textual label associated with this item. This 121 * will call back on the given PackageManager to load the label from 124 * @param pm A PackageManager from which the label can be loaded; usually 127 * @return Returns a CharSequence containing the item's label. If the 128 * item does not have a label, its name is returned. 135 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); 136 if (label ! [all...] |
H A D | PermissionInfo.java | 280 * @param pm A PackageManager from which the label can be loaded; usually 291 CharSequence label = pm.getText(packageName, descriptionRes, null); 292 if (label != null) { 293 return label;
|
H A D | InstantAppInfo.java | 30 * such as permissions, label, package name. 52 public InstantAppInfo(String packageName, CharSequence label, argument 56 mLabelText = label; 89 * @return Loads the label if the app is installed or returns the cached one otherwise.
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassification.java | 56 @Nullable String label, 64 mLabel = label; 120 * Returns a label that may be rendered on a widget used to act on the classified text. 163 + "text=%s, entities=%s, label=%s, intent=%s}", 227 * Sets a label that may be rendered on a widget used to act on the classified text. 229 public Builder setLabel(@Nullable String label) { argument 230 mLabel = label; 53 TextClassification( @ullable String text, @Nullable Drawable icon, @Nullable String label, @Nullable Intent intent, @Nullable OnClickListener onClickListener, @NonNull EntityConfidence<String> entityConfidence, int logType, @NonNull String versionInfo) argument
|
/frameworks/base/core/java/com/android/server/net/ |
H A D | BaseNetworkObserver.java | 61 public void interfaceClassDataActivityChanged(String label, boolean active, long tsNanos) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileView.java | 96 if (!Objects.equal(mLabel.getText(), state.label) || mState != state.state) { 99 state.label = new SpannableStringBuilder().append(state.label, 104 mLabel.setText(state.label);
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
H A D | RateEstimatorTest.java | 136 private void assertLessThan(String label, float a, float b) { argument 137 assertTrue(String.format("%s was %f, but should be less than %f", label, a, b), a <= b); 140 private void assertGreaterThan(String label, float a, float b) { argument 141 assertTrue(String.format("%s was %f, but should be more than %f", label, a, b), a >= b);
|
/frameworks/base/core/java/android/gesture/ |
H A D | InstanceLearner.java | 66 Double score = label2score.get(sample.label); 68 label2score.put(sample.label, weight);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES31Ext.spec | 8 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/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/ |
H A D | HeaderItemPresenter.java | 61 TextView label = (TextView) rootView.findViewById(R.id.header_label); 62 label.setText(headerItem.getName());
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/ |
H A D | HeaderItemPresenter.java | 61 TextView label = (TextView) rootView.findViewById(R.id.header_label); 62 label.setText(headerItem.getName());
|
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 147 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/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 454 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/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | RecentsTaskLoader.java | 437 // The cache is small, only clear the label cache when we are critical 448 * Returns the cached task label if the task key is not expired, updating the cache if it is. 453 // Return the task description label if it exists 457 // Return the cached activity label if it exists 458 String label = mActivityLabelCache.getAndInvalidateIfModified(taskKey); 459 if (label != null) { 460 return label; 462 // All short paths failed, load the label from the activity info and cache it 465 label = ssp.getBadgedActivityLabel(activityInfo, taskKey.userId); 466 mActivityLabelCache.put(taskKey, label); [all...] |
/frameworks/support/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/ |
H A D | SupportPreferenceDemos.java | 83 String label = labelSeq != null 87 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 89 String[] labelPath = label.split("/");
|
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/ |
H A D | SupportTransitionDemos.java | 81 String label = labelSeq != null 85 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 87 String[] labelPath = label.split("/");
|
/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/ |
H A D | SupportPreferenceDemos.java | 83 String label = labelSeq != null 87 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 89 String[] labelPath = label.split("/");
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/ |
H A D | SupportTransitionDemos.java | 81 String label = labelSeq != null 85 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { 87 String[] labelPath = label.split("/");
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 110 public CharSequence label; field in class:QSTile.State 124 || !Objects.equals(other.label, label) 137 other.label = label; 158 sb.append(",label=").append(label);
|