/frameworks/ml/nn/tools/test_generator/ |
D | vts_generator.py | 139 ty = w.type.type 140 if ty == "TENSOR_QUANT8_ASYMM": 142 elif ty == "TENSOR_QUANT8_SYMM_PER_CHANNEL" or ty == "TENSOR_QUANT8_SYMM": 144 elif ty == "BOOL" or ty == "TENSOR_BOOL8": 146 elif ty == "TENSOR_FLOAT16" or ty == "FLOAT16": 150 elif ty in {"TENSOR_FLOAT32", "FLOAT32", "TENSOR_INT32", "INT32", "TENSOR_QUANT16_ASYMM"}: 151 if ty in ["TENSOR_FLOAT32", "FLOAT32"]: 153 elif ty in ["TENSOR_INT32", "INT32"]: 155 elif ty == "TENSOR_QUANT16_ASYMM":
|
D | slicing.py | 135 ty = o.type 148 "element_type": ty.type, 149 "shape": ty.GetRawShape(),
|
/frameworks/rs/rsov/compiler/spirit/ |
D | generate.py | 135 def enum_enumerants(ty, enumerants): argument 143 str += " %s%s = %sU,\n" % (ty, name, val) 147 def generate_enum(ty): argument 148 typeName = ty['kind'] 151 enum_enumerants(typeName, ty['enumerants'])) 165 for ty in operand_kinds: 166 category = ty['category'] 168 generate_enum(ty) 170 print "struct %s {\n%s};\n" % (ty['kind'], 171 generate_composite_fields(ty['bases'])) [all …]
|
/frameworks/native/libs/gui/ |
D | GLConsumerUtils.cpp | 62 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local 101 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeTransformMatrix() 111 tx, ty, 0, 1 in computeTransformMatrix()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_blur_validation.java | 65 Type ty = typeBuilder.create(); in run() local 67 input2D = Allocation.createTyped(RS, ty); in run() 68 output2D = Allocation.createTyped(RS, ty); in run()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_blur_validation.java | 67 Type ty = typeBuilder.create(); in run() local 69 input2D = Allocation.createTyped(RS, ty); in run() 70 output2D = Allocation.createTyped(RS, ty); in run()
|
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/ |
D | UT_blur_validation.java | 65 Type ty = typeBuilder.create(); in run() local 67 input2D = Allocation.createTyped(RS, ty); in run() 68 output2D = Allocation.createTyped(RS, ty); in run()
|
/frameworks/base/rs/java/android/renderscript/ |
D | AllocationAdapter.java | 45 int ty = mAdaptedAllocation.mType.getY(); in initLOD() local 49 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD() 54 if (ty > 1) ty >>= 1; in initLOD() 59 mCurrentDimY = ty; in initLOD()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | MDnsUtils.java | 38 String ty = getString(attributes.get(ATTRIBUTE__TY)); in isVendorPrinter() local 42 return (containsVendor(product, vendorValues) || containsVendor(ty, vendorValues) || in isVendorPrinter() 44 !(containsString(ty, EXCLUDE_FUJI) || containsString(product, EXCLUDE_FUJI) || in isVendorPrinter()
|
/frameworks/native/libs/ui/include/ui/ |
D | Transform.h | 69 float ty() const; 75 void set(float tx, float ty);
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Transform.h | 69 float ty() const; 75 void set(float tx, float ty);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
D | MDnsUtils.java | 41 String ty = getString(attributes.get(ATTRIBUTE__TY)); in isVendorPrinter() local 44 …return containsVendor(product, vendorValues) || containsVendor(ty, vendorValues) || containsVendor… in isVendorPrinter()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MovingSurfaceViewActivity.java | 67 public void setMyTranslationY(float ty) { in setMyTranslationY() argument 68 setTranslationY(ty); in setMyTranslationY()
|
/frameworks/rs/ |
D | rsType.cpp | 102 uint32_t ty = mHal.state.dimY; in compute() local 108 mHal.state.lodDimY[lod] = ty; in compute() 110 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u); in compute() 112 if (ty > 1) ty >>= 1; in compute() 124 mHal.state.lodDimY[0] = ty; in compute()
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 95 float Transform::ty() const { in ty() function in android::ui::Transform 116 void Transform::set(float tx, float ty) in set() argument 119 mMatrix[2][1] = ty; in set() 122 if (isZero(tx) && isZero(ty)) { in set() 272 int ypos = static_cast<int>(floorf(ty() + 0.5f)); in transform()
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | SurfaceTexture.cpp | 307 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local 345 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / bufferHeight; in computeTransformMatrix() 349 mat4 crop(sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1); in computeTransformMatrix()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | canny.rs | 337 int ty = cdy + dy[i]; 341 if (tq.x == tx && tq.y == ty) { 346 if (!(tx + x >= -5 && tx <= 5 && ty >= -5 && ty <= 5)) { 351 v = rsGetElementAt_uchar(edgeImage, tx + x, ty + y); 356 short3 tmp = {tx, ty, p_dist + 1};
|
/frameworks/rs/rsov/driver/ |
D | rsovAllocation.cpp | 110 uint32_t ty = alloc->mHal.drvState.lod[0].dimY; in AllocationBuildPointerTable() local 114 alloc->mHal.drvState.lod[lod].dimY = ty; in AllocationBuildPointerTable() 119 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable() 121 if (ty > 1) ty >>= 1; in AllocationBuildPointerTable()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 551 float ty, sy = dst.height() / src.height(); in nSetRectToRect() local 564 ty = dst.top - src.top * sy; in nSetRectToRect() 581 ty += diff; in nSetRectToRect() 588 d.mValues[5] = ty; in nSetRectToRect()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 990 private int translate(float tx, float ty) { in translate() argument 1022 Math.min(maxBottom - mTranslateRect.top, ty)); in translate() 1028 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); in translate() 1037 boolean didTranslateY = translateY == ty; in translate()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 853 float ty = stateToCommit->active_legacy.transform.ty(); in doTransactionResize() local 855 stateToCommit->active_legacy.transform.set(tx, ty); in doTransactionResize() 928 mCurrentState.requested_legacy.transform.ty() == y) in setPosition() 1291 info.mY = ds.active_legacy.transform.ty(); in getLayerDebugInfo() 1912 LayerProtoHelper::writePositionToProto(transform.tx(), transform.ty(), in writeToProto() 1915 LayerProtoHelper::writePositionToProto(requestedTransform.tx(), requestedTransform.ty(), in writeToProto()
|
D | Layer.h | 126 (transform.ty() == rhs.transform.ty());
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 324 uint32_t ty = alloc->mHal.drvState.lod[0].dimY; in AllocationBuildPointerTable() local 328 alloc->mHal.drvState.lod[lod].dimY = ty; in AllocationBuildPointerTable() 333 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable() 335 if (ty > 1) ty >>= 1; in AllocationBuildPointerTable()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 289 final float ty = -(top + bottom) * r_height; in orthoM() local 295 m[mOffset +13] = ty; in orthoM()
|
/frameworks/base/core/jni/ |
D | android_view_RenderNode.cpp | 239 static jboolean android_view_RenderNode_setTranslationY(jlong renderNodePtr, float ty) { in android_view_RenderNode_setTranslationY() argument 240 return SET_AND_DIRTY(setTranslationY, ty, RenderNode::TRANSLATION_Y | RenderNode::Y); in android_view_RenderNode_setTranslationY()
|