Home
last modified time | relevance | path

Searched refs:mLabel (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java34 private final String mLabel; field in KeyboardLayout
55 mLabel = label; in KeyboardLayout()
65 mLabel = source.readString(); in KeyboardLayout()
89 return mLabel; in getLabel()
136 dest.writeString(mLabel); in writeToParcel()
150 result = mLabel.compareToIgnoreCase(another.mLabel); in compareTo()
161 return mLabel; in toString()
163 return mLabel + " - " + mCollection; in toString()
/frameworks/base/core/java/android/view/inputmethod/
DCompletionInfo.java55 private final CharSequence mLabel; field in CompletionInfo
70 mLabel = null; in CompletionInfo()
91 mLabel = label; in CompletionInfo()
98 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in CompletionInfo()
131 return mLabel; in getLabel()
137 + "\" id=" + mId + " label=" + mLabel + "}"; in toString()
150 TextUtils.writeToParcel(mLabel, dest, flags); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileView.java42 protected TextView mLabel; field in QSTileView
75 return mLabel; in getLabel()
81 FontSizeUtils.updateFontSize(mLabel, R.dimen.qs_tile_text_size); in onConfigurationChanged()
95 mLabel = mLabelContainer.findViewById(R.id.tile_label); in createLabel()
110 if (mLabel.getLineCount() > MAX_LABEL_LINES || !TextUtils.isEmpty(mSecondLine.getText()) in onMeasure()
112 mLabel.setSingleLine(); in onMeasure()
120 if (!Objects.equals(mLabel.getText(), state.label) || mState != state.state) { in handleStateChanged()
121 mLabel.setTextColor(state.state == Tile.STATE_UNAVAILABLE ? mColorLabelUnavailable in handleStateChanged()
124 mLabel.setText(state.label); in handleStateChanged()
141 mLabel.setEnabled(!state.disabledByPolicy); in handleStateChanged()
/frameworks/base/core/java/android/content/
DClipDescription.java94 final CharSequence mLabel; field in ClipDescription
109 mLabel = label; in ClipDescription()
117 mLabel = o.mLabel; in ClipDescription()
175 return mLabel; in getLabel()
299 if (mLabel != null) { in toShortString()
305 b.append(mLabel); in toShortString()
350 if (mLabel != null) { in writeToProto()
351 proto.write(ClipDescriptionProto.LABEL, mLabel.toString()); in writeToProto()
370 TextUtils.writeToParcel(mLabel, dest, flags); in writeToParcel()
377 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in ClipDescription()
/frameworks/base/core/java/android/content/pm/permission/
DRuntimePermissionPresentationInfo.java42 private final CharSequence mLabel; field in RuntimePermissionPresentationInfo
54 mLabel = label; in RuntimePermissionPresentationInfo()
66 mLabel = parcel.readCharSequence(); in RuntimePermissionPresentationInfo()
90 return mLabel; in getLabel()
100 parcel.writeCharSequence(mLabel); in writeToParcel()
/frameworks/base/core/java/android/view/
DKeyboardShortcutGroup.java34 private final CharSequence mLabel; field in KeyboardShortcutGroup
45 mLabel = label; in KeyboardShortcutGroup()
65 mLabel = label; in KeyboardShortcutGroup()
82 mLabel = source.readCharSequence(); in KeyboardShortcutGroup()
91 return mLabel; in getLabel()
123 dest.writeCharSequence(mLabel); in writeToParcel()
DKeyboardShortcutInfo.java31 private final CharSequence mLabel; field in KeyboardShortcutInfo
52 mLabel = label; in KeyboardShortcutInfo()
84 mLabel = label; in KeyboardShortcutInfo()
93 mLabel = source.readCharSequence(); in KeyboardShortcutInfo()
105 return mLabel; in getLabel()
152 dest.writeCharSequence(mLabel); in writeToParcel()
/frameworks/base/core/java/android/util/
DTimingLogger.java64 private String mLabel; field in TimingLogger
97 mLabel = label; in reset()
143 Log.d(mTag, mLabel + ": begin"); in dumpToLog()
151 Log.d(mTag, mLabel + ": " + (now - prev) + " ms, " + splitLabel); in dumpToLog()
153 Log.d(mTag, mLabel + ": end, " + (now - first) + " ms"); in dumpToLog()
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java35 private final CharSequence mLabel; field in StatusHints
50 mLabel = label; in StatusHints()
70 return mLabel; in getLabel()
117 out.writeCharSequence(mLabel); in writeToParcel()
134 mLabel = in.readCharSequence(); in StatusHints()
152 return Objects.hashCode(mLabel) + Objects.hashCode(mIcon) + Objects.hashCode(mExtras); in hashCode()
DPhoneAccount.java387 private final CharSequence mLabel; field in PhoneAccount
408 Objects.equals(mLabel, that.mLabel) && in equals()
418 mHighlightColor, mLabel, mShortDescription, mSupportedUriSchemes, in hashCode()
434 private CharSequence mLabel; field in PhoneAccount.Builder
447 this.mLabel = label; in Builder()
462 mLabel = phoneAccount.getLabel(); in Builder()
480 this.mLabel = label; in setLabel()
663 mLabel, in build()
693 mLabel = label; in PhoneAccount()
787 return mLabel; in getLabel()
[all …]
/frameworks/base/core/java/android/permission/
DRuntimePermissionPresentationInfo.java42 private final @NonNull CharSequence mLabel; field in RuntimePermissionPresentationInfo
56 mLabel = label; in RuntimePermissionPresentationInfo()
87 return mLabel; in getLabel()
97 parcel.writeCharSequence(mLabel); in writeToParcel()
/frameworks/base/core/java/android/service/quicksettings/
DTile.java65 private CharSequence mLabel; field in Tile
142 return mLabel; in getLabel()
153 this.mLabel = label; in setLabel()
215 TextUtils.writeToParcel(mLabel, dest, flags); in writeToParcel()
227 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in readFromParcel()
/frameworks/base/core/java/android/app/
DRemoteInput.java119 private final CharSequence mLabel; field in RemoteInput
130 this.mLabel = label; in RemoteInput()
155 return mLabel; in getLabel()
218 private CharSequence mLabel; field in RemoteInput.Builder
244 mLabel = Notification.safeCharSequence(label); in setLabel()
363 return new RemoteInput(mResultKey, mLabel, mChoices, mFlags, mEditChoicesBeforeSending, in build()
370 mLabel = in.readCharSequence(); in RemoteInput()
556 out.writeCharSequence(mLabel); in writeToParcel()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java49 private final int mLabel; field in SpellCheckerInfo
137 mLabel = label; in SpellCheckerInfo()
146 mLabel = source.readInt(); in SpellCheckerInfo()
184 dest.writeInt(mLabel); in writeToParcel()
214 if (mLabel == 0 || pm == null) return ""; in loadLabel()
215 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo); in loadLabel()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java60 private String mLabel = null; field in InternalSelectionView
65 mLabel = label; in InternalSelectionView()
98 return mLabel; in getLabel()
273 if (mLabel != null) { in toString()
274 return mLabel; in toString()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java158 private String mLabel; field in PrintJobInfo
214 mLabel = other.mLabel; in PrintJobInfo()
235 mLabel = parcel.readString(); in PrintJobInfo()
290 return mLabel; in getLabel()
301 mLabel = label; in setLabel()
668 parcel.writeString(mLabel); in writeToParcel()
691 builder.append("label: ").append(mLabel); in toString()
DPrintAttributes.java798 public final @NonNull String mLabel; field in PrintAttributes.MediaSize
890 mLabel = label; in MediaSize()
927 return mLabel; in getLabel()
970 return new MediaSize(mId, mLabel, mPackageName, in asPortrait()
987 return new MediaSize(mId, mLabel, mPackageName, in asLandscape()
995 parcel.writeString(mLabel); in writeToParcel()
1047 builder.append(", label: ").append(mLabel); in toString()
1078 private final @NonNull String mLabel; field in PrintAttributes.Resolution
1112 mLabel = label; in Resolution()
1137 return mLabel; in getLabel()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java318 private final String mLabel; field in VCardEntry.PhoneData
328 mLabel = label; in PhoneData()
342 builder.withValue(Phone.LABEL, mLabel); in constructInsertOperation()
367 && TextUtils.equals(mLabel, phoneData.mLabel) in equals()
375 hash = hash * 31 + (mLabel != null ? mLabel.hashCode() : 0); in hashCode()
383 mLabel, mIsPrimary); in toString()
400 return mLabel; in getLabel()
412 private final String mLabel; field in VCardEntry.EmailData
418 mLabel = label; in EmailData()
432 builder.withValue(Email.LABEL, mLabel); in constructInsertOperation()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java59 private String mLabel; field in UninstallUninstalling
70 mLabel = getIntent().getStringExtra(EXTRA_APP_LABEL); in onCreate()
156 Toast.makeText(this, getString(R.string.uninstall_failed_app, mLabel), in onResult()
180 ((UninstallUninstalling) getActivity()).mLabel)); in onCreateDialog()
DInstallFailed.java46 private CharSequence mLabel; field in InstallFailed
113 mLabel = as.label; in onCreate()
150 .setMessage(getString(R.string.out_of_space_dlg_text, mActivity.mLabel)) in onCreateDialog()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java147 private EntryLabel mLabel; field in VCardEntryTests.MockEntryElementIterator
159 assertNull(mLabel); in onIterationStarted()
167 assertNull(mLabel); in onIterationEnded()
177 assertNull(mLabel); in onElementGroupStarted()
178 mLabel = label; in onElementGroupStarted()
185 assertNotNull(mLabel); in onElementGroupEnded()
186 mLabel = null; in onElementGroupEnded()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java176 public CharSequence mLabel; field in AccessibilityButtonChooserActivity.AccessibilityButtonTarget
182 this.mLabel = serviceInfo.getResolveInfo().loadLabel(context.getPackageManager()); in AccessibilityButtonTarget()
189 this.mLabel = context.getText(labelResId); in AccessibilityButtonTarget()
198 return mLabel; in getLabel()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java136 private final CharSequence mLabel; field in TvInputInfo
274 mLabel = label; in TvInputInfo()
469 } else if (!TextUtils.isEmpty(mLabel)) { in loadLabel()
470 return mLabel; in loadLabel()
565 && TextUtils.equals(mLabel, obj.mLabel) in equals()
600 TextUtils.writeToParcel(mLabel, dest, flags); in writeToParcel()
642 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in TvInputInfo()
690 private CharSequence mLabel; field in TvInputInfo.Builder
791 this.mLabel = label; in setLabel()
804 if (mLabel != null) { in setLabel()
[all …]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java123 mLabel = label; in TestResult()
134 final String mLabel; field in AutomaticActivity.TestResult
190 return lhs.mLabel.compareTo(rhs.mLabel); in logTestResultHash()
200 Log.d(LOG_TAG, String.format("%2.4f : %s", t.getAverage(), t.mLabel)); in logTestResultHash()
/frameworks/base/core/java/android/widget/
DTabHost.java621 private final CharSequence mLabel; field in TabHost.LabelIndicatorStrategy
624 mLabel = label; in LabelIndicatorStrategy()
636 tv.setText(mLabel); in createIndicatorView()
653 private final CharSequence mLabel; field in TabHost.LabelAndIconIndicatorStrategy
657 mLabel = label; in LabelAndIconIndicatorStrategy()
674 final boolean bindIcon = !exclusive || TextUtils.isEmpty(mLabel); in createIndicatorView()
676 tv.setText(mLabel); in createIndicatorView()

12