Home
last modified time | relevance | path

Searched refs:ty (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/startop/scripts/trace_analyzer/
Dqueries_mark_write_join.sql37 CAST(ty.predictor_name AS integer) AS atrace_pid,
42 (SELECT * FROM tracing_mark_write_split_array WHERE gen = 2) AS ty
43 ON tx.predictorset_id = ty.predictorset_id
/frameworks/native/libs/gui/
DGLConsumerUtils.cpp62 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/
DUT_blur_validation.java65 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/RsMinimalTest/src/com/android/rs/minimaltest/
DUT_blur_validation.java65 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/
DUT_blur_validation.java67 Type ty = typeBuilder.create(); in run() local
69 input2D = Allocation.createTyped(RS, ty); in run()
70 output2D = Allocation.createTyped(RS, ty); in run()
/frameworks/base/rs/java/android/renderscript/
DAllocationAdapter.java45 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/
DMDnsUtils.java38 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/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DMDnsUtils.java41 String ty = getString(attributes.get(ATTRIBUTE__TY)); in isVendorPrinter() local
44 …return containsVendor(product, vendorValues) || containsVendor(ty, vendorValues) || containsVendor… in isVendorPrinter()
/frameworks/rs/
DrsType.cpp102 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMovingSurfaceViewActivity.java67 public void setMyTranslationY(float ty) { in setMyTranslationY() argument
68 setTranslationY(ty); in setMyTranslationY()
/frameworks/native/libs/ui/include/ui/
DTransform.h71 float ty() const;
77 void set(float tx, float ty);
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h71 float ty() const;
77 void set(float tx, float ty);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java439 for (int ty = r.top, i = 0; ty < r.bottom; ty += size, i++) { in draw()
443 drawTile(canvas, tx, ty, level, x, y, length); in draw()
594 int tx, int ty, int level, float x, float y, float length) { in drawTile() argument
600 Tile tile = getTile(tx, ty, level); in drawTile()
623 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
624 (ty + size) * scaleY); in drawTile()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py51 def Dequantize(v, ty): argument
52 v -= ty.zeroPoint
53 if ty.scale != 0:
54 v *= ty.scale
55 if isinstance(ty.extraParams, SymmPerChannelQuantParams):
56 v *= ty.extraParams.GetScalesBroadcastArray(ty.dimensions)
60 def Quantize(v, ty): argument
61 if ty.scale != 0:
62 v /= ty.scale
63 if isinstance(ty.extraParams, SymmPerChannelQuantParams):
[all …]
/frameworks/native/libs/ui/
DTransform.cpp104 float Transform::ty() const { in ty() function in android::ui::Transform
125 void Transform::set(float tx, float ty) in set() argument
128 mMatrix[2][1] = ty; in set()
131 if (isZero(tx) && isZero(ty)) { in set()
281 int ypos = static_cast<int>(floorf(ty() + 0.5f)); in transform()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp295 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
333 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / bufferHeight; in computeTransformMatrix()
337 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/
Dcanny.rscript337 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/native/services/surfaceflinger/
DBufferStateLayer.cpp228 if (mCurrentState.active.transform.tx() == x && mCurrentState.active.transform.ty() == y && in setFrame()
758 static_cast<float>(s.active.transform.ty()), in getRoundedCornerState()
760 static_cast<float>(s.active.transform.ty() + s.active.h)), in getRoundedCornerState()
DLayer.h130 (transform.ty() == rhs.transform.ty());
DLayer.cpp1027 mCurrentState.requested_legacy.transform.ty() == y) in setPosition()
1526 info.mY = ds.active_legacy.transform.ty(); in getLayerDebugInfo()
2249 LayerProtoHelper::writePositionToProto(transform.tx(), transform.ty(), in writeToProtoDrawingState()
2304 LayerProtoHelper::writePositionToProto(requestedTransform.tx(), requestedTransform.ty(), in writeToProtoCommonState()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java990 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/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java551 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/rs/driver/
DrsdAllocation.cpp324 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/
DMatrix.java289 final float ty = -(top + bottom) * r_height; in orthoM() local
295 m[mOffset +13] = ty; in orthoM()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp237 … android_view_RenderNode_setTranslationY(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr, float ty) { in android_view_RenderNode_setTranslationY() argument
238 return SET_AND_DIRTY(setTranslationY, ty, RenderNode::TRANSLATION_Y | RenderNode::Y); in android_view_RenderNode_setTranslationY()

12