Home
last modified time | relevance | path

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

123

/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()
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/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/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/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/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DTab.java33 private final String mText; field in Tab
40 mText = builder.mText; in Tab()
48 return mText; in getText()
71 private String mText = null; field in Tab.Builder
82 mText = text; in setText()
/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/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java70 protected CharSequence mText; field in ButtonDropTarget
93 mText = getText(); in onFinishInflate()
94 setContentDescription(mText); in onFinishInflate()
99 mText = getText(); in updateText()
100 setContentDescription(mText); in updateText()
131 message.setText(mText); in onDragEnter()
301 CharSequence newText = isVisible ? mText : ""; in setTextVisible()
317 CharSequence displayedText = TextUtils.ellipsize(mText, getPaint(), availableWidth, in isTextTruncated()
319 return !mText.equals(displayedText); in isTextTruncated()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DTemperatureBarOverlay.java76 private TextView mText; field in TemperatureBarOverlay
139 mText = findViewById(R.id.temperature_text); in onFinishInflate()
147 mText.setText(getContext().getString(R.string.hvac_temperature_template, in onFinishInflate()
159 mText.setAlpha(BUTTON_ALPHA_COLLAPSED); in onFinishInflate()
163 mText.setVisibility(GONE); in onFinishInflate()
190 list.add(getAlphaAnimator(mText, false /* fade */, EXPAND_ANIMATION_TIME_MS)); in getExpandAnimatons()
227 list.add(getAlphaAnimator(mText, true /* fade */, COLLAPSE_ANIMATION_TIME_MS)); in getCollapseAnimations()
262 mText.setVisibility(VISIBLE);
276 mText.setVisibility(GONE);
327 mText.setText(
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/widget/
DCarUiTextViewImpl.java46 private List<CarUiText> mText = Collections.emptyList(); field in CarUiTextViewImpl
74 mText = requireNonNull(textList); in setText()
86 mText = Collections.singletonList(requireNonNull(text)); in setText()
94 requireNonNull(mText); in updateText()
104 if (mText.stream().allMatch(line -> in updateText()
113 for (int i = 0; i < mText.size(); i++) { in updateText()
114 CarUiText line = mText.get(i); in updateText()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java79 private final String mText; field in MainActivity.OnClickMenuEntry
83 mText = text; in OnClickMenuEntry()
89 return mText; in getText()
119 private final String mText; field in MainActivity.FragmentMenuEntry
123 mText = text; in FragmentMenuEntry()
129 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/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/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/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonInfo.java45 private CharSequence mText; field in ActionButtonInfo
77 if (!TextUtils.equals(newText, mText)) { in setText()
78 mText = newText; in setText()
151 return mText; in getText()
187 mButtonTextView.setText(mText); in setUpButton()
231 return mIsVisible && (!TextUtils.isEmpty(mText) || mIcon != null); in shouldBeVisible()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DEditTextPreferenceDialogFragment.java47 private CharSequence mText; field in EditTextPreferenceDialogFragment
68 mText = getEditTextPreference().getText(); in onCreate()
70 mText = savedInstanceState.getCharSequence(SAVE_STATE_TEXT); in onCreate()
77 outState.putCharSequence(SAVE_STATE_TEXT, mText); in onSaveInstanceState()
92 mEditText.setText(mText); in onBindDialogView()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java47 private String mText; field in WifiTile
86 return mText; in getText()
116 mText = mContext.getString(stringId); in onWifiStateChanged()
119 mText = mContext.getString(R.string.wifi_settings); in onWifiStateChanged()
143 mText = wifiEntry.getSsid(); in updateWifiEntrySsid()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
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()
DState.java23 private String mText; field in State
36 mText = text; in State()
56 return mText; in getText()
60 mText = text; in setText()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java78 private final TextView mText; field in ContactDetailsViewHolder
107 mText = v.findViewById(R.id.text); in ContactDetailsViewHolder()
177 mText.setText(context.getString(R.string.primary_number_description, favoriteLabel)); in bind()
178 mText.setTextAppearance(R.style.TextAppearance_DefaultNumberLabel); in bind()
180 mText.setText(favoriteLabel); in bind()
181 mText.setTextAppearance(R.style.TextAppearance_ContactDetailsListSubtitle); in bind()
213 ViewUtils.setText(mText, postalAddress.getReadableLabel(resources)); in bind()
/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/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewData.java37 public final CharSequence mText; field in BrowseViewData
52 mText = null; in BrowseViewData()
65 mText = text; in BrowseViewData()
75 mText = null; in BrowseViewData()
/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/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()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBar.java193 private final String mText; field in SnackBar
210 mText = builder.mSnackBarMessage; in SnackBar()
246 return mText; in getMessageText()
307 if (mText == null) { in setUpTextLines()
311 mMessageView.setText(mText); in setUpTextLines()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DTestViewHolder.java29 private CharSequence mText; field in TestViewHolder
36 mText = text; in bind()
42 return mText; in getText()

123