Home
last modified time | relevance | path

Searched refs:mText (Results 1 – 25 of 43) 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.java91 private String mText; field in MessagePartData
148 mText = messageText; in MessagePartData()
228 mText = cursor.getString(INDEX_TEXT); in bind()
239 values.put(PartColumns.TEXT, mText); in populate()
260 if (mText != null) { in getInsertStatement()
261 insert.bindString(INDEX_TEXT, mText); in getInsertStatement()
284 return mText; in getText()
346 mText = in.readString(); in MessagePartData()
357 dest.writeString(mText); in writeToParcel()
377 TextUtils.equals(mText, lhs.mText) && in equals()
[all …]
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportPreviewActivity.java22 private TextView mText; field in BugReportPreviewActivity
29 mText = (TextView) findViewById(R.id.preview); in onCreate()
32 mText.setText(icicle.getString("text")); in onCreate()
50 mText.setText(text); in onCreate()
53 mText.setText("Unable to open file: " + uri + ": " + fnfe); in onCreate()
57 mText.setText("Unable to process log: " + ioe); in onCreate()
73 CharSequence text = mText.getText(); in onSaveInstanceState()
75 icicle.putString("text", mText.getText().toString()); in onSaveInstanceState()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DTemperatureBarOverlay.java74 private TextView mText; field in TemperatureBarOverlay
138 mText = (TextView) findViewById(R.id.temperature_text); in onFinishInflate()
146 mText.setText(getContext().getString(R.string.hvac_temperature_template, in onFinishInflate()
158 mText.setAlpha(BUTTON_ALPHA_COLLAPSED); in onFinishInflate()
162 mText.setVisibility(GONE); in onFinishInflate()
188 list.add(getAlphaAnimator(mText, false /* fade */, EXPAND_ANIMATION_TIME_MS)); in getExpandAnimatons()
225 list.add(getAlphaAnimator(mText, true /* fade */, COLLAPSE_ANIMATION_TIME_MS)); in getCollapseAnimations()
260 mText.setVisibility(VISIBLE);
274 mText.setVisibility(GONE);
315 mText.setText(getContext().getString(R.string.hvac_temperature_template, mTemperature));
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ui/
DSortedArrayAdapterTest.java151 return "TestData[" + mId + "]{" + mText + '}'; in toString()
159 private final String mText; field in SortedArrayAdapterTest.TestData
163 this.mText = second; in TestData()
171 return mId == that.mId && Objects.equals(mText, that.mText); in equals()
176 return Objects.hash(mId, mText); in hashCode()
185 return lhs.mText.compareTo(rhs.mText);
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DWeightWatcher.java133 TextView mText; field in WeightWatcher.ProcessWatcher
146 mText = new TextView(getContext()); in ProcessWatcher()
147 mText.setTextColor(TEXT_COLOR); in ProcessWatcher()
148 mText.setTextSize(TypedValue.COMPLEX_UNIT_PX, 10 * dp); in ProcessWatcher()
149 mText.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in ProcessWatcher()
162 addView(mText, params); in ProcessWatcher()
214 mText.setText("(" + mPid in update()
/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/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/EmergencyInfo/src/com/android/emergency/preferences/
DAutoCompleteEditTextPreference.java52 private String mText; field in AutoCompleteEditTextPreference
109 final boolean changed = !TextUtils.equals(mText, text); in setText()
111 mText = text; in setText()
140 return mText; in getText()
193 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue); in onSetInitialValue()
198 return TextUtils.isEmpty(mText) || super.shouldDisableDependents(); in shouldDisableDependents()
/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/Messenger/src/com/android/car/messenger/
DMapMessage.java34 private String mText; field in MapMessage
85 mText = text; in MapMessage()
130 return mText; in getText()
139 ", mText='" + mText + '\'' + in toString()
/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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java45 private String mText = null; field in BluetoothMapMessageListingElement
159 return mText; in getText()
163 this.mText = text; in setText()
306 if(mText != null) in encode()
307 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/UnifiedEmail/src/com/android/mail/ui/
DConversationTipView.java57 private TextView mText; field in ConversationTipView
96 mText = (TextView) mContent.findViewById(R.id.conversation_tip_text); in setupViews()
105 mText.setOnClickListener(getTextAreaOnClickListener()); in setupViews()
139 mText.setText(text); in setText()
DLeaveBehindItem.java46 private TextView mText; field in LeaveBehindItem
122 mText = ((TextView) findViewById(R.id.undo_description_text)); in bind()
123 mText.setText(Utils.convertHtmlToPlainText(mUndoOp in bind()
125 mText.setOnClickListener(this); in bind()
DConversationListEmptyView.java37 private TextView mText; field in ConversationListEmptyView
52 mText = (TextView) findViewById(R.id.empty_text); in onFinishInflate()
68 EmptyStateUtils.bindEmptyFolderText(mText, folder, getResources(), searchQuery, in setupEmptyText()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java50 private String mText; field in IconView
151 mText = text; in setText()
155 return mText; in getText()
172 return mText; in getContentDescription()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/
DDrawerItemViewHolder.java34 private final TextView mText; field in DrawerItemViewHolder
45 mText = (TextView)view.findViewById(R.id.text); in DrawerItemViewHolder()
70 return mText; in getText()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java580 public String mText; field in DatabaseMessages.MmsPart
598 mText = cursor.getString(INDEX_TEXT); in load()
647 if (!TextUtils.isEmpty(mText)) { in loadText()
648 data = getStringBytes(mText, mCharset); in loadText()
681 mText = getDecodedString(data, mCharset); in loadText()
836 mText = in.readString(); in MmsPart()
862 out.writeString(mText); in writeToParcel()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DEmailCopyContextMenu.java66 private final CharSequence mText; field in EmailCopyContextMenu.Copy
69 mText = text; in Copy()
74 copy(mText); in onMenuItemClick()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java32 private final String mText; field in StringTexture
39 mText = text; in StringTexture()
85 canvas.drawText(mText, 0, 0, mPaint); in onDraw()

12