Home
last modified time | relevance | path

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

12

/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/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/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/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/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java78 private final String mText; field in MainActivity.OnClickMenuEntry
82 mText = text; in OnClickMenuEntry()
88 return mText; in getText()
118 private final String mText; field in MainActivity.FragmentMenuEntry
122 mText = text; in FragmentMenuEntry()
128 return mText; in getText()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java95 protected CharSequence mText; field in ButtonDropTarget
122 mText = getText(); in onFinishInflate()
124 setContentDescription(mText); in onFinishInflate()
129 mText = getText(); in updateText()
130 setContentDescription(mText); in updateText()
164 message.setText(mText); in onDragEnter()
373 CharSequence newText = isVisible ? mText : ""; in setTextVisible()
393 CharSequence displayedText = TextUtils.ellipsize(mText, getPaint(), availableWidth, in isTextTruncated()
395 return !mText.equals(displayedText); in isTextTruncated()
/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/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java64 private final TextView mText; field in ContactDetailsViewHolder
90 mText = v.findViewById(R.id.text); in ContactDetailsViewHolder()
162 mText.setText(context.getString(R.string.primary_number_description, favoriteLabel)); in bind()
163 mText.setTextAppearance(R.style.TextAppearance_DefaultNumberLabel); in bind()
165 mText.setText(favoriteLabel); in bind()
166 mText.setTextAppearance(R.style.TextAppearance_ContactDetailsListSubtitle); in bind()
198 ViewUtils.setText(mText, postalAddress.getReadableLabel(resources)); in bind()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/preference/
DEditTextPreferenceDialogFragment.java45 private CharSequence mText; field in EditTextPreferenceDialogFragment
65 mText = getEditTextPreference().getText(); in onCreate()
67 mText = savedInstanceState.getCharSequence(SAVE_STATE_TEXT); in onCreate()
74 outState.putCharSequence(SAVE_STATE_TEXT, mText); in onSaveInstanceState()
89 mEditText.setText(mText); in onBindDialogView()
/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/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java45 private String mText; field in WifiTile
83 return mText; in getText()
116 mText = mContext.getString(stringId); in onWifiStateChanged()
119 mText = mContext.getString(R.string.wifi_settings); in onWifiStateChanged()
143 mText = accessPoint.getConfigName(); in updateAccessPointSsid()
DBluetoothTile.java50 private String mText; field in BluetoothTile
71 mText = mContext.getString(R.string.bluetooth_settings_title);
102 mText = mContext.getString(R.string.bluetooth_settings_title); in BluetoothTile()
136 return mText; in getText()
/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/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java34 private String mText; field in UiCallLog
43 mText = text; in UiCallLog()
53 mText = text; in setText()
67 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/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java379 private final String mText; field in PsipData.Ac3AudioDescriptor
411 mText = text; in Ac3AudioDescriptor()
483 return mText; in getText()
514 mText, in toString()
583 private final String mText; field in PsipData.ShortEventDescriptor
588 mText = text; in ShortEventDescriptor()
604 mLanguage, mEventName, mText); in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java44 private String mText = null; field in BluetoothMapMessageListingElement
158 return mText; in getText()
162 this.mText = text; in setText()
318 if (mText != null) { in encode()
319 xmlMsgElement.attribute(null, "text", mText); in encode()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DMessage.java54 private final boolean mText; field in Message
114 mText = yesnoToBoolean(attrs.get("text")); in Message()
182 json.put("text", mText); in toString()
297 return mText; in isText()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java87 final public CharSequence mText; field in Event
118 mText = text; in Event()
258 return new Event(source.mEventType, source.mText, source.mCodePoint, source.mKeyCode, in createConsumedEvent()
315 return mText; in getTextToCommit()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderTextSelector.java31 private final TextView mText; field in HeaderTextSelector
37 mText = text; in HeaderTextSelector()
46 CharSequence value = mText.getText(); in onCreateActionMode()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkActivity.java94 private final String mText; field in KitchenSinkActivity.OnClickMenuEntry
98 mText = text; in OnClickMenuEntry()
104 return mText; in getText()
135 private final String mText; field in KitchenSinkActivity.FragmentMenuEntry
139 mText = text; in FragmentMenuEntry()
145 return mText; in getText()

12