Searched refs:origin (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | YUVImage.java | 33 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()
|
D | ExtractDecodeEditEncodeMuxTest.java | 550 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/ |
D | Position.java | 62 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/ |
D | GeolocationTest.java | 330 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()
|
D | PostMessageTest.java | 137 private void verifyPostMessageToOrigin(Uri origin) throws Throwable { in verifyPostMessageToOrigin() argument 143 mOnUiThread.postWebMessage(message, origin); in verifyPostMessageToOrigin()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 186 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/ |
D | VideoEncoderDecoderTest.java | 1045 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()
|