Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DStructArrayTest.java25 ScriptC_struct_array pad = new ScriptC_struct_array(mRS); in testStructArrays() local
30 pad.bind_s(S); in testStructArrays()
31 pad.invoke_verify(); in testStructArrays()
DStructPadTest.java27 ScriptC_struct_pad pad = new ScriptC_struct_pad(mRS); in testStructPadding() local
42 pad.set_s(I); in testStructPadding()
43 pad.invoke_verify(); in testStructPadding()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java201 int pad = (canvasHeight - scaledHeight) / 2; in drawContents() local
202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1); in drawContents()
207 float pad = (canvasWidth - scaledWidth) / 2; in drawContents() local
208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()
/cts/tools/dasm/src/java_cup/
DMain.java746 String pad; in timestr() local
758 pad = " "; in timestr()
760 pad = " "; in timestr()
762 pad = " "; in timestr()
764 pad = ""; in timestr()
770 return (neg ? "-" : "") + pad + sec + "." + in timestr()
/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java279 char[] pad = new char[READER_BUFFER_SIZE - 8]; in testBufferBoundary() local
280 Arrays.fill(pad, '5'); in testBufferBoundary()
281 String json = "[\"" + new String(pad) + "\",33333]"; in testBufferBoundary()
285 assertEquals(new String(pad), reader.nextString()); in testBufferBoundary()
291 char[] pad = new char[READER_BUFFER_SIZE - 8]; in testTruncatedBufferBoundary() local
292 Arrays.fill(pad, '5'); in testTruncatedBufferBoundary()
293 String json = "[\"" + new String(pad) + "\",33333"; in testTruncatedBufferBoundary()
298 assertEquals(new String(pad), reader.nextString()); in testTruncatedBufferBoundary()