Home
last modified time | relevance | path

Searched refs:trailing (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java62 byte[] trailing = Arrays.copyOfRange(out, in testSendCardManagerApdu()
65 assertByteArrayEquals(SELECT_CARD_MANAGER_RESPONSE, trailing); in testSendCardManagerApdu()
80 byte[] trailing = Arrays.copyOfRange(out, in testSendCardManagerApduMultiple()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DMemoryStatUtilTest.java329 byte[] trailing = new byte[] {0x74, 0x65, 0x73, 0x74, 0x00, 0x00, 0x00}; // test\0\0\0 in testParseCmdlineFromProcfs_correctValue_withNullBytes()
331 assertEquals("test", parseCmdlineFromProcfs(bytesToString(trailing))); in testParseCmdlineFromProcfs_correctValue_withNullBytes()
336 assertEquals("test", parseCmdlineFromProcfs(bytesToString(trailing))); in testParseCmdlineFromProcfs_correctValue_withNullBytes()
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java116 private void assertMeasurements(final TextLine tl, final int length, boolean trailing, in assertMeasurements() argument
119 assertEquals(expected[offset], tl.measure(offset, trailing, null), 0.0f); in assertMeasurements()
123 Arrays.fill(trailings, trailing); in assertMeasurements()
/frameworks/base/cmds/idmap2/
DAndroid.bp21 "-modernize-use-trailing-return-type",
29 "-modernize-use-trailing-return-type",
/frameworks/base/core/java/android/text/
DTextLine.java350 public float measure(@IntRange(from = 0) int offset, boolean trailing, in measure() argument
356 final int target = trailing ? offset - 1 : offset; in measure()
408 public float[] measureAllOffsets(boolean[] trailing, FontMetricsInt fmi) {
413 target[offset] = trailing[offset] ? offset - 1 : offset;
549 boolean trailing = false;
591 trailing = true;
611 if (cursor != (advance ? runLimit : runStart) || advance != trailing) {
DLayout.java1116 boolean[] trailing = new boolean[lineEnd - lineStart + 1]; in primaryIsTrailingPreviousAllLineOffsets()
1135 trailing[start - lineStart] = currentLevel > (start == lineStart in primaryIsTrailingPreviousAllLineOffsets()
1140 return trailing; in primaryIsTrailingPreviousAllLineOffsets()
1159 boolean trailing = primaryIsTrailingPrevious(offset); in getPrimaryHorizontal()
1160 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()
1179 boolean trailing = primaryIsTrailingPrevious(offset); in getSecondaryHorizontal()
1180 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()
1187 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument
1190 return getHorizontal(offset, trailing, line, clamped); in getHorizontal()
1193 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() argument
[all …]
/frameworks/base/core/proto/android/content/
Dintent.proto78 // without the trailing colon (for example, http, rather than http:). If the
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp186 size_t trailing = host->size() - colonOffset; in ParseURL() local
187 host->erase(colonOffset, trailing); in ParseURL()
/frameworks/minikin/doc/
Dhyb_file_format.md39 an array with a 3-tuple for each pattern (length, number of trailing 0's, and offset
/frameworks/base/tools/aapt2/
Dreadme.md19 - Fixed issue where ints and floats with trailing whitespace would not be parsed. (bug 62902869)
/frameworks/ml/nn/tools/api/
Dtypes.spec245 * input operands. It starts with the trailing dimensions, and works its
1765 * of the input operands. It starts with the trailing dimensions, and works
2446 * input operands. It starts with the trailing dimensions, and works its way
4749 * the trailing dimensions, and works its way forward.
4784 * input operands. It starts with the trailing dimensions, and works its way