Home
last modified time | relevance | path

Searched refs:DEFAULT_LAYOUT_HEIGHT (Results 1 – 6 of 6) sorted by relevance

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java116 private static final int DEFAULT_LAYOUT_HEIGHT = 100; field in ASurfaceControlTest
118 DEFAULT_LAYOUT_HEIGHT - 1);
370 DEFAULT_LAYOUT_HEIGHT, Color.RED); in testSurfaceControl_fromJava()
393 DEFAULT_LAYOUT_HEIGHT, Color.RED); in testSurfaceTransaction_fromJava()
417 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceControl_acquire()
436 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setBuffer()
455 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setNullBuffer()
478 DEFAULT_LAYOUT_HEIGHT, Color.BLUE); in testSurfaceTransaction_setBuffer_parentAndChild()
480 DEFAULT_LAYOUT_HEIGHT, Color.RED); in testSurfaceTransaction_setBuffer_parentAndChild()
501 DEFAULT_LAYOUT_HEIGHT, Color.RED); in testSurfaceTransaction_setBuffer_childOnly()
[all …]
DSurfaceControlTest.java102 private static final int DEFAULT_LAYOUT_HEIGHT = DEFAULT_SURFACE_SIZE; field in SurfaceControlTest
109 DEFAULT_LAYOUT_HEIGHT - 1);
240 float scaleY = DEFAULT_LAYOUT_HEIGHT / (float) src.height(); in setSourceToDefaultDest()
244 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT)) in setSourceToDefaultDest()
341 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceControl_acquire()
360 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setBuffer()
382 DEFAULT_LAYOUT_HEIGHT, Color.BLUE); in testSurfaceTransaction_setBuffer_parentAndChild()
384 DEFAULT_LAYOUT_HEIGHT, Color.RED); in testSurfaceTransaction_setBuffer_parentAndChild()
405 DEFAULT_LAYOUT_HEIGHT, Color.RED); in testSurfaceTransaction_setBuffer_childOnly()
424 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setVisibility_show()
[all …]
DASurfaceControlBackPressureTest.java79 private static final int DEFAULT_LAYOUT_HEIGHT = 50; field in ASurfaceControlBackPressureTest
228 DEFAULT_LAYOUT_HEIGHT, colors[i % colors.length]); in testSurfaceTransaction_setEnableBackPressure()
242 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setEnableBackPressure()
243 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT), in testSurfaceTransaction_setEnableBackPressure()
258 DEFAULT_LAYOUT_HEIGHT, colors[i % colors.length]); in testSurfaceTransaction_defaultBackPressureDisabled()
273 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_defaultBackPressureDisabled()
274 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT)); in testSurfaceTransaction_defaultBackPressureDisabled()
DSurfacePackageFlickerTest.java45 private static final int DEFAULT_LAYOUT_HEIGHT = 100; field in SurfacePackageFlickerTest
102 mSurfaceControlViewHost.setView(v, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT); in start()
143 return pixelCount == DEFAULT_LAYOUT_WIDTH*DEFAULT_LAYOUT_HEIGHT; in testSurfacePackageNoFlicker()
147 pixelChecker, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT); in testSurfacePackageNoFlicker()
DSurfaceViewSurfaceValidatorTest.java52 private static final int DEFAULT_LAYOUT_HEIGHT = 100; field in SurfaceViewSurfaceValidatorTest
138 new FrameLayout.LayoutParams(DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testBackgroundIsBehindAllSurfaceView()
159 new FrameLayout.LayoutParams(DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in addSurfaceView()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DASurfaceControlTestActivity.java66 private static final int DEFAULT_LAYOUT_HEIGHT = 100; field in ASurfaceControlTestActivity
103 mLayoutParams = new FrameLayout.LayoutParams(DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in onCreate()
109 mSurfaceView.getHolder().setFixedSize(DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT); in onCreate()
301 return List.of(new Rect(1, 1, DEFAULT_LAYOUT_WIDTH - 1, DEFAULT_LAYOUT_HEIGHT - 1)); in getBoundsToCheck()