Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DYUVImage.java33 Point origin, in YUVImage() argument
44 int srcOffsetY = origin.x + origin.y * arrayWidth; in YUVImage()
51 int srcOffsetUV = origin.y / 2 * arrayWidth + origin.x / 2 * 2; in YUVImage()
60 int srcOffsetU = origin.y / 2 * arrayWidth / 2 + origin.x / 2; in YUVImage()
DExtractDecodeEditEncodeMuxTest.java550 public boolean onError(MediaPlayer origin, int what, int extra) { in extractDecodeEditEncodeMux()
560 public void onCompletion(MediaPlayer origin) { in extractDecodeEditEncodeMux()
/cts/libs/view/src/com/android/view/
DPosition.java62 public double arcAngleTo(Position other, Position origin) { in arcAngleTo() argument
64 double originToThisAngle = Math.atan2(origin.mY - mY, mX - origin.mX); in arcAngleTo()
65 double originToOtherAngle = Math.atan2(origin.mY - other.mY, other.mX - origin.mX); in arcAngleTo()
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java330 String origin, GeolocationPermissions.Callback callback) { in onGeolocationPermissionsShowPrompt() argument
332 callback.invoke(origin, mAccept, mRetain); in onGeolocationPermissionsShowPrompt()
385 for (String origin : mReceivedValue) { in check()
386 if (mExpectedValue.contains(origin)) continue; in check()
387 if (origin.endsWith("/")) { in check()
388 if (mExpectedValue.contains(origin.substring(0, origin.length() - 1))) { in check()
392 if (mExpectedValue.contains(origin + "/")) continue; in check()
DPostMessageTest.java137 private void verifyPostMessageToOrigin(Uri origin) throws Throwable { in verifyPostMessageToOrigin() argument
143 mOnUiThread.postWebMessage(message, origin); in verifyPostMessageToOrigin()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java191 private Integer origin; field in AuthorizationList
257 origin = Asn1Utils.getIntegerFromAsn1(value); in AuthorizationList()
381 origin = CborUtils.getInt(submodMap, key); in AuthorizationList()
503 public static String originToString(int origin) { in originToString() argument
504 switch (origin) { in originToString()
668 return origin; in getOrigin()
824 if (origin != null) { in toString()
825 s.append("\nOrigin: ").append(originToString(origin)); in toString()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1019 Point origin = getOrigin(frameCount, runId); in queueInputBufferEncoder() local
1021 int srcOffsetY = origin.x + origin.y * mBufferWidth; in queueInputBufferEncoder()
1029 int srcOffsetU = origin.y / 2 * mBufferWidth + origin.x / 2 * 2; in queueInputBufferEncoder()
1037 int srcOffsetU = origin.y / 2 * mBufferWidth / 2 + origin.x / 2; in queueInputBufferEncoder()
1073 Point origin = getOrigin(frameCount, runId); in queueInputImageEncoder() local
1077 origin, in queueInputImageEncoder()
1184 Point origin = getOrigin(outFrameCount, runId); in runDecoder() local
1202 getPixelValuesFromYUVBuffers(origin.x, origin.y, w, h, expected); in runDecoder()
1220 getPixelValuesFromYUVBuffers(origin.x, origin.y, w, h, expected); in runDecoder()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java757 SimpleUnion origin = SimpleUnion.b(intArray); in testRepeatSimpleUnion() local
758 SimpleUnion ret = mInterface.RepeatSimpleUnion(origin); in testRepeatSimpleUnion()