Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 7 of 7) 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.java328 String origin, GeolocationPermissions.Callback callback) { in onGeolocationPermissionsShowPrompt() argument
330 callback.invoke(origin, mAccept, mRetain); in onGeolocationPermissionsShowPrompt()
383 for (String origin : mReceivedValue) { in check()
384 if (mExpectedValue.contains(origin)) continue; in check()
385 if (origin.endsWith("/")) { in check()
386 if (mExpectedValue.contains(origin.substring(0, origin.length() - 1))) { in check()
390 if (mExpectedValue.contains(origin + "/")) continue; in check()
DPostMessageTest.java117 private void verifyPostMessageToOrigin(Uri origin) throws Throwable { in verifyPostMessageToOrigin() argument
123 mOnUiThread.postWebMessage(message, origin); in verifyPostMessageToOrigin()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java181 private Integer origin; field in AuthorizationList
238 origin = Asn1Utils.getIntegerFromAsn1(value); in AuthorizationList()
352 public static String originToString(int origin) { in originToString() argument
353 switch (origin) { in originToString()
513 return origin; in getOrigin()
636 if (origin != null) { in toString()
637 s.append("\nOrigin: ").append(originToString(origin)); in toString()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1005 Point origin = getOrigin(frameCount, runId); in queueInputBufferEncoder() local
1007 int srcOffsetY = origin.x + origin.y * mBufferWidth; in queueInputBufferEncoder()
1015 int srcOffsetU = origin.y / 2 * mBufferWidth + origin.x / 2 * 2; in queueInputBufferEncoder()
1023 int srcOffsetU = origin.y / 2 * mBufferWidth / 2 + origin.x / 2; in queueInputBufferEncoder()
1059 Point origin = getOrigin(frameCount, runId); in queueInputImageEncoder() local
1063 origin, in queueInputImageEncoder()
1170 Point origin = getOrigin(outFrameCount, runId); in runDecoder() local
1188 getPixelValuesFromYUVBuffers(origin.x, origin.y, w, h, expected); in runDecoder()
1206 getPixelValuesFromYUVBuffers(origin.x, origin.y, w, h, expected); in runDecoder()