Home
last modified time | relevance | path

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

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java115 private static final int DEFAULT_LAYOUT_WIDTH = 100; field in ASurfaceControlTest
117 private static final Rect DEFAULT_RECT = new Rect(1, 1, DEFAULT_LAYOUT_WIDTH - 1,
369 setSolidBuffer(childSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceControl_fromJava()
392 setSolidBuffer(surfaceControl, transaction, DEFAULT_LAYOUT_WIDTH, 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()
477 setSolidBuffer(parentSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setBuffer_parentAndChild()
479 setSolidBuffer(childSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setBuffer_parentAndChild()
500 setSolidBuffer(childSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setBuffer_childOnly()
[all …]
DSurfaceControlTest.java101 private static final int DEFAULT_LAYOUT_WIDTH = DEFAULT_SURFACE_SIZE; field in SurfaceControlTest
108 private static final Rect DEFAULT_RECT = new Rect(1, 1, DEFAULT_LAYOUT_WIDTH - 1,
241 float scaleX = DEFAULT_LAYOUT_WIDTH / (float) src.width(); 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()
381 setSolidBuffer(parentSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setBuffer_parentAndChild()
383 setSolidBuffer(childSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setBuffer_parentAndChild()
404 setSolidBuffer(childSurfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setBuffer_childOnly()
424 setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setVisibility_show()
[all …]
DASurfaceControlBackPressureTest.java78 private static final int DEFAULT_LAYOUT_WIDTH = 50; field in ASurfaceControlBackPressureTest
227 buffers[i] = setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setEnableBackPressure()
242 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_setEnableBackPressure()
243 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT), in testSurfaceTransaction_setEnableBackPressure()
257 buffers[i] = setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_defaultBackPressureDisabled()
273 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT, in testSurfaceTransaction_defaultBackPressureDisabled()
274 DEFAULT_LAYOUT_WIDTH, DEFAULT_LAYOUT_HEIGHT)); in testSurfaceTransaction_defaultBackPressureDisabled()
DSurfacePackageFlickerTest.java44 private static final int DEFAULT_LAYOUT_WIDTH = 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.java51 private static final int DEFAULT_LAYOUT_WIDTH = 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.java65 private static final int DEFAULT_LAYOUT_WIDTH = 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()