Home
last modified time | relevance | path

Searched refs:HEIGHT (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DMediaArtworkProcessorTest.kt34 private const val HEIGHT = 200 constant
63 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testProcessArtwork()
76 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testCache()
89 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ALPHA_8) in testConfig()
100 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testRecycledArtwork()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java41 private static final int HEIGHT = 80; field in BatteryMeterDrawableBaseTest
60 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING); in testDraw_hasPaddingAndBounds_drawWarningInCorrectPosition()
73 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING); in testDraw_hasPaddingAndBounds_drawBatteryLevelInCorrectPosition()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java65 private static final int HEIGHT = 480; field in VirtualDisplayTest
94 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
122 WIDTH, HEIGHT, DENSITY, mSurface, 0); in testPrivateVirtualDisplay()
143 WIDTH, HEIGHT, DENSITY, mSurface, DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay()
168 WIDTH, HEIGHT, DENSITY, mSurface, in testPublicPresentationVirtualDisplay()
214 WIDTH, HEIGHT, DENSITY, mSurface, in testSecurePublicPresentationVirtualDisplay()
247 WIDTH, HEIGHT, DENSITY, mSurface, in testTrustedVirtualDisplay()
270 assertEquals("display height must match supplied height", HEIGHT, size.y); in assertDisplayRegistered()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DerrorCalculator.rscript6 int HEIGHT;
15 for (int x = 0; x < HEIGHT; x += REGION_SIZE) {
37 for (int x = 0; x < HEIGHT; x++) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMultiProducerActivity.java42 private final int HEIGHT = 600; field in MultiProducerActivity
62 LayoutParams frameLP = new LayoutParams(WIDTH, HEIGHT, 0, 0); in onCreate()
70 WIDTH - 2 * BORDER_WIDTH, HEIGHT - 2 * BORDER_WIDTH, in onCreate()
82 HEIGHT - 2 * BORDER_WIDTH - CONTENT_GAP, BORDER_WIDTH, BORDER_WIDTH); in onCreate()
151 mFrameContent = new ColorPulse(0xFF101010, 0xFF707070, new Rect(0, 0, WIDTH, HEIGHT)); in FakeFrame()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java35 private static final int HEIGHT = 100; field in PathOffsetTest
82 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in drawAndGetBitmap()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTestHelpers.h248 static constexpr int HEIGHT = height;
249 static constexpr ui::Size RESOLUTION{WIDTH, HEIGHT};
296 .WillRepeatedly(DoAll(SetArgPointee<1>(HEIGHT), Return(0)));
317 .WillRepeatedly(DoAll(SetArgPointee<1>(HEIGHT), Return(0)));
333 EXPECT_CALL(*test->mConsumer, setDefaultBufferSize(WIDTH, HEIGHT))
416 IComposerClient::Attribute::HEIGHT, _))
418 DoAll(SetArgPointee<3>(DisplayVariant::HEIGHT), Return(Error::NONE)));
627 EXPECT_CALL(*test->mComposer, createVirtualDisplay(Base::WIDTH, Base::HEIGHT, _, _))
DLayerTestUtils.h45 static constexpr uint32_t HEIGHT = 100; variable
DCompositionTest.cpp483 static constexpr uint32_t HEIGHT = 100; member
508 LayerProperties::HEIGHT, LayerProperties::FORMAT, in enqueueBuffer()
525 LayerProperties::HEIGHT), in enqueueBuffer()
537 layer->setSizeForTest(LayerProperties::WIDTH, LayerProperties::HEIGHT); in setupLatchedBuffer()
539 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer()
567 LayerProperties::HEIGHT}))) in setupHwcSetGeometryCallExpectations()
590 LayerProperties::HEIGHT}))) in setupHwcSetSourceCropBufferCallExpectations()
611 LayerProperties::HEIGHT})}))) in setupHwcSetPerFrameCallExpectations()
912 layerDrawingState.crop = Rect(0, 0, LayerProperties::HEIGHT, LayerProperties::WIDTH); in createLayer()
DTunnelModeEnabledReporterTest.cpp62 static constexpr uint32_t HEIGHT = 100; member in android::TunnelModeEnabledReporterTest
DRefreshRateSelectionTest.cpp57 static constexpr uint32_t HEIGHT = 100; member in android::RefreshRateSelectionTest
DFpsReporterTest.cpp78 static constexpr uint32_t HEIGHT = 100; member in android::FpsReporterTest
DSurfaceFlinger_DisplayTransactionCommitTest.cpp429 .WillRepeatedly(DoAll(SetArgPointee<1>(Case::Display::HEIGHT), Return(NO_ERROR))); in TEST_F()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatterySpecs.kt25 const val BATTERY_HEIGHT = ThemedBatteryDrawable.HEIGHT
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainerThumbnail.java24 import static com.android.server.wm.WindowContainerThumbnailProto.HEIGHT;
161 proto.write(HEIGHT, mHeight); in dumpDebug()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt157 intrinsicHeight = (Companion.HEIGHT * density).toInt() in <lambda>()
366 scaleMatrix.setScale((b.right / WIDTH), (b.bottom / HEIGHT)) in <lambda>()
416 const val HEIGHT = 20f in <lambda>() constant
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp176 static const int32_t HEIGHT = 200; member in android::inputdispatcher::FakeWindowHandle
180 : FakeInputReceiver(dispatcher, name), mFrame(Rect(0, 0, WIDTH, HEIGHT)) { in FakeWindowHandle()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java124 private static final int HEIGHT = 1800; field in VirtualDeviceManagerServiceTest
410 VENDOR_ID, PRODUCT_ID, BINDER, new Point(WIDTH, HEIGHT))); in createVirtualTouchscreen_noDisplay_failsSecurityException()
450 VENDOR_ID, PRODUCT_ID, BINDER, new Point(WIDTH, HEIGHT))); in createVirtualTouchscreen_noPermission_failsSecurityException()
496 BINDER, new Point(WIDTH, HEIGHT)); in createVirtualTouchscreen_hasDisplay_obtainFileDescriptor()
500 eq(PRODUCT_ID), anyString(), eq(HEIGHT), eq(WIDTH)); in createVirtualTouchscreen_hasDisplay_obtainFileDescriptor()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in storeThumbnail()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in storeThumbnail()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAnimatableProperty.java124 public static final AnimatableProperty HEIGHT = AnimatableProperty.from( field in AnimatableProperty
/frameworks/base/cmds/bootanimation/
DFORMAT.md25 WIDTH HEIGHT FPS [PROGRESS]
28 * **HEIGHT:** animation height (pixels)
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h85 case hardware::graphics::composer::hal::Attribute::HEIGHT: in to_string()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp495 static const uint32_t HEIGHT = 240; in TEST_F() local
497 ASSERT_EQ(OK, mConsumer->setDefaultBufferSize(WIDTH, HEIGHT)); in TEST_F()
520 mProducer->dequeueBuffer(&slot, &fence, WIDTH * 2, HEIGHT * 2, 0, in TEST_F()
/frameworks/base/media/java/android/media/
DMediaRecorder.java2027 public static final String HEIGHT = "android.media.mediarecorder.height"; field in MediaRecorder.MetricsConstants

12