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.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.java186 private Integer origin; field in AuthorizationList
248 origin = Asn1Utils.getIntegerFromAsn1(value); in AuthorizationList()
374 public static String originToString(int origin) { in originToString() argument
375 switch (origin) { in originToString()
535 return origin; in getOrigin()
678 if (origin != null) { in toString()
679 s.append("\nOrigin: ").append(originToString(origin)); in toString()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1045 Point origin = getOrigin(frameCount, runId); in queueInputBufferEncoder() local
1047 int srcOffsetY = origin.x + origin.y * mBufferWidth; in queueInputBufferEncoder()
1055 int srcOffsetU = origin.y / 2 * mBufferWidth + origin.x / 2 * 2; in queueInputBufferEncoder()
1063 int srcOffsetU = origin.y / 2 * mBufferWidth / 2 + origin.x / 2; in queueInputBufferEncoder()
1099 Point origin = getOrigin(frameCount, runId); in queueInputImageEncoder() local
1103 origin, in queueInputImageEncoder()
1210 Point origin = getOrigin(outFrameCount, runId); in runDecoder() local
1228 getPixelValuesFromYUVBuffers(origin.x, origin.y, w, h, expected); in runDecoder()
1246 getPixelValuesFromYUVBuffers(origin.x, origin.y, w, h, expected); in runDecoder()