/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 111 half h = *(half *) &s; in half2float() local 117 half h = (half) f; in float2half() local 153 unsigned short b = (a | 1); in getErrorBar() local 187 unsigned short add(unsigned short a, unsigned short b) { in add() 193 unsigned short subtract(unsigned short a, unsigned short b) { in subtract() 199 unsigned short multiply(unsigned short a, unsigned short b) { in multiply() 205 unsigned short divide(unsigned short a, unsigned short b) { in divide()
|
D | ImageProcessingTest.java | 116 int h = 256; in testBlend() local 229 protected Allocation creatAllocation(int w, int h) { in creatAllocation() 230 Type.Builder b = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in creatAllocation() local 238 public boolean similar(byte[] a, byte[] b) { in similar() 311 int pack(float a, float r, float g, float b) { in pack() 323 int pack(int a, int r, int g, int b) { in pack() 782 float b = f * 0.5f + 0.25f; in testLUT() local 823 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in testScriptGroup() local
|
D | AllocationTest.java | 272 Type.Builder b = new Type.Builder(mRS, Element.U8(mRS)); in testAllocationMipmapControl() local 280 Type.Builder b = new Type.Builder(mRS, Element.U8(mRS)); in testCubemapFaces() local 502 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in helperFloatCopy2D() local 531 Type.Builder b = new Type.Builder(mRS, Element.I8(mRS)); in helperByteCopy2D() local 561 Type.Builder b = new Type.Builder(mRS, element); in helperShortCopy2D() local 590 Type.Builder b = new Type.Builder(mRS, Element.I32(mRS)); in helperIntCopy2D() local 619 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in helperFloatAllocationCopy2D() local 648 Type.Builder b = new Type.Builder(mRS, Element.I8(mRS)); in helperByteAllocationCopy2D() local 721 helperShortCopy2D(Element.I16(mRS), sX, sY, offX, offY, w, h); in test2DCopyOperations() local 722 helperShortCopy2D(Element.F16(mRS), sX, sY, offX, offY, w, h); in test2DCopyOperations() local [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconDrawableTest.java | 360 boolean equalBitmaps(Bitmap a, Bitmap b) { in equalBitmaps() 364 boolean equalBitmaps(Bitmap a, Bitmap b, Region region) { in equalBitmaps() 368 final int h = a.getHeight(); in equalBitmaps() local 394 void findBitmapDifferences(Bitmap a, Bitmap b) { in findBitmapDifferences() 402 final int h = a.getHeight(); in findBitmapDifferences() local 426 static void printBits(int[] a, int w, int h) { in printBits()
|
D | DrawableTestUtils.java | 213 final int h = Math.max(d.getIntrinsicHeight(), y + 1); in getPixel() local 214 final Bitmap b = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in getPixel() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayWithCompositionTest.java | 232 private void runTestRenderingInSeparateThread(final int w, final int h, in runTestRenderingInSeparateThread() 237 private void runTestRenderingInSeparateThread(final int w, final int h, in runTestRenderingInSeparateThread() 259 private void doTestRenderingOutput(int w, int h, boolean runRemotely, boolean multipleWindows, in doTestRenderingOutput() 393 private void renderColorAndCheckResult(Renderer renderer, int w, int h, in renderColorAndCheckResult() 419 private void renderRotationAndCheckResult(Renderer renderer, int w, int h, in renderRotationAndCheckResult() 445 private boolean checkRotatedFrameQuadrants(int w, int h, int degrees) { in checkRotatedFrameQuadrants() 464 int b = mPixelBuf.get(2) & 0xff; in checkRotatedFrameQuadrants() local 480 private boolean checkSurfaceFrameColor(int w, int h, int color) { in checkSurfaceFrameColor() 488 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrameColor() local 595 Surface startEncoding(int w, int h, EncoderEventListener eventListener) { in startEncoding() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 502 Handler h = new Handler(); in startPreview() local 699 int h = mPreviewSize.height; in onPreviewFrame() local 736 int h = mPreviewSize.height; in convertFromUnknown() local 751 int b = data[index + 2] & 0xFF; in convertFromUnknown() local 764 int h = mPreviewSize.height; in convertFromNV21() local 807 int h = mPreviewSize.height; in convertFromYV12() local 856 int h = mPreviewSize.height; in convertFromYUY2() local
|
/cts/tests/openglperf2/jni/graphics/ |
D | GLUtils.cpp | 79 static int readInt(char* b) { in readInt() 84 static float readFloat(char* b) { in readFloat() 215 int h = roundUpToSmallestPowerOf2(texHeight); in genTexture() local
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewCtsActivity.java | 150 public void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() 204 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() 232 public void resetOnSizeChangedFlag(boolean b) { in resetOnSizeChangedFlag()
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 139 final ApplicationInfo b = pm.getApplicationInfo(PKG_B, 0); in testVerifyStatsMultiple() local 242 final ApplicationInfo b = pm.getApplicationInfo(PKG_B, 0); in testVerifyCategory() local 350 final File b = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior() local 358 final File h = useFallocate(makeUniqueFile(tomb), size, tombTime); in testCacheBehavior() local
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 225 TestClusterHier h = new TestClusterHier(); in testAddKeyboardNavigationClusters() local 783 public void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() 1720 TestClusterHier h = new TestClusterHier(); in testRestoreFocusInCluster() local 1759 TestClusterHier h = new TestClusterHier(); in testDefaultCluster() local 1798 TestClusterHier h = new TestClusterHier(); in testFocusInClusterRemovals() local 1834 TestClusterHier h = new TestClusterHier(); in testFocusInClusterFocusableChanges() local 1856 TestClusterHier h = new TestClusterHier(); in testRestoreDefaultFocus() local 1897 TestClusterHier h = new TestClusterHier(); in testDefaultFocusViewRemoved() local 1950 TestClusterHier h = new TestClusterHier(); in testDefaultFocusWorksForClusters() local 1974 TestClusterHier h = new TestClusterHier(false); in testTouchscreenBlocksFocus() local [all …]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 543 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() 948 int b = findConfigAttrib(egl, display, config, in chooseConfig() local 1295 int h = 0; in guardedRun() local 1682 public void onWindowResize(int w, int h) { in onWindowResize()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 414 assertEquals(reuseResult.getHeight(), h); in testInBitmapReuse() local 498 Bitmap b = Bitmap.createBitmap(SMALL_TILE_SIZE, SMALL_TILE_SIZE, Config.ARGB_8888, in testReusedColorSpace() local 795 int b = Color.blue(actual) - Color.blue(exp); in distance() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 837 protected boolean setFrame(int l, int t, int r, int b) { in setFrame() 846 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageReaderTest.java | 733 private static int[] convertPixelYuvToRgba(int w, int h, int wOffset, int hOffset, in convertPixelYuvToRgba() 802 int b = (int) Math.max(0.0f, Math.min(COLOR_RANGE, y + 1.772f * (cb - 128))); in convertPixelYuvToRgba() local
|
/cts/tests/tests/content/src/android/content/cts/util/ |
D | XmlUtils.java | 393 int b = val[i]; in writeByteArrayXml() local 394 int h = b>>4; in writeByteArrayXml() local
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 365 int b = val[i]; in writeByteArrayXml() local 366 int h = b>>4; in writeByteArrayXml() local
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 366 int b = val[i]; in writeByteArrayXml() local 367 int h = b>>4; in writeByteArrayXml() local
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1074 int h = (i == 0) ? height : height / 2; in getDataFromImage() local 2417 private static boolean areGpsFieldsEqual(Location a, Location b) { in areGpsFieldsEqual()
|