Home
last modified time | relevance | path

Searched refs:HEIGHT (Results 1 – 25 of 36) 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/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/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java58 private static final int HEIGHT = 480; field in VirtualDisplayTest
87 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
115 WIDTH, HEIGHT, DENSITY, mSurface, 0); in testPrivateVirtualDisplay()
138 WIDTH, HEIGHT, DENSITY, mSurface, in testPrivatePresentationVirtualDisplay()
166 WIDTH, HEIGHT, DENSITY, mSurface, in testPublicPresentationVirtualDisplay()
219 WIDTH, HEIGHT, DENSITY, mSurface, in testSecurePublicPresentationVirtualDisplay()
260 assertEquals("display height must match supplied height", HEIGHT, size.y); in assertDisplayRegistered()
/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/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectionTest.cpp63 static constexpr uint32_t HEIGHT = 100; member in android::RefreshRateSelectionTest
102 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createBufferQueueLayer()
109 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createBufferStateLayer()
116 LayerCreationArgs args(mFlinger.flinger(), client, "color-layer", WIDTH, HEIGHT, LAYER_FLAGS, in createEffectLayer()
DCompositionTest.cpp481 static constexpr uint32_t HEIGHT = 100; member
506 LayerProperties::HEIGHT, LayerProperties::FORMAT, in enqueueBuffer()
523 LayerProperties::HEIGHT), in enqueueBuffer()
538 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer()
573 LayerProperties::HEIGHT}))) in setupHwcSetGeometryCallExpectations()
598 LayerProperties::HEIGHT}))) in setupHwcSetSourceCropBufferCallExpectations()
619 LayerProperties::HEIGHT})}))) in setupHwcSetPerFrameCallExpectations()
895 LayerProperties::WIDTH, LayerProperties::HEIGHT, in createLayer()
900 layerDrawingState.crop_legacy = Rect(0, 0, LayerProperties::HEIGHT, LayerProperties::WIDTH); in createLayer()
935 LayerProperties::WIDTH, LayerProperties::HEIGHT, in createLayer()
DSetFrameRateTest.cpp65 static constexpr uint32_t HEIGHT = 100; member in android::LayerFactory
74 LayerCreationArgs args(flinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createLayer()
85 LayerCreationArgs args(flinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createLayer()
96 LayerCreationArgs args(flinger.flinger(), client, "color-layer", WIDTH, HEIGHT, LAYER_FLAGS, in createLayer()
DDisplayTransactionTest.cpp414 static constexpr int HEIGHT = height; member
441 ceDisplayArgs.setPixels({WIDTH, HEIGHT}).setPowerAdvisor(&test->mPowerAdvisor).build(); in makeFakeExistingDisplayInjector()
459 .WillRepeatedly(DoAll(SetArgPointee<1>(HEIGHT), Return(0))); in makeFakeExistingDisplayInjector()
480 .WillRepeatedly(DoAll(SetArgPointee<1>(HEIGHT), Return(0))); in setupNativeWindowSurfaceCreationCallExpectations()
496 EXPECT_CALL(*test->mConsumer, setDefaultBufferSize(WIDTH, HEIGHT)) in setupFramebufferConsumerBufferQueueCallExpectations()
533 .setHeight(DisplayVariant::HEIGHT) in injectHwcDisplayWithNoDefaultCapabilities()
557 .setPixels({DisplayVariant::WIDTH, DisplayVariant::HEIGHT}) in injectCompositionDisplay()
588 IComposerClient::Attribute::HEIGHT, _)) in setupHwcHotplugCallExpectations()
589 .WillOnce(DoAll(SetArgPointee<3>(DisplayVariant::HEIGHT), Return(Error::NONE))); in setupHwcHotplugCallExpectations()
694 .setPixels({Base::WIDTH, Base::HEIGHT}) in injectCompositionDisplay()
[all …]
/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/base/services/core/java/com/android/server/wm/
DWindowContainerThumbnail.java24 import static com.android.server.wm.WindowContainerThumbnailProto.HEIGHT;
177 proto.write(HEIGHT, mHeight); in dumpDebug()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt156 intrinsicHeight = (Companion.HEIGHT * density).toInt() in <lambda>()
365 scaleMatrix.setScale((b.right / WIDTH), (b.bottom / HEIGHT)) in <lambda>()
416 private const val HEIGHT = 20f in <lambda>() constant
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp150 static const int32_t HEIGHT = 200; member in android::inputdispatcher::FakeWindowHandle
154 : FakeInputReceiver(dispatcher, name), mFrame(Rect(0, 0, WIDTH, HEIGHT)) { in FakeWindowHandle()
/frameworks/base/cmds/bootanimation/
DFORMAT.md25 WIDTH HEIGHT FPS
28 * **HEIGHT:** animation height (pixels)
/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.java113 public static final AnimatableProperty HEIGHT = AnimatableProperty.from( field in AnimatableProperty
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h85 case hardware::graphics::composer::hal::Attribute::HEIGHT: in to_string()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp498 static const uint32_t HEIGHT = 240; in TEST_F() local
500 ASSERT_EQ(OK, mConsumer->setDefaultBufferSize(WIDTH, HEIGHT)); in TEST_F()
523 mProducer->dequeueBuffer(&slot, &fence, WIDTH * 2, HEIGHT * 2, 0, in TEST_F()
/frameworks/base/media/java/android/media/
DMediaRecorder.java1813 public static final String HEIGHT = "android.media.mediarecorder.height"; field in MediaRecorder.MetricsConstants
/frameworks/base/core/java/android/content/
DClipData.java1081 proto.write(ClipDataProto.Icon.HEIGHT, mIcon.getHeight()); in dumpDebug()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h822 constexpr char HEIGHT[] = "android.media.mediacodec.height"; variable
/frameworks/base/core/java/android/view/
DWindowManager.java44 import static android.view.WindowLayoutParamsProto.HEIGHT;
3663 proto.write(HEIGHT, height); in dumpDebug()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp726 case IComposerClient::Attribute::HEIGHT: in getDisplayAttribute_2_4()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp748 static const int32_t HEIGHT = 800; member in android::inputdispatcher::FakeWindowHandle
774 mInfo.frameBottom = HEIGHT; in FakeWindowHandle()
777 mInfo.addTouchableRegion(Rect(0, 0, WIDTH, HEIGHT)); in FakeWindowHandle()

12