Home
last modified time | relevance | path

Searched refs:mText (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DTextDrawable.java34 private final CharSequence mText; field in TextDrawable
37 mText = Objects.requireNonNull(label); in TextDrawable()
42 canvas.drawText(mText, 0, mText.length(), 0, 0, PAINT); in draw()
63 return mText.equals(((TextDrawable) obj).mText); in equals()
68 return mText.hashCode(); in hashCode()
73 return getClass().getSimpleName() + "[text=" + mText + ", id=" in toString()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java118 private final String mText; field in ExpectedKeyOutput.Text
120 Text(final String text) { mText = text; } in Text()
124 return newInstance(mText.toUpperCase(locale)); in toUpperCase()
129 return new CasePreservedText(mText); in preserveCase()
134 return mText.equals(text); in hasSameKeyOutput()
140 && mText.equals(key.getOutputText()); in hasSameKeyOutput()
146 && mText.equals(moreKeySpec.mOutputText); in hasSameKeyOutput()
151 return (output instanceof Text) && mText == ((Text)output).mText; in hasSameKeyOutput()
156 return mText; in toString()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/
DFormEditRecord.java80 private final String mText; field in FormEditRecord
95 this.mText = text; in FormEditRecord()
108 mText = in.readString(); in FormEditRecord()
157 return mText; in getText()
173 dest.writeString(mText); in writeToParcel()
189 && Objects.equals(mText, formEditRecord.mText) in equals()
196 Arrays.hashCode(mSelectedIndices), mText); in hashCode()
227 private String mText = null; field in FormEditRecord.Builder
270 mText, "Cannot construct SET_TEXT record without text."); in build()
274 mPageNumber, mWidgetIndex, mType, mClickPoint, mSelectedIndices, mText); in build()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DXMLNode.java36 private String mText; field in XMLNode
43 mText = null; in XMLNode()
70 mText = mTextBuilder.toString().trim(); in close()
83 return mText; in getText()
101 TextUtils.equals(mText, that.mText) && in equals()
107 return Objects.hash(mTag, mText, mChildren); in hashCode()
/packages/apps/Settings/src/com/android/settings/widget/
DHomepagePreferenceLayoutHelper.java31 private View mText; field in HomepagePreferenceLayoutHelper
69 if (mText != null && paddingStart >= 0) { in setTextPaddingStart()
70 mText.setPaddingRelative(paddingStart, mText.getPaddingTop(), mText.getPaddingEnd(), in setTextPaddingStart()
71 mText.getPaddingBottom()); in setTextPaddingStart()
77 mText = holder.findViewById(R.id.text_frame); in onBindViewHolder()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DFramedTextButton.java32 private String mText = null; field in FramedTextButton
57 mText = text; in setText()
95 mText = a.getString(R.styleable.ImageButtonTitle_android_text); in FramedTextButton()
99 return mText; in getText()
123 if (mText != null) { in onDraw()
127 float textWidth = gPaint.measureText(mText); in onDraw()
129 gPaint.getTextBounds(mText, 0, mText.length(), bounds); in onDraw()
133 canvas.drawText(mText, x, y, gPaint); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java77 protected CharSequence mText; field in ButtonDropTarget
108 mText = getText(); in onFinishInflate()
109 setContentDescription(mText); in onFinishInflate()
114 mText = getText(); in updateText()
115 setContentDescription(mText); in updateText()
120 mText = getText(); in updateText()
121 setContentDescription(mText); in updateText()
151 message.setText(mText); in onDragEnter()
334 CharSequence newText = isVisible ? mText : ""; in setTextVisible()
403 CharSequence firstLine = TextUtils.ellipsize(mText, getPaint(), availableWidth, in isTextTruncated()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java48 private final String mText; field in I18Name
54 mText = text; in I18Name()
99 return mText; in getText()
113 && TextUtils.equals(mText, that.mText); in equals()
119 result = 31 * result + mText.hashCode(); in hashCode()
125 return mText + ':' + mLocale.getLanguage(); in toString()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/content/
DPdfPageTextContent.java35 private final String mText; field in PdfPageTextContent
48 this.mText = text; in PdfPageTextContent()
64 this.mText = text; in PdfPageTextContent()
69 mText = in.readString(); in PdfPageTextContent()
93 return mText; in getText()
117 dest.writeString(mText); in writeToParcel()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java68 private final String mText; field in MainActivity.OnClickMenuEntry
72 mText = text; in OnClickMenuEntry()
78 return mText; in getText()
108 private final String mText; field in MainActivity.FragmentMenuEntry
112 mText = text; in FragmentMenuEntry()
118 return mText; in getText()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/
DMainActivity.java72 private final String mText; field in MainActivity.OnClickMenuEntry
76 mText = text; in OnClickMenuEntry()
82 return mText; in getText()
113 private final String mText; field in MainActivity.FragmentMenuEntry
117 mText = text; in FragmentMenuEntry()
123 return mText; in getText()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java104 private String mText; field in MessagePartData
161 mText = messageText; in MessagePartData()
241 mText = cursor.getString(INDEX_TEXT); in bind()
252 values.put(PartColumns.TEXT, mText); in populate()
273 if (mText != null) { in getInsertStatement()
274 insert.bindString(INDEX_TEXT, mText); in getInsertStatement()
297 return mText; in getText()
364 mText = in.readString(); in MessagePartData()
375 dest.writeString(mText); in writeToParcel()
395 TextUtils.equals(mText, lhs.mText) && in equals()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DModeSelectorItem.java45 private TextView mText; field in ModeSelectorItem
73 mText = (TextView) findViewById(R.id.selector_text); in onFinishInflate()
82 mText.setTypeface(typeface); in onFinishInflate()
124 mText.setTranslationX(0); in onSwipeModeChanged()
128 mText.setText(text); in setText()
272 mText.setAlpha(alpha); in setTextAlpha()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceIssue.java840 @NonNull private final CharSequence mText; field in SafetySourceIssue.Action.ConfirmationDialogDetails
850 mText = requireNonNull(text); in ConfirmationDialogDetails()
864 return mText; in getText()
887 TextUtils.writeToParcel(mText, dest, flags); in writeToParcel()
898 && TextUtils.equals(mText, that.mText) in equals()
905 return Objects.hash(mTitle, mText, mAcceptButtonText, mDenyButtonText); in hashCode()
914 + mText in toString()
1061 @NonNull private final CharSequence mText; field in SafetySourceIssue.Notification
1069 mText = text; in Notification()
1088 return mText; in getText()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DFilesPlusTextContentPreviewUi.java55 private final CharSequence mText; field in FilesPlusTextContentPreviewUi
93 mText = text; in FilesPlusTextContentPreviewUi()
191 headline = mHeadlineGenerator.getImagesWithTextHeadline(mText, fileCount); in updateHeadline()
193 headline = mHeadlineGenerator.getVideosWithTextHeadline(mText, fileCount); in updateHeadline()
195 headline = mHeadlineGenerator.getFilesWithTextHeadline(mText, fileCount); in updateHeadline()
217 boolean isLink = HttpUriMatcher.isHttpUri(mText.toString()); in prepareTextPreview()
219 textView.setText(mText); in prepareTextPreview()
227 textView.setText(mText); in prepareTextPreview()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DState.java23 private String mText; field in State
36 mText = text; in State()
56 return mText; in getText()
60 mText = text; in setText()
DStateView.java49 private String mText = "Default"; field in StateView
89 return mText; in getText()
93 mText = text; in setText()
112 if (mText == null) { in drawText()
127 mPaint.getTextBounds(mText, 0, mText.length(), mTextBounds); in drawText()
130 canvas.drawText(mText, x, y, mPaint); in drawText()
283 mText = mState.getText().toUpperCase(); in setState()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonInfo.java46 private CharSequence mText; field in ActionButtonInfo
78 if (!TextUtils.equals(newText, mText)) { in setText()
79 mText = newText; in setText()
152 return mText; in getText()
188 mButtonTextView.setText(mText); in setUpButton()
232 return mIsVisible && (!TextUtils.isEmpty(mText) || mIcon != null); in shouldBeVisible()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/
DSortedArrayAdapterTest.java204 return "TestData[" + mId + "]{" + mText + '}'; in toString()
212 private final String mText; field in SortedArrayAdapterTest.TestData
216 this.mText = second; in TestData()
224 return mId == that.mId && Objects.equals(mText, that.mText); in equals()
229 return Objects.hash(mId, mText); in hashCode()
239 return lhs.mText.compareTo(rhs.mText);
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DBackgroundSurfaceView.java47 private String mText; field in BackgroundSurfaceView
104 if (mText != null) { in drawSurface()
111 canvas.drawText(mText, xPos, yPos, paint); in drawSurface()
126 mText = text; in setText()
132 mText = text; in setFixedColorAndText()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/jni/
DPageSelection.java49 private final String mText; field in PageSelection
57 this.mText = text; in PageSelection()
77 return mText; in getText()
83 PdfPageTextContent selectedTextContent = new PdfPageTextContent(mText, in convert()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DTextDrawable.java36 private final CharSequence[] mText; field in TextDrawable
47 mText = text; in TextDrawable()
96 int n = mText.length; in draw()
101 CharSequence text = mText[i]; in draw()
110 writer.printf("%smText: %s\n", prefix, Arrays.toString(mText)); in dump()
/packages/apps/Tag/src/com/android/apps/tag/record/
DTextRecord.java46 private final String mText; field in TextRecord
50 mText = Preconditions.checkNotNull(text); in TextRecord()
56 text.setText(mText); in getView()
62 return mText; in getSnippet()
66 return mText; in getText()
/packages/services/Telephony/src/com/android/phone/settings/
DTextViewPreference.java42 private CharSequence mText; field in TextViewPreference
113 } else if (mText != null) { in onBindView()
114 setTitle(mText); in onBindView()
128 mText = text; in setTitle()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ui/
DTextBlockView.java24 private CharSequence mText; field in TextBlockView
32 mText = text; in TextBlockView()
45 return mText; in getText()

123