/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | BackgroundFallbackTest.java | 97 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_portrait_noFallback() 109 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_portrait_translucentBars_fallback() 123 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_landscape_translucentBars_fallback() 137 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_seascape_translucentBars_fallback() 149 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_landscape_noFallback() 159 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_seascape_noFallback() 171 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_seascape_translucentBars_noInsets_noFallback() 179 verify(mDrawableMock, atLeastOnce()).draw(any()); in verifyFallbackTop() 185 verify(mDrawableMock, atLeastOnce()).draw(any()); in verifyFallbackLeft() 190 verify(mDrawableMock, atLeastOnce()).draw(any()); in verifyFallbackRight() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareBgDrawable.java | 78 public void draw(Canvas canvas) { in draw() method in HardwareBgDrawable 89 mLayers[1].draw(canvas); in draw() 90 mLayers[0].draw(canvas); in draw() 92 mLayers[0].draw(canvas); in draw() 93 mLayers[1].draw(canvas); in draw() 96 mLayers[0].draw(canvas); in draw()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 123 draw(nativeCanvas, nativePaintOrZero, true /*compositeOnly*/, false /*forceSrcMode*/, in nDrawBitmap() 144 draw(nativeCanvas, (graphics, paint) -> { in nDrawColor() 178 draw(nativeCanvas, nativePaint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawPoint() 199 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawLine() 207 draw(nativeCanvas, nativePaint, false /*compositeOnly*/, in nDrawLines() 220 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawRect() 243 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawOval() 277 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawArc() 294 graphics.draw(arc); in nDrawArc() 304 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawRoundRect() [all …]
|
D | BidiRenderer.java | 105 int advancesIndex, boolean draw) { in renderText() argument 112 advancesIndex, draw); in renderText() local 133 int advancesIndex, boolean draw) { in renderText() argument 139 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText() 151 float[] advances, int advancesIndex, boolean draw) { in renderScript() argument 160 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); in renderScript() 165 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); in renderScript() 204 render(start, highestUpTo, bestFont, flag, advances, advancesIndex, draw); in renderScript() 216 draw); in renderScript() 234 int advancesIndex, boolean draw) { in render() argument [all …]
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 84 void draw(SkCanvas* c, const SkMatrix&) const { c->flush(); } in draw() function 89 void draw(SkCanvas* c, const SkMatrix&) const { c->save(); } in draw() function 93 void draw(SkCanvas* c, const SkMatrix&) const { c->restore(); } in draw() function 116 void draw(SkCanvas* c, const SkMatrix&) const { in draw() function 127 void draw(SkCanvas* c, const SkMatrix&) const { in draw() function 136 void draw(SkCanvas* c, const SkMatrix&) const { c->concat(matrix); } in draw() function 142 void draw(SkCanvas* c, const SkMatrix& original) const { in draw() function 150 void draw(SkCanvas* c, const SkMatrix&) const { c->translate(dx, dy); } in draw() function 159 void draw(SkCanvas* c, const SkMatrix&) const { c->clipPath(path, op, aa); } in draw() function 167 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRect(rect, op, aa); } in draw() function [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | BatteryMeterDrawableTest.java | 59 mBatteryMeter.draw(canvas); in testDrawImageButNoTextIfPluggedIn() 69 mBatteryMeter.draw(canvas); in testDrawTextIfNotPluggedIn() 79 mBatteryMeter.draw(canvas); in testDrawNoTextIfPowerSaveEnabled() 90 mBatteryMeter.draw(canvas); in testDrawTextWarningAtCriticalLevel() 102 mBatteryMeter.draw(canvas); in testDrawTextNoWarningAboveCriticalLevel()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 183 public void draw(Canvas canvas) { in draw() method in TransitionDrawable 212 array[0].mDrawable.draw(canvas); in draw() 215 array[1].mDrawable.draw(canvas); in draw() 225 d.draw(canvas); in draw() 233 d.draw(canvas); in draw()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 57 public void draw(ViewGroup boundsView, ViewGroup root, Canvas c, View content, in draw() method in BackgroundFallback 147 mBackgroundFallback.draw(c); in draw() 151 mBackgroundFallback.draw(c); in draw() 155 mBackgroundFallback.draw(c); in draw() 159 mBackgroundFallback.draw(c); in draw()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MoreNinePatchesActivity.java | 65 mDrawable1.draw(canvas); in onDraw() 70 mDrawable2.draw(canvas); in onDraw() 74 mDrawable3.draw(canvas); in onDraw()
|
D | ThinPatchesActivity.java | 85 mPatch3.draw(canvas); in onDraw() 90 mPatch1.draw(canvas); in onDraw() 96 mPatch2.draw(canvas); in onDraw()
|
D | SimplePatchActivity.java | 50 mDrawable.draw(canvas); in onDraw() 52 mDrawable.draw(canvas); in onDraw()
|
D | CustomRenderer.java | 49 final Runnable redraw = this::draw; in onStart() 93 private void draw() { in draw() method in CustomRenderer 117 draw();
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 52 mockView.getBackground().draw(null); in broken_testFocusScenarioSetStringWildcardFirst() 64 mockView.getBackground().draw(null); in broken_testFocusScenarioStateSetWildcardLast() 83 public void draw(Canvas canvas) { in draw() method in StateListDrawableTest.MockDrawable
|
D | AdaptiveIconDrawableTest.java | 71 mIconDrawable.draw(can1); in testDraw_withoutBounds() 98 mIconDrawable.draw(can_org); in testDraw_withBounds() 106 mIconDrawable.draw(can_test); in testDraw_withBounds() 199 mIconDrawable.draw(canvas); in testSetAlpha() 204 mIconDrawable.draw(canvas); in testSetAlpha() 209 mIconDrawable.draw(canvas); in testSetAlpha()
|
D | IconTest.java | 74 draw1.draw(new Canvas(test1)); in testWithBitmap() 77 draw2.draw(new Canvas(test2)); in testWithBitmap() 80 draw3.draw(new Canvas(test3)); in testWithBitmap() 145 draw1.draw(new Canvas(test1)); in testWithAdaptiveBitmap() 170 draw1.draw(new Canvas(test1)); in testWithBitmapResource() 197 draw1.draw(new Canvas(test1)); in testWithFile() 230 draw1.draw(new Canvas(test1)); in testAsync() 303 draw1.draw(new Canvas(test1)); in testParcel()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | Texture.java | 41 public void draw(GLCanvas canvas, int x, int y); in draw() method 42 public void draw(GLCanvas canvas, int x, int y, int w, int h); in draw() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CastDrawable.java | 82 public void draw(Canvas canvas) { in draw() method in CastDrawable 83 super.draw(canvas); in draw() 84 mFillDrawable.draw(canvas); in draw()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 271 layout.draw(c); in testDraw_FixedText_NoStyled() 288 layout.draw(c); in testDraw_RandomText_Styled() 305 layout.draw(c); in testDraw_RandomText_NoStyled() 323 layout.draw(c); in testDraw_RandomText_Styled_WithoutCache() 341 layout.draw(c); in testDraw_RandomText_NoStyled_WithoutCache() 359 layout.draw(c); in testDraw_PrecomputedText_Styled() 377 layout.draw(c); in testDraw_PrecomputedText_NoStyled() 396 layout.draw(c); in testDraw_PrecomputedText_Styled_WithoutCache() 415 layout.draw(c); in testDraw_PrecomputedText_NoStyled_WithoutCache()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | TrivialAnimationActivity.java | 33 public void draw(Canvas canvas) { in onCreate() 41 super.draw(canvas); in onCreate()
|
/frameworks/base/libs/hwui/private/hwui/ |
D | WebViewFunctor.h | 54 void (*draw)(int functor, void* data, const DrawGlInfo& params); member 60 void (*draw)(int functor, void* data, const VkFunctorDrawParams& params); member
|
/frameworks/base/graphics/java/android/graphics/ |
D | NinePatch.java | 194 public void draw(Canvas canvas, RectF location) { in draw() method in NinePatch 204 public void draw(Canvas canvas, Rect location) { in draw() method in NinePatch 216 public void draw(Canvas canvas, Rect location, Paint paint) { in draw() method in NinePatch
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/ |
D | StickyHeaderRecyclerView.java | 94 public void draw(Canvas canvas) { in draw() method in StickyHeaderRecyclerView 95 super.draw(canvas); in draw() 114 drawTarget.draw(canvas); in draw()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.cpp | 284 config(config), read(nullptr), draw(nullptr), cnx(cnx), version(version) { in egl_context_t() 289 draw = nullptr; in onLooseCurrent() 292 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent() argument 294 this->draw = draw; in onMakeCurrent()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | BoundsCheckTest.java | 51 mBitmap1.draw(canvas); in onDraw() 54 mVector1.draw(canvas); in onDraw()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockImageSpan.java | 49 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, in draw() method in RestrictedLockImageSpan 59 drawable.draw(canvas); in draw()
|