Searched defs:dims (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilter.java68 int[] dims = imageFrame.getDimensions();
74 drawBoxes(pixels, faces, dims);
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { argument
85 int top = (tempRect.top+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE;
86 int bottom = (tempRect.bottom+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE;
87 int left = (tempRect.left+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE;
88 int right = (tempRect.right+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE;
92 } else if (top > dims[1]) {
93 top = dims[1];
97 } else if (left > dims[
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.cpp57 const uint32_t *dims, size_t dimLength) {
55 setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, const Element *e, const uint32_t *dims, size_t dimLength) argument
H A DrsCpuIntrinsic3DLUT.cpp73 int4 dims = { local
79 const float4 m = (float4)(1.f / 255.f) * convert_float4(dims);
92 dims.x, dims.y, dims.z);
H A DrsCpuScript.cpp1177 const uint32_t *dims, size_t dimLength) {
1200 for (uint32_t i = 0; i < dims[0]; i++) {
1207 for (uint32_t i = 0; i < dims[0]; i++) {
1175 setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, const Element *elem, const uint32_t *dims, size_t dimLength) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptCThunker.java210 void thunkSetVar(int index, FieldPacker v, Element e, int[] dims) { argument
215 setVar(index, nfp, et.mN, dims);
H A DScript.java406 * @param dims
408 public void setVar(int index, FieldPacker v, Element e, int[] dims) { argument
410 mT.thunkSetVar(index, v, e, dims);
414 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims);
H A DRenderScript.java597 int e, int[] dims);
599 int e, int[] dims) {
601 rsnScriptSetVarVE(mContext, id, slot, val, e, dims);
596 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument
598 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument
/frameworks/rs/driver/
H A DrsdBcc.cpp134 const uint32_t *dims, size_t dimLength) {
136 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength);
131 rsdScriptSetGlobalVarWithElemDims(const Context *dc, const Script *s, uint32_t slot, void *data, size_t dataLength, const android::renderscript::Element *elem, const uint32_t *dims, size_t dimLength) argument
/frameworks/base/rs/java/android/renderscript/
H A DScript.java338 public void setVar(int index, FieldPacker v, Element e, int[] dims) { argument
339 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims);
H A DRenderScript.java715 long e, int[] dims);
717 long e, int[] dims) {
719 rsnScriptSetVarVE(mContext, id, slot, val, e, dims);
714 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims) argument
716 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameType.java360 private static String keyValueForType(int elemId, int dims, int hints, Class<?> clazz) { argument
361 return elemId + ":" + dims + ":" + hints + ":" + (clazz != null ? clazz.getName() : "0");
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAbstractClassAdapter.java302 public void visitMultiANewArrayInsn(String desc, int dims) { argument
305 super.visitMultiANewArrayInsn(desc, dims);
H A DDelegateMethodAdapter.java434 public void visitMultiANewArrayInsn(String desc, int dims) { argument
436 mOrgWriter.visitMultiANewArrayInsn(desc, dims);
H A DStubMethodAdapter.java349 public void visitMultiANewArrayInsn(String desc, int dims) { argument
351 mParentVisitor.visitMultiANewArrayInsn(desc, dims);
H A DAsmAnalyzer.java738 public void visitMultiANewArrayInsn(String desc, int dims) { argument
H A DDependencyFinder.java611 public void visitMultiANewArrayInsn(String desc, int dims) { argument
/frameworks/rs/
H A DrsScript.cpp76 const uint32_t *dims, size_t dimLen) {
83 (void *)val, len, e, dims, dimLen);
284 const uint32_t *dims, size_t dimLen) {
287 s->setVar(slot, data, len, e, dims, dimLen);
75 setVar(uint32_t slot, const void *val, size_t len, Element *e, const uint32_t *dims, size_t dimLen) argument
282 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const uint32_t *dims, size_t dimLen) argument
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp736 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument
741 jint dimsLen = _env->GetArrayLength(dims) * sizeof(int);
742 jint *dimsPtr = _env->GetIntArrayElements(dims, NULL);
746 _env->ReleaseIntArrayElements(dims, dimsPtr, JNI_ABORT);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1046 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jlong elem, jintArray dims) argument
1051 jint dimsLen = _env->GetArrayLength(dims) * sizeof(int);
1052 jint *dimsPtr = _env->GetIntArrayElements(dims, NULL);
1056 _env->ReleaseIntArrayElements(dims, dimsPtr, JNI_ABORT);

Completed in 279 milliseconds