Home
last modified time | relevance | path

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

12

/packages/apps/Mms/src/com/android/mms/model/
DTextModel.java34 private CharSequence mText; field in TextModel
52 mText = extractTextFromData(data); in TextModel()
73 if (mText == null) { in getText()
74 mText = extractTextFromData(getData()); in getText()
80 if (!(mText instanceof String)) { in getText()
81 mText = mText.toString(); in getText()
84 return mText.toString(); in getText()
88 mText = text; in setText()
93 mText = new String(mText.toString()); in cloneText()
DSlideModel.java46 private MediaModel mText; field in SlideModel
106 internalAddOrReplace(mText, media); in internalAdd()
107 mText = media; in internalAdd()
180 mText = null; in internalRemove()
302 mText = null; in clear()
480 return mText != null; in hasText()
496 return remove(mText); in removeText()
516 return (TextModel) mText; in getText()
/packages/apps/Gallery2/src/com/android/camera/drawable/
DTextDrawable.java37 private CharSequence mText; field in TextDrawable
47 mText = text; in TextDrawable()
52 mIntrinsicWidth = (int) (mPaint.measureText(mText, 0, mText.length()) + .5); in TextDrawable()
72 mText = txt; in setText()
77 mIntrinsicWidth = (int) (mPaint.measureText(mText, 0, mText.length()) + .5); in setText()
84 if (mText != null) { in draw()
86 canvas.drawText(mText, 0, mText.length(), in draw()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DQuickResponse.java45 private String mText; field in QuickResponse
70 mText = in.readString(); in QuickResponse()
80 mText = quickResponse; in QuickResponse()
90 mText = cursor.getString(CONTENT_QUICK_RESPONSE_COLUMN); in restore()
101 values.put(QuickResponseColumns.TEXT, mText); in toContentValues()
109 return mText; in toString()
173 mText.equals(that.mText) && in equals()
180 return Objects.hashCode(mId, mText, mAccountKey); in hashCode()
197 dest.writeString(mText); in writeToParcel()
DEmailContent.java737 transient public String mText; field in EmailContent.Message
894 if (mText == null && mHtml == null && mTextReply == null && mHtmlReply == null && in save()
954 if (mText != null) { in addSaveOps()
955 mSnippet = TextUtilities.makeSnippetFromPlainText(mText); in addSaveOps()
963 if (mText != null) { in addSaveOps()
964 cv.put(Body.TEXT_CONTENT, mText); in addSaveOps()
/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/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/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java49 private String mText = "Default"; field in StateView
85 return mText; in getText()
89 mText = text; in setText()
126 if (mText == null) { in drawText()
141 mPaint.getTextBounds(mText, 0, mText.length(), mTextBounds); in drawText()
144 canvas.drawText(mText, x, y, mPaint); in drawText()
277 mText = mState.getText().toUpperCase(); in setState()
DState.java22 private String mText; field in State
35 mText = text; in State()
52 return mText; in getText()
56 mText = text; in setText()
/packages/apps/Contacts/src/com/android/contacts/widget/
DTextHighlightingAnimation.java61 private CharArrayBuffer mText; field in TextHighlightingAnimation.TextWithHighlightingImpl
71 mText = baseText; in setText()
74 mString = new String(mText.data, 0, mText.sizeCopied); in setText()
117 return mText.data[index]; in charAt()
121 return mText.sizeCopied; in length()
126 return new String(mText.data, start, end); in subSequence()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java103 message.mText = text; in createTestMessage()
135 message1.mText = TEXT; in testBuildBodyText()
168 message2.mText = TEXT; in testBuildBodyText()
201 msg.mText = TEXT; in testBuildBodyTextWithForward()
218 msg.mText = TEXT; in testWriteToText()
244 msg.mText = TEXT; in testWriteToAlternativePart()
289 msg.mText = TEXT; in testWriteToMixedPart()
363 message.mText = "<>&'\""; in testGetHtmlAlternate()
372 message.mText = "dos\r\nunix\nthree\r\n\n\n"; in testGetHtmlAlternate()
/packages/apps/Camera/src/com/android/camera/drawable/
DTextDrawable.java36 private CharSequence mText; field in TextDrawable
41 mText = text; in TextDrawable()
48 mIntrinsicWidth = (int) (mPaint.measureText(mText, 0, mText.length()) + .5); in TextDrawable()
55 canvas.drawText(mText, 0, mText.length(), in draw()
/packages/apps/Email/src/com/android/email/activity/
DMessageListItem.java123 public SpannableStringBuilder mText; field in MessageListItem
250 mText = ssb; in setText()
316 if (mText == null || mText.length() == 0) { in calculateSubjectText()
324 mText.setSpan(new ForegroundColorSpan(subjectColor), 0, mSubject.length(), in calculateSubjectText()
331 mText.setSpan(new ForegroundColorSpan(snippetColor), snippetStart, mText.length(), in calculateSubjectText()
339 mSubjectLayout = new StaticLayout(mText, sDefaultPaint, in calculateDrawingData()
344 mSubjectLayout = new StaticLayout(mText.subSequence(0, end), in calculateDrawingData()
DMessageCompose.java852 message.mText = body.mTextContent; in resumeDraft()
900 mMessageContentView.setText(message.mText); in processDraftMessage()
922 message.mText = body.mTextContent; in loadSourceMessage()
1260 message.mText = mMessageContentView.getText().toString(); in updateMessage()
1273 message.mTextReply = mSource.mText; in updateMessage()
1341 values.put(BodyColumns.TEXT_CONTENT, mDraft.mText); in doInBackground()
2216 displayQuotedText(message.mText, message.mHtml); in processSourceMessage()
2225 displayQuotedText(message.mText, message.mHtml); in processSourceMessage()
/packages/apps/Mms/src/com/android/mms/data/
DWorkingMessage.java131 private CharSequence mText; field in WorkingMessage
209 mText = ""; in WorkingMessage()
359 mText = s; in setText()
366 return mText; in getText()
374 return mText != null && TextUtils.getTrimmedLength(mText) > 0; in hasText()
734 text.setText(mText); in syncTextToSlideshow()
752 mText = slide.getText().getText(); in syncTextFromSlideshow()
886 String content = mText.toString(); in saveDraft()
959 bundle.putString("sms_body", mText.toString()); in writeStateToBundle()
982 mText = body; in readStateFromBundle()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DStreamItemEntry.java40 private final String mText; field in StreamItemEntry
71 mText = text; in StreamItemEntry()
87 mText = getString(cursor, StreamItems.TEXT); in StreamItemEntry()
113 return mText; in getText()
161 if (mText != null) { in decodeHtml()
162 mDecodedText = HtmlUtils.fromHtml(context, mText, imageGetter, null); in decodeHtml()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DEmailSyncAdapter.java574 msg.mText = text;
621 msg.mText != null ? msg.mText : msg.mHtml);
637 msg.mText = CalendarUtilities.buildMessageTextFromEntityValues(
639 msg.mHtml = Html.toHtml(new SpannedString(msg.mText));
788 msg.mText = body;
813 msg.mText = tempBody.mTextContent;
1160 if (msg.mText != null && (maxPerFetch > 0) &&
1161 (msg.mText.length() > maxPerFetch)) {
1163 msg.mText = msg.mText.substring(0, maxPerFetch) + "...";
1172 .withValue(Body.TEXT_CONTENT, msg.mText)
/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/Contacts/tests/src/com/android/contacts/util/
DStreamItemEntryBuilder.java26 private String mText; field in StreamItemEntryBuilder
39 mText = value; in setText()
64 StreamItemEntry ret = StreamItemEntry.createForTest(mId, mText, mComment, mTimestamp, in build()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java33 private final String mText; field in StringTexture
40 mText = text; in StringTexture()
86 canvas.drawText(mText, 0, 0, mPaint); in onDraw()
/packages/apps/Browser/src/com/android/browser/
DController.java2162 private CharSequence mText; field in Controller.Copy
2166 copy(mText); in onMenuItemClick()
2171 mText = toCopy; in Copy()
2177 private String mText; field in Controller.Download
2185 if (DataUri.isDataUri(mText)) { in onMenuItemClick()
2188 DownloadHandler.onDownloadStartNoStream(mActivity, mText, mUserAgent, in onMenuItemClick()
2197 mText = toDownload; in Download()
2209 DataUri uri = new DataUri(mText); in saveDataUri()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java196 message.mText = "body text " + name; in setupMessage()
419 assertEquals(caller + " mText", expect.mText, actual.mText); in assertMessageEqual()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java314 assertNotNull(msg.mText); in testCreateMessageForEntity_Reply()
315 assertTrue(msg.mText.contains(resources.getString(R.string.meeting_where, ""))); in testCreateMessageForEntity_Reply()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java304 assertNotNull(msg.mText); in testCreateMessageForEntity_Reply()
305 assertTrue(msg.mText.contains(resources.getString(R.string.meeting_where, ""))); in testCreateMessageForEntity_Reply()
/packages/apps/Email/tests/src/com/android/email/activity/
DMessageFileViewTest.java61 msg.mText = text; in createEmlFile()

12