Home
last modified time | relevance | path

Searched refs:WIDTH (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutTest.java43 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/
DMediaArtworkProcessorTest.kt33 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/
DBatteryMeterDrawableBaseTest.java42 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/
DVirtualDisplayTest.java57 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/
DMultiProducerActivity.java41 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/
DSizeTraits.h152 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/
DBottomScrollViewTest.java88 private static final int WIDTH = 10; field in BottomScrollViewTest.TestChildView
98 setMeasuredDimension(WIDTH, mHeight); in onMeasure()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectionTest.cpp62 static constexpr uint32_t WIDTH = 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.cpp480 static constexpr uint32_t WIDTH = 100; member
505 result = producer->dequeueBuffer(&slot, &fence, LayerProperties::WIDTH, in enqueueBuffer()
522 Rect(LayerProperties::WIDTH, in enqueueBuffer()
538 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer()
572 IComposerClient::Rect({0, 0, LayerProperties::WIDTH, in setupHwcSetGeometryCallExpectations()
597 IComposerClient::FRect({0.f, 0.f, LayerProperties::WIDTH, in setupHwcSetSourceCropBufferCallExpectations()
618 {0, 0, LayerProperties::WIDTH, 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.cpp64 static constexpr uint32_t WIDTH = 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.cpp413 static constexpr int WIDTH = width; member
441 ceDisplayArgs.setPixels({WIDTH, HEIGHT}).setPowerAdvisor(&test->mPowerAdvisor).build(); in makeFakeExistingDisplayInjector()
457 .WillRepeatedly(DoAll(SetArgPointee<1>(WIDTH), Return(0))); in makeFakeExistingDisplayInjector()
478 .WillRepeatedly(DoAll(SetArgPointee<1>(WIDTH), Return(0))); in setupNativeWindowSurfaceCreationCallExpectations()
496 EXPECT_CALL(*test->mConsumer, setDefaultBufferSize(WIDTH, HEIGHT)) in setupFramebufferConsumerBufferQueueCallExpectations()
532 .setWidth(DisplayVariant::WIDTH) in injectHwcDisplayWithNoDefaultCapabilities()
557 .setPixels({DisplayVariant::WIDTH, DisplayVariant::HEIGHT}) in injectCompositionDisplay()
584 IComposerClient::Attribute::WIDTH, _)) in setupHwcHotplugCallExpectations()
585 .WillOnce(DoAll(SetArgPointee<3>(DisplayVariant::WIDTH), Return(Error::NONE))); in setupHwcHotplugCallExpectations()
694 .setPixels({Base::WIDTH, Base::HEIGHT}) in injectCompositionDisplay()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java34 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/
DThemedBatteryDrawable.kt157 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/base/services/core/java/com/android/server/wm/
DWindowContainerThumbnail.java26 import static com.android.server.wm.WindowContainerThumbnailProto.WIDTH;
176 proto.write(WIDTH, mWidth); in dumpDebug()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp149 static const int32_t WIDTH = 200; member in android::inputdispatcher::FakeWindowHandle
154 : FakeInputReceiver(dispatcher, name), mFrame(Rect(0, 0, WIDTH, HEIGHT)) { in FakeWindowHandle()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DerrorCalculator.rscript5 int WIDTH;
/frameworks/base/cmds/bootanimation/
DFORMAT.md25 WIDTH HEIGHT FPS
27 * **WIDTH:** animation width (pixels)
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in storeThumbnail()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in storeThumbnail()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAnimatableProperty.java92 public static final AnimatableProperty WIDTH = AnimatableProperty.from( field in AnimatableProperty
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h83 case hardware::graphics::composer::hal::Attribute::WIDTH: in to_string()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp497 static const uint32_t WIDTH = 320; 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.java1871 public static final String WIDTH = "android.media.mediarecorder.width"; field in MediaRecorder.MetricsConstants
/frameworks/base/core/java/android/content/
DClipData.java1080 proto.write(ClipDataProto.Icon.WIDTH, mIcon.getWidth()); in dumpDebug()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h829 constexpr char WIDTH[] = "android.media.mediacodec.width"; variable

12