Home
last modified time | relevance | path

Searched refs:drawables (Results 1 – 25 of 33) sorted by relevance

12

/external/setupdesign/main/src/com/google/android/setupdesign/view/
DNavigationBarButton.java55 Drawable[] drawables = getCompoundDrawablesRelative(); in init() local
56 for (int i = 0; i < drawables.length; i++) { in init()
57 if (drawables[i] != null) { in init()
58 drawables[i] = TintedDrawable.wrap(drawables[i]); in init()
62 drawables[0], drawables[1], drawables[2], drawables[3]); in init()
122 Drawable[] drawables = new Drawable[6]; in getAllCompoundDrawables() local
124 drawables[0] = compoundDrawables[0]; // left in getAllCompoundDrawables()
125 drawables[1] = compoundDrawables[1]; // top in getAllCompoundDrawables()
126 drawables[2] = compoundDrawables[2]; // right in getAllCompoundDrawables()
127 drawables[3] = compoundDrawables[3]; // bottom in getAllCompoundDrawables()
[all …]
/external/skia/src/core/
DSkScalerCache.cpp163 size_t SkScalerCache::commonFilterLoop(SkDrawableGlyphBuffer* drawables, Fn&& fn) { in commonFilterLoop() argument
165 for (auto [i, packedID, pos] : SkMakeEnumerate(drawables->input())) { in commonFilterLoop()
177 size_t SkScalerCache::prepareForDrawingMasksCPU(SkDrawableGlyphBuffer* drawables) { in prepareForDrawingMasksCPU() argument
180 size_t delta = this->commonFilterLoop(drawables, in prepareForDrawingMasksCPU()
186 drawables->push_back(glyph, i); in prepareForDrawingMasksCPU()
196 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForMaskDrawing() argument
198 size_t delta = this->commonFilterLoop(drawables, in prepareForMaskDrawing()
201 drawables->push_back(fGlyphForIndex[digest.index()], i); in prepareForMaskDrawing()
211 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForSDFTDrawing() argument
213 size_t delta = this->commonFilterLoop(drawables, in prepareForSDFTDrawing()
[all …]
DSkGlyphRunPainter.h73 SkDrawableGlyphBuffer* drawables, SkScalar scale, SkPoint origin,
76 virtual void paintMasks(SkDrawableGlyphBuffer* drawables, const SkPaint& paint) const = 0;
138 virtual void processDeviceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
141 virtual void processSourceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
144 virtual void processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables,
148 virtual void processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables,
DSkDraw_text.cpp38 void SkDraw::paintMasks(SkDrawableGlyphBuffer* drawables, const SkPaint& paint) const { in paintMasks() argument
57 for (auto [variant, pos] : drawables->drawable()) { in paintMasks()
84 for (auto [variant, pos] : drawables->drawable()) { in paintMasks()
114 void SkDraw::paintPaths(SkDrawableGlyphBuffer* drawables, in paintPaths() argument
118 for (auto [variant, pos] : drawables->drawable()) { in paintPaths()
DSkScalerCache.h92 size_t prepareForDrawingMasksCPU(SkDrawableGlyphBuffer* drawables) SK_EXCLUDES(fMu);
102 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) SK_EXCLUDES(fMu);
105 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) SK_EXCLUDES(fMu);
108 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) SK_EXCLUDES(fMu);
116 size_t commonFilterLoop(SkDrawableGlyphBuffer* drawables, Fn&& fn) SK_REQUIRES(fMu);
DSkStrikeForGPU.h35 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) = 0;
38 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) = 0;
41 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) = 0;
DSkRecordDraw.h32 SkDrawable* const drawables[], int drawableCount,
50 SkDrawable* const drawables[], int drawableCount,
55 , fDrawables(drawables)
DSkRecordedDrawable.cpp17 SkDrawable* const* drawables = nullptr; in onDraw() local
20 drawables = fDrawableList->begin(); in onDraw()
23 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH.get(), nullptr); in onDraw()
DSkPictureRecorder.cpp117 SkDrawable* const* drawables = nullptr; in partialReplay() local
121 drawables = drawableList->begin(); in partialReplay()
123 …SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, nullptr/*bbh*/, nullptr/*callbac… in partialReplay()
DSkRemoteGlyphCache.cpp266 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) override;
269 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) override;
272 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) override;
285 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects, Rejector&& reject);
469 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects, Rejector&& reject) { in commonMaskLoop() argument
470 drawables->forEachGlyphID( in commonMaskLoop()
492 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForMaskDrawing() argument
493 for (auto [i, variant, _] : SkMakeEnumerate(drawables->input())) { in prepareForMaskDrawing()
530 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForSDFTDrawing() argument
531 this->commonMaskLoop(drawables, rejects, in prepareForSDFTDrawing()
[all …]
DSkDraw.h84 void paintPaths(SkDrawableGlyphBuffer* drawables,
89 void paintMasks(SkDrawableGlyphBuffer* drawables, const SkPaint& paint) const override;
DSkStrikeCache.h98 void prepareForDrawingMasksCPU(SkDrawableGlyphBuffer* drawables) { in prepareForDrawingMasksCPU() argument
99 size_t increase = fScalerCache.prepareForDrawingMasksCPU(drawables); in prepareForDrawingMasksCPU()
DSkOverdrawCanvas.cpp55 void paintMasks(SkDrawableGlyphBuffer* drawables, const SkPaint& paint) const override { in paintMasks() argument
56 for (auto t : drawables->drawable()) { in paintMasks()
DSkRecordDraw.cpp17 SkDrawable* const drawables[], in SkRecordDraw() argument
34 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw()
46 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLayerDrawableTest.java33 protected Drawable[] drawables; field in ShadowLayerDrawableTest
46 drawables = new Drawable[]{drawable1000, drawable2000, drawable3000}; in setUp()
51 LayerDrawable layerDrawable = new LayerDrawable(drawables); in testGetNumberOfLayers()
57 LayerDrawable layerDrawable = new LayerDrawable(drawables); in testSetDrawableByLayerId1()
70 LayerDrawable layerDrawable = new LayerDrawable(drawables); in testSetDrawableByLayerId2()
83 LayerDrawable layerDrawable = new LayerDrawable(drawables); in setDrawableByLayerId_shouldReturnFalseIfIdNotFound()
90 LayerDrawable layerDrawable = new LayerDrawable(drawables); in setDrawableByLayerId_shouldReturnTrueIfIdWasFound()
DShadowLayoutInflaterTest.java260 Drawable[] drawables = view.getCompoundDrawables(); in testTextViewCompoundDrawablesAreSet() local
261 assertThat(shadowOf(drawables[0]).getCreatedFromResId()).isEqualTo(R.drawable.fourth_image); in testTextViewCompoundDrawablesAreSet()
262 assertThat(shadowOf(drawables[1]).getCreatedFromResId()).isEqualTo(R.drawable.an_image); in testTextViewCompoundDrawablesAreSet()
263 assertThat(shadowOf(drawables[2]).getCreatedFromResId()).isEqualTo(R.drawable.an_other_image); in testTextViewCompoundDrawablesAreSet()
264 assertThat(shadowOf(drawables[3]).getCreatedFromResId()).isEqualTo(R.drawable.third_image); in testTextViewCompoundDrawablesAreSet()
/external/skia/src/gpu/text/
DGrTextBlob.h245 const SkZip<SkGlyphVariant, SkPoint>& drawables,
249 void processDeviceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
251 void processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables,
254 void processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables,
259 void processSourceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
297 void processDeviceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
299 void processSourceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
301 void processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables,
303 void processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables,
DGrTextBlob.cpp183 static GrSubRunOwner Make(const SkZip<SkGlyphVariant, SkPoint>& drawables,
271 GrSubRunOwner PathSubRun::Make(const SkZip<SkGlyphVariant, SkPoint>& drawables, in Make() argument
277 drawables.size(), in Make()
279 auto [variant, pos] = drawables[i]; in Make()
282 SkSpan<PathGlyph> paths{pathData.get(), drawables.size()}; in Make()
444 static GrSubRunOwner Make(const SkZip<SkGlyphVariant, SkPoint>& drawables,
509 GrSubRunOwner DirectMaskSubRun::Make(const SkZip<SkGlyphVariant, SkPoint>& drawables, in Make() argument
514 DevicePosition* glyphLeftTop = alloc->makePODArray<DevicePosition>(drawables.size()); in Make()
515 GlyphVector::Variant* glyphIDs = alloc->makePODArray<GlyphVector::Variant>(drawables.size()); in Make()
524 for (auto [variant, pos] : drawables) { in Make()
[all …]
/external/skqp/src/core/
DSkRecordDraw.h31 SkDrawable* const drawables[], int drawableCount,
49 SkDrawable* const drawables[], int drawableCount,
54 , fDrawables(drawables)
DSkRecordedDrawable.cpp17 SkDrawable* const* drawables = nullptr; in onDraw() local
20 drawables = fDrawableList->begin(); in onDraw()
23 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH.get(), nullptr); in onDraw()
DSkPictureRecorder.cpp107 SkDrawable* const* drawables = nullptr; in partialReplay() local
111 drawables = drawableList->begin(); in partialReplay()
113 …SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, nullptr/*bbh*/, nullptr/*callbac… in partialReplay()
DSkRecordDraw.cpp16 SkDrawable* const drawables[], in SkRecordDraw() argument
33 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw()
45 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw()
/external/mesa3d/docs/_extra/specs/
DMESA_pixmap_colormap.spec32 Since Mesa allows RGB rendering into drawables with PseudoColor,
/external/mesa3d/src/glx/apple/
DRELEASE_NOTES41 Support for GLXPbuffers has been added. These are drawables that are
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java121 static final Map<Pair<String, Integer>, Drawable> drawables = new LinkedHashMap<>(); field in ShadowPackageManager
551 drawables.put(new Pair(packageName, resourceId), drawable); in addDrawableResolution()
1116 drawables.clear(); in reset()

12