Home
last modified time | relevance | path

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

12

/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.rs6 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/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/
DCompositionTest.cpp442 static constexpr uint32_t HEIGHT = 100; member
467 LayerProperties::HEIGHT, LayerProperties::FORMAT, in enqueueBuffer()
484 LayerProperties::HEIGHT), in enqueueBuffer()
499 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer()
533 LayerProperties::HEIGHT}))) in setupHwcSetGeometryCallExpectations()
555 LayerProperties::HEIGHT}))) in setupHwcSetSourceCropBufferCallExpectations()
571 LayerProperties::HEIGHT})}))) in setupHwcSetPerFrameCallExpectations()
821 LayerProperties::HEIGHT, in createLayer()
826 layerDrawingState.crop_legacy = Rect(0, 0, LayerProperties::HEIGHT, LayerProperties::WIDTH); in createLayer()
862 LayerProperties::HEIGHT, in createLayer()
DDisplayTransactionTest.cpp321 static constexpr int HEIGHT = height; member
354 .WillRepeatedly(DoAll(SetArgPointee<1>(HEIGHT), Return(0))); in makeFakeExistingDisplayInjector()
375 .WillRepeatedly(DoAll(SetArgPointee<1>(HEIGHT), Return(0))); in setupNativeWindowSurfaceCreationCallExpectations()
391 EXPECT_CALL(*test->mConsumer, setDefaultBufferSize(WIDTH, HEIGHT)) in setupFramebufferConsumerBufferQueueCallExpectations()
429 .setHeight(DisplayVariant::HEIGHT) in injectHwcDisplayWithNoDefaultCapabilities()
462 IComposerClient::Attribute::HEIGHT, _)) in setupHwcHotplugCallExpectations()
463 .WillOnce(DoAll(SetArgPointee<3>(DisplayVariant::HEIGHT), Return(Error::NONE))); in setupHwcHotplugCallExpectations()
586 EXPECT_CALL(*test->mComposer, createVirtualDisplay(Base::WIDTH, Base::HEIGHT, _, _)) in setupHwcVirtualDisplayCreationCallExpectations()
1421 EXPECT_EQ(Case::Display::HEIGHT, device->getHeight()); in setupNewDisplayDeviceInternalTest()
1900 .WillRepeatedly(DoAll(SetArgPointee<1>(Case::Display::HEIGHT), Return(NO_ERROR))); in TEST_F()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowThumbnail.java22 import static com.android.server.wm.AppWindowThumbnailProto.HEIGHT;
172 proto.write(HEIGHT, mHeight); in writeToProto()
/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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java139 @IntDef({WIDTH, HEIGHT})
142 private static final int HEIGHT = 1; field in TaskStackLayoutAlgorithm
382 … int topMargin = getScaleForExtent(windowRect, displayRect, mBaseTopMargin, mMinMargin, HEIGHT); in initialize()
384 HEIGHT); in initialize()
386 mMinMargin, HEIGHT); in initialize()
1201 } else if (extent == HEIGHT) { in getScaleForExtent()
/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/native/services/inputflinger/tests/
DInputDispatcher_test.cpp442 static const int32_t HEIGHT = 800; member in android::FakeWindowHandle
447 mFocused(false), mFrame(Rect(0, 0, WIDTH, HEIGHT)), mLayoutParamFlags(0) { in FakeWindowHandle()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp486 static const uint32_t HEIGHT = 240; in TEST_F() local
488 ASSERT_EQ(OK, mConsumer->setDefaultBufferSize(WIDTH, HEIGHT)); in TEST_F()
511 mProducer->dequeueBuffer(&slot, &fence, WIDTH * 2, HEIGHT * 2, 0, in TEST_F()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp260 case IComposerClient::Attribute::HEIGHT: in getDisplayAttribute()
DSFFakeHwc_test.cpp290 getDisplayAttribute(EXTERNAL_DISPLAY, 1, IComposerClient::Attribute::HEIGHT, _)) in TEST_F()
401 getDisplayAttribute(PRIMARY_DISPLAY, 1, IComposerClient::Attribute::HEIGHT, _)) in TEST_F()
/frameworks/base/core/java/android/provider/
DMediaStore.java1057 public static final String HEIGHT = "height"; field
2040 public static final String HEIGHT = "height"; field in MediaStore.Images.Thumbnails
3224 public static final String HEIGHT = "height"; field in MediaStore.Video.Thumbnails
/frameworks/base/media/java/android/media/
DMediaRecorder.java1765 public static final String HEIGHT = "android.media.mediarecorder.height"; field in MediaRecorder.MetricsConstants
DMediaCodec.java4067 public static final String HEIGHT = "android.media.mediacodec.height"; field in MetricsConstants
/frameworks/base/core/java/android/view/
DWindowManager.java27 import static android.view.WindowLayoutParamsProto.HEIGHT;
3214 proto.write(HEIGHT, height); in writeToProto()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h815 constexpr char HEIGHT[] = "android.media.mediacodec.height"; variable
/frameworks/base/core/java/android/content/
DClipData.java1095 proto.write(ClipDataProto.Icon.HEIGHT, mIcon.getHeight()); in writeToProto()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp369 case IComposerClient::Attribute::HEIGHT: in getDisplayAttribute()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2720 int HEIGHT = 20; in renewBounds() local
2728 setBounds(0, 0, width, HEIGHT); in renewBounds()

12