Searched refs:charArray (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | SignatureTest.java | 100 char[] charArray = signature.toChars(); in testSignatureToChars() local 101 String actualString = new String(charArray); in testSignatureToChars() 112 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsExistingArrayCorrectlySized() local 115 existingCharArray == charArray); in testSignatureToCharsExistingArrayCorrectlySized() 117 String actualString = new String(charArray); in testSignatureToCharsExistingArrayCorrectlySized() 131 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsExistingArrayTooSmall() local 134 existingCharArray == charArray); in testSignatureToCharsExistingArrayTooSmall() 136 String actualString = new String(charArray); in testSignatureToCharsExistingArrayTooSmall() 150 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsNullArrays() local 153 existingCharArray == charArray); in testSignatureToCharsNullArrays() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | PaintRunFlagTest.kt | 45 val charArray = CharArray(text.length) in assertSame_measureText_Result() constant 46 TextUtils.getChars(text, 0, text.length, charArray, 0) in assertSame_measureText_Result() 53 val measureTextCharArrayNoFlag = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result() 60 val measureTextCharArrayLeft = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result() 67 val measureTextCharArrayRight = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result() 74 val measureTextCharArrayWholeLine = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result() 93 val charArray = CharArray(text.length) in assertSame_getTextWidths_Result() constant 95 TextUtils.getChars(text, 0, text.length, charArray, 0) in assertSame_getTextWidths_Result() 107 assertThat(paint.getTextWidths(charArray, start, end - start, widthCharArrayNoFlag)) in assertSame_getTextWidths_Result() 120 assertThat(paint.getTextWidths(charArray, start, end - start, widthCharArrayLeft)) in assertSame_getTextWidths_Result() [all …]
|
D | SpannableStringBuilderTest.java | 847 final char[] charArray = new char[75000]; in testReplace_shouldNotThrowIndexOutOfBoundsExceptionForLongText() local 848 Arrays.fill(charArray, 'a'); in testReplace_shouldNotThrowIndexOutOfBoundsExceptionForLongText() 849 final String text = new String(charArray, 0, 50000); in testReplace_shouldNotThrowIndexOutOfBoundsExceptionForLongText() 850 final String copiedText = new String(charArray); in testReplace_shouldNotThrowIndexOutOfBoundsExceptionForLongText()
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | TextRunShaperTest.java | 145 char[] charArray = text.toCharArray(); in shapeText_twoAPISameResult() local 147 charArray, 0, charArray.length, 0, charArray.length, 0f, 0f, false, paint); in shapeText_twoAPISameResult()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 289 char[] charArray = mBundle.getCharArray(KEY1); in testGetCharArray() local 290 assertEquals('h', charArray[0]); in testGetCharArray() 291 assertEquals('i', charArray[1]); in testGetCharArray() 293 charArray = mBundle.getCharArray(KEY1); in testGetCharArray() 294 assertEquals('h', charArray[0]); in testGetCharArray() 295 assertEquals('i', charArray[1]); in testGetCharArray()
|