Home
last modified time | relevance | path

Searched refs:TEXT (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DScaledTextActivity.java47 private static final String TEXT = "Hello libhwui! "; field in ScaledTextActivity.ScaledTextView
97 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
99 canvas.drawText(TEXT, 30.0f, 50.0f, mPaint); in onDraw()
101 canvas.drawText(TEXT, 30.0f, 70.0f, mPaint); in onDraw()
108 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
111 canvas.drawText(TEXT, 30.0f, 50.0f, mPaint); in onDraw()
113 canvas.drawText(TEXT, 30.0f, 70.0f, mPaint); in onDraw()
121 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
127 canvas.drawText(TEXT, 30.0f, 30.0f, mShadowPaint); in onDraw()
132 float width = mPaint.measureText(TEXT); in onDraw()
[all …]
DNoAATextActivity.java38 private static final String TEXT = "Hello libhwui!"; field in NoAATextActivity.ScaledNoAA
54 canvas.drawText(TEXT, 30.0f, 150.0f, mPaint); in onDraw()
DRotate3dTextActivity.java60 private static final String TEXT = "Hello libhwui! "; field in Rotate3dTextActivity.Rotate3dTextView
79 canvas.drawText(TEXT, getWidth() / 2.0f, getHeight() / 2.0f, mPaint); in onDraw()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/
DTemplateClassificationIntentFactoryTest.java50 private static final String TEXT = "text"; field in TemplateClassificationIntentFactoryTest
93 TEXT, in create_foreignText()
134 TEXT, in create_notForeignText()
170 TEXT, in create_nullTemplate() local
177 same(InstrumentationRegistry.getContext()), eq(TEXT), eq(false), eq(null), in create_nullTemplate()
205 TEXT, in create_emptyResult() local
212 any(Context.class), eq(TEXT), eq(false), eq(null), in create_emptyResult()
DLegacyIntentClassificationFactoryTest.java40 private static final String TEXT = "text"; field in LegacyIntentClassificationFactoryTest
73 TEXT, in create_typeDictionary()
82 assertThat(intent.getStringExtra(Intent.EXTRA_TEXT)).isEqualTo(TEXT); in create_typeDictionary()
109 TEXT, in create_translateAndDictionary()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp120 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
285 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
308 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
314 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
321 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
327 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
333 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
377 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
383 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
389 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java115 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownload()
154 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null); in testDownloadToExternal_fileExists()
155 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists()
193 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal()
224 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory()
252 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes in testGetDownloadIdOnNotification()
302 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testRelativeRedirect()
371 byte[] blobData = generateData(fileSize, DataType.TEXT); in testDownloadNoWifi()
402 byte[] blobData = generateData(25000, DataType.TEXT); // file size = 25000 bytes in testServerDropConnection_body()
DDownloadManagerStressTest.java83 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads()
125 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testDownloadLargeFile()
198 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParserTest.java61 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
65 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
68 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
74 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
80 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
/frameworks/compile/mclinker/lib/LD/
DELFFileFormat.cpp70 LDFileFormat::TEXT, in initStdSections()
77 LDFileFormat::TEXT, in initStdSections()
105 LDFileFormat::TEXT, in initStdSections()
117 LDFileFormat::TEXT, in initStdSections()
138 LDFileFormat::TEXT, in initStdSections()
DBranchIslandFactory.cpp43 if (((*sect)->kind() == LDFileFormat::TEXT) && (*sect)->hasSectionData()) { in group()
DELFObjectReader.cpp172 (*section)->setKind(LDFileFormat::TEXT); in readSections()
203 case LDFileFormat::TEXT: in readSections()
DIdenticalCodeFolding.cpp128 case LDFileFormat::TEXT: { in findCandidates()
135 if (target->kind() == LDFileFormat::TEXT) { in findCandidates()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DErrorDialogFragment.java30 public static final String TEXT = "com.android.packageinstaller.arg.text"; field in ErrorDialogFragment
35 .setMessage(getArguments().getInt(TEXT)) in onCreateDialog()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DErrorFragment.java32 public static final String TEXT = "com.android.packageinstaller.arg.text"; field in ErrorFragment
43 getString(getArguments().getInt(TEXT)), in onCreateGuidance()
/frameworks/base/core/java/android/content/
DUriMatcher.java207 return new UriMatcher(TEXT, "*");
259 case TEXT:
277 private static final int TEXT = 2;
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DRecycleAccessibilityEventTest.java28 private static final String TEXT = "Some stuff"; field in RecycleAccessibilityEventTest
49 first.getText().add(TEXT); in testAccessibilityEventViewTextChangedType()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java40 private static final String TEXT = "Hello There"; field in TestEnrollmentActivity
59 Keyphrase kp = new Keyphrase(KEYPHRASE_ID, RECOGNITION_MODES, BCP47_LOCALE, TEXT, in onEnrollButtonClicked()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java331 case TEXT: in eventTypeToString()
368 if (eventType == TEXT) { in nextText()
390 if (eventType == TEXT && isWhitespace()) { // skip whitespace in nextTag()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java93 resolvedRef, ViewAttribute.TEXT, tv.getText().toString()); in fillView()
95 if (value.getClass() != ViewAttribute.TEXT.getAttributeClass()) { in fillView()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp52 m_pSection = LDSection::Create(pName, LDFileFormat::TEXT, 0, 0); in Input()
64 m_pSection = LDSection::Create("", LDFileFormat::TEXT, 0, 0); in Input()
88 m_pSection = LDSection::Create(pName, LDFileFormat::TEXT, 0, 0); in Output()
100 m_pSection = LDSection::Create(m_Name, LDFileFormat::TEXT, 0, 0); in Output()
/frameworks/compile/mclinker/include/mcld/LD/
DLDFileFormat.h27 TEXT, // Executable regular sections enumerator
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java61 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in PersistentPreferredActivity()
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DMetrics.java63 mLogs.addTestLog(label, LogDataType.TEXT, dataStream); in logText()
/frameworks/base/core/java/android/app/
DAliasActivity.java108 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in parseAlias()

12345