/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() 256 WIDTH, HEIGHT, DENSITY, mSurface, in testTrustedVirtualDisplay() 278 assertEquals("display width must match supplied width", WIDTH, size.x); in assertDisplayRegistered()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 366 static constexpr size_t WIDTH = sizeof(Element) * CHAR_BIT; variable 368 static constexpr size_t COUNT = (BITS + WIDTH - 1) / WIDTH; 378 return (bit < BITS) ? mData[bit / WIDTH].test(bit % WIDTH) : false; in test() 391 size_t se = startIndex / WIDTH; // Start of element in any() 392 size_t ee = endIndex / WIDTH; // End of element in any() 393 size_t si = startIndex % WIDTH; // Start index in start element in any() 394 size_t ei = endIndex % WIDTH; // End index in end element in any() 397 size_t nBits = se == ee ? ei - si : WIDTH - si; in any() 423 mData[i] = std::bitset<WIDTH>(buffer[i]); in loadFromBuffer() 428 std::array<std::bitset<WIDTH>, COUNT> mData;
|
/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/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTestHelpers.h | 243 static constexpr int WIDTH = width; 267 .setPixels({WIDTH, HEIGHT}) 292 .WillRepeatedly(DoAll(SetArgPointee<1>(WIDTH), Return(0))); 313 .WillRepeatedly(DoAll(SetArgPointee<1>(WIDTH), Return(0))); 331 EXPECT_CALL(*test->mConsumer, setDefaultBufferSize(WIDTH, HEIGHT)) 367 .setWidth(DisplayVariant::WIDTH) 392 .setPixels({DisplayVariant::WIDTH, DisplayVariant::HEIGHT}) 411 IComposerClient::Attribute::WIDTH, _)) 413 DoAll(SetArgPointee<3>(DisplayVariant::WIDTH), Return(Error::NONE))); 546 .setPixels({Base::WIDTH, Base::HEIGHT}) [all …]
|
D | RefreshRateSelectionTest.cpp | 57 static constexpr uint32_t WIDTH = 100; member in android::RefreshRateSelectionTest 95 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createBufferQueueLayer() 102 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createBufferStateLayer() 109 LayerCreationArgs args(mFlinger.flinger(), client, "color-layer", WIDTH, HEIGHT, LAYER_FLAGS, in createEffectLayer()
|
D | CompositionTest.cpp | 467 static constexpr uint32_t WIDTH = 100; member 492 result = producer->dequeueBuffer(&slot, &fence, LayerProperties::WIDTH, in enqueueBuffer() 509 Rect(LayerProperties::WIDTH, in enqueueBuffer() 525 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer() 552 IComposerClient::Rect({0, 0, LayerProperties::WIDTH, in setupHwcSetGeometryCallExpectations() 575 IComposerClient::FRect({0.f, 0.f, LayerProperties::WIDTH, in setupHwcSetSourceCropBufferCallExpectations() 596 {0, 0, LayerProperties::WIDTH, in setupHwcSetPerFrameCallExpectations() 881 LayerProperties::WIDTH, LayerProperties::HEIGHT, in createLayer() 886 layerDrawingState.crop = Rect(0, 0, LayerProperties::HEIGHT, LayerProperties::WIDTH); in createLayer() 920 LayerProperties::WIDTH, LayerProperties::HEIGHT, in createLayer() [all …]
|
D | TunnelModeEnabledReporterTest.cpp | 62 static constexpr uint32_t WIDTH = 100; member in android::TunnelModeEnabledReporterTest 103 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-state-layer", WIDTH, HEIGHT,
|
D | FpsReporterTest.cpp | 73 static constexpr uint32_t WIDTH = 100; member in android::FpsReporterTest 117 LayerCreationArgs args(mFlinger.flinger(), client, "buffer-state-layer", WIDTH, HEIGHT,
|
D | SetFrameRateTest.cpp | 63 static constexpr uint32_t WIDTH = 100; member in android::LayerFactory 73 LayerCreationArgs args(flinger.flinger(), client, "buffer-queue-layer", WIDTH, HEIGHT, in createLayer() 84 LayerCreationArgs args(flinger.flinger(), client, "buffer-state-layer", WIDTH, HEIGHT, in createLayer() 95 LayerCreationArgs args(flinger.flinger(), client, "color-layer", WIDTH, HEIGHT, LAYER_FLAGS, in createLayer()
|
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 244 .setWidth(Case::Display::WIDTH) in setupNewDisplayDeviceInternalTest() 273 EXPECT_EQ(Case::Display::WIDTH, device->getWidth()); in setupNewDisplayDeviceInternalTest()
|
/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 | 158 intrinsicWidth = (Companion.WIDTH * density).toInt() in <lambda>() 366 scaleMatrix.setScale((b.right / WIDTH), (b.bottom / HEIGHT)) in <lambda>() 379 Math.max(b.right / WIDTH * PROTECTION_STROKE_WIDTH, PROTECTION_MIN_STROKE_WIDTH) in <lambda>() 416 private const val WIDTH = 12f in <lambda>() constant
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainerThumbnail.java | 26 import static com.android.server.wm.WindowContainerThumbnailProto.WIDTH; 161 proto.write(WIDTH, mWidth); in dumpDebug()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | errorCalculator.rscript | 5 int WIDTH;
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 178 static const int32_t WIDTH = 200; member in android::inputdispatcher::FakeWindowHandle 183 : FakeInputReceiver(dispatcher, name), mFrame(Rect(0, 0, WIDTH, HEIGHT)) { in FakeWindowHandle()
|
/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/cmds/bootanimation/ |
D | FORMAT.md | 25 WIDTH HEIGHT FPS [PROGRESS] 27 * **WIDTH:** animation width (pixels)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | AnimatableProperty.java | 103 public static final AnimatableProperty WIDTH = AnimatableProperty.from( field in AnimatableProperty
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | Hal.h | 83 case hardware::graphics::composer::hal::Attribute::WIDTH: in to_string()
|