/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 41 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/ |
D | errorCalculator.rs | 6 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/ |
D | VirtualDisplayTest.java | 58 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/ |
D | MultiProducerActivity.java | 42 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/ |
D | PathOffsetTest.java | 35 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/ |
D | CompositionTest.cpp | 442 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()
|
D | DisplayTransactionTest.cpp | 321 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/ |
D | AppWindowThumbnail.java | 22 import static com.android.server.wm.AppWindowThumbnailProto.HEIGHT; 172 proto.write(HEIGHT, mHeight); in writeToProto()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 156 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/ |
D | TaskStackLayoutAlgorithm.java | 139 @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/ |
D | FORMAT.md | 25 WIDTH HEIGHT FPS 28 * **HEIGHT:** animation height (pixels)
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in storeThumbnail()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MediaStoreSaver.java | 137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in storeThumbnail()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 442 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/ |
D | BufferQueue_test.cpp | 486 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/ |
D | FakeComposerClient.cpp | 260 case IComposerClient::Attribute::HEIGHT: in getDisplayAttribute()
|
D | SFFakeHwc_test.cpp | 290 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/ |
D | MediaStore.java | 1057 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/ |
D | MediaRecorder.java | 1765 public static final String HEIGHT = "android.media.mediarecorder.height"; field in MediaRecorder.MetricsConstants
|
D | MediaCodec.java | 4067 public static final String HEIGHT = "android.media.mediacodec.height"; field in MetricsConstants
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 27 import static android.view.WindowLayoutParamsProto.HEIGHT; 3214 proto.write(HEIGHT, height); in writeToProto()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecConstants.h | 815 constexpr char HEIGHT[] = "android.media.mediacodec.height"; variable
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 1095 proto.write(ClipDataProto.Icon.HEIGHT, mIcon.getHeight()); in writeToProto()
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 369 case IComposerClient::Attribute::HEIGHT: in getDisplayAttribute()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 2720 int HEIGHT = 20; in renewBounds() local 2728 setBounds(0, 0, width, HEIGHT); in renewBounds()
|