/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RectShapeTest.java | 114 RectShape shape = new RectShape(); local 117 shape.getOutline(outline); 123 shape.resize(100, 100); 124 shape.getOutline(outline);
|
PathShapeTest.java | 117 PathShape shape; local 121 shape = new PathShape(new Path(), 0, 0); 122 shape.getOutline(outline);
|
/development/tools/mkstubs/tests/data/ |
TestTemplateClass.java | 47 public void draw(List<? extends Rect> shape) {
|
/external/pdfium/xfa/fxbarcode/datamatrix/ |
BC_EncoderContext.h | 22 void setSymbolShape(SymbolShapeHint shape);
|
BC_EncoderContext.cpp | 55 void CBC_EncoderContext::setSymbolShape(SymbolShapeHint shape) { 56 m_shape = shape;
|
BC_DataMatrixWriter.cpp | 59 CBC_SymbolShapeHint::SymbolShapeHint shape = local 65 contents, ecLevel, shape, minSize, maxSize, e); 69 encoded.GetLength(), shape, minSize, maxSize, true, e);
|
/external/skia/src/gpu/ |
GrPathRenderer.h | 59 * @param shape the shape that will be drawn. Must be simple fill styled and non-inverse 62 StencilSupport getStencilSupport(const GrShape& shape) const { 64 SkDEBUGCODE(shape.asPath(&path);) 65 SkASSERT(shape.style().isSimpleFill()); 67 return this->onGetStencilSupport(shape); 75 * fShape The shape to draw 117 * fShape The shape to draw
|
GrSWMaskHelper.cpp | 53 void GrSWMaskHelper::drawShape(const GrShape& shape, SkRegion::Op op, GrAA aa, uint8_t alpha) { 55 paint.setPathEffect(shape.style().refPathEffect()); 56 shape.style().strokeRec().applyToPaint(&paint); 60 shape.asPath(&path); 129 * Software rasterizes shape to A8 mask and uploads the result to a scratch texture. Returns the 133 const GrShape& shape, 144 helper.drawShape(shape, SkRegion::kReplace_Op, aa, 0xFF);
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_shape.h | 94 /** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */ 101 /** \brief The mode of these window-shape parameters. */ 103 /** \brief Window-shape parameters. */ 108 * \brief Set the shape and parameters of a shaped window. 111 * \param shape A surface encoding the desired shape for the window. 114 * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW 120 extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode); 123 * \brief Get the shape parameters of a shaped window. 126 * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_shape.h | 94 /** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */ 101 /** \brief The mode of these window-shape parameters. */ 103 /** \brief Window-shape parameters. */ 108 * \brief Set the shape and parameters of a shaped window. 111 * \param shape A surface encoding the desired shape for the window. 114 * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW 120 extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode); 123 * \brief Get the shape parameters of a shaped window. 126 * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_shape.h | 94 /** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */ 101 /** \brief The mode of these window-shape parameters. */ 103 /** \brief Window-shape parameters. */ 108 * \brief Set the shape and parameters of a shaped window. 111 * \param shape A surface encoding the desired shape for the window. 114 * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW 120 extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode); 123 * \brief Get the shape parameters of a shaped window. 126 * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_shape.h | 94 /** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */ 101 /** \brief The mode of these window-shape parameters. */ 103 /** \brief Window-shape parameters. */ 108 * \brief Set the shape and parameters of a shaped window. 111 * \param shape A surface encoding the desired shape for the window. 114 * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW 120 extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode); 123 * \brief Get the shape parameters of a shaped window. 126 * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape [all...] |
/external/harfbuzz_ng/test/shaping/ |
run-tests.sh | 7 hb_shape=$top_builddir/util/hb-shape$EXEEXT 31 echo "hb-shape failed." >&2
|
/frameworks/base/libs/hwui/tests/microbench/ |
ShadowBench.cpp | 73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { 75 opaque, &shape, &testData.casterTransformXY,
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
CollectorOps.java | 81 protected TestParallelSizedOp(StreamShape shape) { 82 super(0, shape);
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
CollectorOps.java | 82 protected TestParallelSizedOp(StreamShape shape) { 83 super(0, shape);
|
/prebuilts/go/darwin-x86/test/fixedbugs/bug088.dir/ |
bug1.go | 18 bug1.go:8: shape error across :=
|
/prebuilts/go/linux-x86/test/fixedbugs/bug088.dir/ |
bug1.go | 18 bug1.go:8: shape error across :=
|
/frameworks/ml/nn/common/operations/ |
SimpleMath.cpp | 28 bool addFloat32(const float* in1, const Shape& shape1, 29 const float* in2, const Shape& shape2, 31 float* out, const Shape& shapeOut) { 57 bool addQuant8(const uint8_t* in1, const Shape& shape1, 58 const uint8_t* in2, const Shape& shape2, 60 uint8_t* out, const Shape& shapeOut) { 131 bool mulFloat32(const float* in1, const Shape& shape1, 132 const float* in2, const Shape& shape2, 134 float* out, const Shape& shapeOut) { 160 bool mulQuant8(const uint8_t* in1, const Shape& shape1 [all...] |
/cts/apps/CameraITS/pymodules/its/ |
image.py | 101 img = numpy.ndarray(shape=(2*h*w*4,), dtype='<f', buffer=cap["data"]) 141 if img.shape[1] % 5 != 0: 143 w = img.shape[1]*4/5 144 h = img.shape[0] 195 if img.shape[1] % 3 != 0: 197 w = img.shape[1]*2/3 198 h = img.shape[0] 266 img = numpy.ndarray(shape=(h*w,), dtype='<u2', 410 h,w = r_plane.shape[:2] 486 if len(a.shape) == 3 and a.shape[2] == 3 [all...] |
/cts/apps/CameraITS/tests/dng_noise_model/ |
dng_noise_model.py | 34 tile_rows, tile_cols = a.shape[0]/tile_size, a.shape[1]/tile_size 140 p = p[0:p.shape[0] - p.shape[0]%tile_size, 141 0:p.shape[1] - p.shape[1]%tile_size] 217 a /= (np.tile(gains, (a.shape[1], 1)).T)
|
/frameworks/base/libs/hwui/ |
TessellationCache.cpp | 44 // Shape bits should be set to zeroes, because they are used for hash calculation. 45 memset(&shape, 0, sizeof(Shape)); 55 // Shape bits should be set to zeroes, because they are used for hash calculation. 56 memset(&shape, 0, sizeof(Shape)); 68 const Shape::RoundRect& lRect = shape.roundRect; 69 const Shape::RoundRect& rRect = rhs.shape.roundRect [all...] |
/external/skia/gm/ |
shapes.cpp | 16 * (zero radius, near-zero radius, inner shape overlap, etc.) It uses an xfermode of darken to help 99 const SkRRect& shape = fShapes[i]; variable 102 switch (shape.getType()) { 104 canvas->drawRect(shape.rect(), paint); 107 canvas->drawOval(shape.rect(), paint); 110 canvas->drawRRect(shape, paint);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
FindOps.java | 109 private final StreamShape shape; field in class:FindOps.FindOp 120 * @param shape stream shape of elements to search 128 StreamShape shape, 133 this.shape = shape; 146 return shape;
|
/external/python/cpython2/Demo/turtle/ |
tdemo_planet_and_moon.py | 20 from turtle import Shape, Turtle, mainloop, Vec2D as Vec 40 def __init__(self, m, x, v, gravSys, shape): 41 Turtle.__init__(self, shape=shape) 88 planetshape = Shape("compound")
|