Searched refs:mShape (Results 1 – 3 of 3) sorted by relevance
/frameworks/ml/nn/common/include/ |
D | CpuOperationUtils.h | 145 mShape = shape; in initialize() 147 return convertNchwToNhwc(mDataOriginal, shape, &mDataNhwc, &mShape); in initialize() 153 const Shape& getNhwcShape() { return mShape; } in getNhwcShape() 158 Shape mShape; variable 170 mShape = shape; in initialize() 173 mShape.dimensions = {dim[0], dim[2], dim[3], dim[1]}; in initialize() 180 const Shape& getNhwcShape() { return mShape; } in getNhwcShape() 183 return convertNhwcToNchw(mDataNhwc, mShape, mDataOriginal); in commit() 191 Shape mShape; variable
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 95 mShapeState.mShape = s; in ShapeDrawable() 102 return mShapeState.mShape; in getShape() 109 mShapeState.mShape = s; in setShape() 247 if (state.mShape != null) { in draw() 252 onDraw(state.mShape, canvas, paint); in draw() 325 if (mShapeState.mShape == null) { in getOpacity() 490 if (mShapeState.mShape != null) { in updateShape() 495 mShapeState.mShape.resize(w, h); in updateShape() 505 if (mShapeState.mShape != null) { in getOutline() 506 mShapeState.mShape.getOutline(outline); in getOutline() [all …]
|
D | GradientDrawable.java | 453 return mGradientState.mShape; in getShape() 741 final boolean useLayer = haveStroke && haveFill && st.mShape != LINE && in draw() 785 switch (st.mShape) { in draw() 1445 state.mShape = a.getInt(R.styleable.GradientDrawable_shape, state.mShape); 1448 if (state.mShape == RING) { 1861 switch (st.mShape) { in getOutline() 1917 public @Shape int mShape = RECTANGLE; field in GradientDrawable.GradientState 1990 mShape = orig.mShape; in GradientState() 2174 mShape = shape; in setShape() 2306 mOpaqueOverBounds = mShape == RECTANGLE in computeOpacity()
|