/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutTest.java | 43 private static final int WIDTH = 10000; field in DynamicLayoutTest 48 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_en() 74 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() 103 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_thai() 128 text.length(), textPaint, WIDTH) in testGetLineExtra_withoutLinespacing() 136 WIDTH, in testGetLineExtra_withoutLinespacing() 158 text.length(), textPaint, WIDTH) in testGetLineExtra_withLinespacing() 167 WIDTH, in testGetLineExtra_withLinespacing() 202 final DynamicLayout layout = new DynamicLayout(spannable, new TextPaint(), WIDTH, in testReflow_afterSpannableEdit() 291 .obtain("", new TextPaint(), WIDTH); in testBuilder_defaultTextDirection() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessorTest.kt | 33 private const val WIDTH = 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/ |
D | BatteryMeterDrawableBaseTest.java | 42 private static final int WIDTH = 40; 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/ |
D | VirtualDisplayTest.java | 57 private static final int WIDTH = 720; 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() 259 assertEquals("display width must match supplied width", WIDTH, size.x); in assertDisplayRegistered()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiProducerActivity.java | 41 private final int WIDTH = 900; 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() 81 LayoutParams contentLP = new LayoutParams(WIDTH - 2 * BORDER_WIDTH - CONTENT_GAP, in onCreate() 151 mFrameContent = new ColorPulse(0xFF101010, 0xFF707070, new Rect(0, 0, WIDTH, HEIGHT)); in FakeFrame()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | SizeTraits.h | 152 template <size_t WIDTH> 154 uint64_t mask = (~((uint64_t)0)) >> (64 - WIDTH); in signExtend() 155 uint64_t sign_bit = 1 << (WIDTH - 1); in signExtend()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | BottomScrollViewTest.java | 88 private static final int WIDTH = 10; field in BottomScrollViewTest.TestChildView 98 setMeasuredDimension(WIDTH, mHeight); in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PathOffsetTest.java | 34 private static final int WIDTH = 100; field in PathOffsetTest 82 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in drawAndGetBitmap()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 157 intrinsicWidth = (Companion.WIDTH * density).toInt() in <lambda>() 365 scaleMatrix.setScale((b.right / WIDTH), (b.bottom / HEIGHT)) in <lambda>() 378 Math.max(b.right / WIDTH * PROTECTION_STROKE_WIDTH, PROTECTION_MIN_STROKE_WIDTH) in <lambda>() 415 private const val WIDTH = 12f in <lambda>() constant
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 451 static constexpr uint32_t WIDTH = 100; member 476 result = producer->dequeueBuffer(&slot, &fence, LayerProperties::WIDTH, in enqueueBuffer() 493 Rect(LayerProperties::WIDTH, in enqueueBuffer() 509 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer() 542 IComposerClient::Rect({0, 0, LayerProperties::WIDTH, in setupHwcSetGeometryCallExpectations() 564 IComposerClient::FRect({0.f, 0.f, LayerProperties::WIDTH, in setupHwcSetSourceCropBufferCallExpectations() 580 {0, 0, LayerProperties::WIDTH, in setupHwcSetPerFrameCallExpectations() 830 String8("test-layer"), LayerProperties::WIDTH, in createLayer() 836 layerDrawingState.crop_legacy = Rect(0, 0, LayerProperties::HEIGHT, LayerProperties::WIDTH); in createLayer() 871 String8("test-layer"), LayerProperties::WIDTH, in createLayer()
|
D | DisplayTransactionTest.cpp | 330 static constexpr int WIDTH = width; member 362 .WillRepeatedly(DoAll(SetArgPointee<1>(WIDTH), Return(0))); in makeFakeExistingDisplayInjector() 383 .WillRepeatedly(DoAll(SetArgPointee<1>(WIDTH), Return(0))); in setupNativeWindowSurfaceCreationCallExpectations() 401 EXPECT_CALL(*test->mConsumer, setDefaultBufferSize(WIDTH, HEIGHT)) in setupFramebufferConsumerBufferQueueCallExpectations() 438 .setWidth(DisplayVariant::WIDTH) in injectHwcDisplayWithNoDefaultCapabilities() 468 IComposerClient::Attribute::WIDTH, _)) in setupHwcHotplugCallExpectations() 469 .WillOnce(DoAll(SetArgPointee<3>(DisplayVariant::WIDTH), Return(Error::NONE))); in setupHwcHotplugCallExpectations() 596 EXPECT_CALL(*test->mComposer, createVirtualDisplay(Base::WIDTH, Base::HEIGHT, _, _)) in setupHwcVirtualDisplayCreationCallExpectations() 1430 EXPECT_EQ(Case::Display::WIDTH, device->getWidth()); in setupNewDisplayDeviceInternalTest() 1908 .WillRepeatedly(DoAll(SetArgPointee<1>(Case::Display::WIDTH), Return(NO_ERROR))); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowThumbnail.java | 24 import static com.android.server.wm.AppWindowThumbnailProto.WIDTH; 171 proto.write(WIDTH, mWidth); in writeToProto()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | errorCalculator.rscript | 5 int WIDTH;
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 25 WIDTH HEIGHT FPS 27 * **WIDTH:** animation width (pixels)
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in storeThumbnail()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MediaStoreSaver.java | 138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in storeThumbnail()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackLayoutAlgorithm.java | 139 @IntDef({WIDTH, HEIGHT}) 141 private static final int WIDTH = 0; field in TaskStackLayoutAlgorithm 1041 WIDTH); in getTaskStackBounds() 1051 mBaseSideMargin, mMinMargin, WIDTH); in getTaskStackBounds() 1198 if (extent == WIDTH) { in getScaleForExtent()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 443 static const int32_t WIDTH = 600; member in android::inputdispatcher::FakeWindowHandle 449 mFocused(false), mFrame(Rect(0, 0, WIDTH, HEIGHT)), mLayoutParamFlags(0) { in FakeWindowHandle()
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 485 static const uint32_t WIDTH = 320; 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/base/core/java/android/provider/ |
D | MediaStore.java | 1053 public static final String WIDTH = "width"; field 2036 public static final String WIDTH = "width"; field in MediaStore.Images.Thumbnails 3220 public static final String WIDTH = "width"; field in MediaStore.Video.Thumbnails
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.cpp | 257 case IComposerClient::Attribute::WIDTH: in getDisplayAttribute()
|
D | SFFakeHwc_test.cpp | 286 getDisplayAttribute(EXTERNAL_DISPLAY, 1, IComposerClient::Attribute::WIDTH, _)) in TEST_F() 397 getDisplayAttribute(PRIMARY_DISPLAY, 1, IComposerClient::Attribute::WIDTH, _)) in TEST_F()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1823 public static final String WIDTH = "android.media.mediarecorder.width"; field in MediaRecorder.MetricsConstants
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 41 import static android.view.WindowLayoutParamsProto.WIDTH; 3235 proto.write(WIDTH, width); in writeToProto()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecConstants.h | 822 constexpr char WIDTH[] = "android.media.mediacodec.width"; variable
|