/external/skia/src/core/ |
SkCanvasPriv.h | 28 // The lattice has pointers directly into the readbuffer 29 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*); 31 static void WriteLattice(SkWriteBuffer&, const SkCanvas::Lattice&); 33 // return the byte-size of the lattice, even if the buffer is null 35 static size_t WriteLattice(void* storage, const SkCanvas::Lattice&);
|
SkLatticeIter.h | 19 * Disect a lattice request into an sequence of src-rect / dst-rect pairs 24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice); 26 SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst); 68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes;
|
SkCanvasPriv.cpp | 39 bool SkCanvasPriv::ReadLattice(SkReadBuffer& buffer, SkCanvas::Lattice* lattice) { 40 lattice->fXCount = buffer.readInt(); 41 lattice->fXDivs = buffer.skipT<int32_t>(lattice->fXCount); 42 lattice->fYCount = buffer.readInt(); 43 lattice->fYDivs = buffer.skipT<int32_t>(lattice->fYCount); 45 lattice->fRectTypes = nullptr; 46 lattice->fColors = nullptr [all...] |
SkColorSpaceXformer.h | 42 SkCanvas::Lattice apply(const SkCanvas::Lattice&, SkColor*, int);
|
SkLatticeIter.cpp | 26 bool SkLatticeIter::Valid(int width, int height, const SkCanvas::Lattice& lattice) { 28 SkASSERT(lattice.fBounds); 29 const SkIRect latticeBounds = *lattice.fBounds; 34 bool zeroXDivs = lattice.fXCount <= 0 || (1 == lattice.fXCount && 35 latticeBounds.fLeft == lattice.fXDivs[0]); 36 bool zeroYDivs = lattice.fYCount <= 0 || (1 == lattice.fYCount && 37 latticeBounds.fTop == lattice.fYDivs[0]) [all...] |
/external/skqp/src/core/ |
SkCanvasPriv.h | 28 // The lattice has pointers directly into the readbuffer 29 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*); 31 static void WriteLattice(SkWriteBuffer&, const SkCanvas::Lattice&); 33 // return the byte-size of the lattice, even if the buffer is null 35 static size_t WriteLattice(void* storage, const SkCanvas::Lattice&);
|
SkLatticeIter.h | 19 * Disect a lattice request into an sequence of src-rect / dst-rect pairs 24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice); 26 SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst); 57 SkTArray<SkCanvas::Lattice::RectType> fRectTypes;
|
SkCanvasPriv.cpp | 39 bool SkCanvasPriv::ReadLattice(SkReadBuffer& buffer, SkCanvas::Lattice* lattice) { 40 lattice->fXCount = buffer.readInt(); 41 lattice->fXDivs = buffer.skipT<int32_t>(lattice->fXCount); 42 lattice->fYCount = buffer.readInt(); 43 lattice->fYDivs = buffer.skipT<int32_t>(lattice->fYCount); 45 lattice->fRectTypes = nullptr; 46 lattice->fColors = nullptr [all...] |
SkColorSpaceXformer.h | 42 SkCanvas::Lattice apply(const SkCanvas::Lattice&, SkColor*, int);
|
SkLatticeIter.cpp | 26 bool SkLatticeIter::Valid(int width, int height, const SkCanvas::Lattice& lattice) { 28 SkASSERT(lattice.fBounds); 29 const SkIRect latticeBounds = *lattice.fBounds; 34 bool zeroXDivs = lattice.fXCount <= 0 || (1 == lattice.fXCount && 35 latticeBounds.fLeft == lattice.fXDivs[0]); 36 bool zeroYDivs = lattice.fYCount <= 0 || (1 == lattice.fYCount && 37 latticeBounds.fTop == lattice.fYDivs[0]) [all...] |
/frameworks/base/libs/hwui/ |
NinePatchUtils.h | 22 static inline void SetLatticeDivs(SkCanvas::Lattice* lattice, const Res_png_9patch& chunk, 24 lattice->fXCount = chunk.numXDivs; 25 lattice->fYCount = chunk.numYDivs; 26 lattice->fXDivs = chunk.getXDivs(); 27 lattice->fYDivs = chunk.getYDivs(); 31 if (lattice->fXCount > 0 && width == lattice->fXDivs[lattice->fXCount - 1]) { 32 lattice->fXCount-- [all...] |
/external/skia/gm/ |
lattice.cpp | 86 return SkString("lattice"); 118 SkCanvas::Lattice lattice; local 119 lattice.fXCount = 4; 120 lattice.fXDivs = xDivs + 1; 121 lattice.fYCount = 4; 122 lattice.fYDivs = yDivs + 1; 123 lattice.fRectTypes = nullptr; 124 lattice.fColors = nullptr; 128 lattice.fBounds = (bounds == SkIRect::MakeWH(image->width(), image->height())) 282 SkCanvas::Lattice lattice; local [all...] |
/external/skqp/gm/ |
lattice.cpp | 86 return SkString("lattice"); 118 SkCanvas::Lattice lattice; local 119 lattice.fXCount = 4; 120 lattice.fXDivs = xDivs + 1; 121 lattice.fYCount = 4; 122 lattice.fYDivs = yDivs + 1; 123 lattice.fRectTypes = nullptr; 124 lattice.fColors = nullptr; 128 lattice.fBounds = (bounds == SkIRect::MakeWH(image->width(), image->height())) 282 SkCanvas::Lattice lattice; local [all...] |
/external/llvm/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/external/skia/include/core/ |
SkOverdrawCanvas.h | 49 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override; 54 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
|
/external/skia/include/utils/ |
SkNoDrawCanvas.h | 70 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, 72 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
|
/external/skqp/include/core/ |
SkOverdrawCanvas.h | 49 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override; 54 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
|
/external/skqp/include/utils/ |
SkNoDrawCanvas.h | 70 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, 72 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 38 /// to specify what the lattice values are and how they handle merges etc. 39 /// This gives the client the power to compute lattice values from instructions, 40 /// constants, etc. The requirement is that lattice values must all fit into 69 /// ComputeConstant - Given a constant value, compute and return a lattice 81 /// GetConstant - If the specified lattice value is representable as an LLVM 89 /// lattice value corresponding to the specified argument. 94 /// MergeValues - Compute and return the merge of the two specified lattice 95 /// values. Merging should only move one direction down the lattice to 107 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Analysis/ |
SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 39 /// to specify what the lattice values are and how they handle merges etc. 40 /// This gives the client the power to compute lattice values from instructions, 41 /// constants, etc. The requirement is that lattice values must all fit into 70 /// ComputeConstant - Given a constant value, compute and return a lattice 80 /// GetConstant - If the specified lattice value is representable as an LLVM 88 /// lattice value corresponding to the specified argument. 93 /// MergeValues - Compute and return the merge of the two specified lattice 94 /// values. Merging should only move one direction down the lattice to 106 /// PrintValue - Render the specified lattice value to the specified stream [all...] |