Home
last modified time | relevance | path

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

123

/frameworks/native/libs/gui/
DDisplayInfo.cpp41 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
50 SAFE_PARCEL(parcel->readFloat, &ty); in readFromParcel()
53 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
72 SAFE_PARCEL(parcel->writeFloat, transform.ty()); in writeToParcel()
DGLConsumerUtils.cpp69 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
106 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeTransformMatrix()
116 tx, ty, 0, 1 in computeTransformMatrix()
DWindowInfo.cpp143 parcel->writeFloat(transform.ty()) ?: in writeToParcel()
177 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
196 parcel->readFloat(&ty) ?: in readFromParcel()
219 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
/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/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/base/rs/java/android/renderscript/
DAllocationAdapter.java49 int ty = mAdaptedAllocation.mType.getY(); in initLOD() local
53 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD()
58 if (ty > 1) ty >>= 1; in initLOD()
63 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/native/libs/binder/rust/src/parcel/
Dparcelable.rs346 impl $trait:ident for $ty:ty = $fn:path;
349 $(impl_parcelable!{$trait, $ty, $fn})*
366 {Serialize, $ty:ty, $write_fn:path} => {
367 impl Serialize for $ty {
379 {Deserialize, $ty:ty, $read_fn:path} => {
380 impl Deserialize for $ty {
398 {SerializeArray, $ty:ty, $write_array_fn:path} => {
399 impl SerializeArray for $ty {
422 {DeserializeArray, $ty:ty, $read_array_fn:path} => {
423 impl DeserializeArray for $ty {
/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/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMovingSurfaceViewActivity.java67 public void setMyTranslationY(float ty) { in setMyTranslationY() argument
68 setTranslationY(ty); in setMyTranslationY()
DStretchySurfaceViewActivity.java70 public void setMyTranslationY(float ty) { in setMyTranslationY() argument
71 setTranslationY(ty); in setMyTranslationY()
/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/native/libs/ui/include/ui/
DTransform.h75 float ty() const;
87 void set(float tx, float ty);
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h75 float ty() const;
87 void set(float tx, float ty);
/frameworks/native/include/ui/
DTransform.h75 float ty() const;
87 void set(float tx, float ty);
/frameworks/native/libs/ui/
DTransform.cpp117 float Transform::ty() const { in ty() function in android::ui::Transform
158 void Transform::set(float tx, float ty) { in set() argument
160 mMatrix[2][1] = ty; in set()
163 if (isZero(tx) && isZero(ty)) { in set()
315 int ypos = static_cast<int>(floorf(ty() + 0.5f)); in transform()
/frameworks/native/libs/binder/rust/src/
Dbinder.rs537 ($class:ty) => {
806 $($fname:ident: $fty:ty = $finit:expr),*
827 $($fname:ident: $fty:ty = $finit:expr),*
854 $($fname:ident: $fty:ty = $finit:expr),*
1099 $enum:ident : [$backing:ty; $size:expr] {
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp297 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
335 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / bufferHeight; in computeTransformMatrix()
339 mat4 crop(sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1); in computeTransformMatrix()
/frameworks/native/libs/input/
DInput.cpp745 float currYOffset = mTransform.ty(); in offsetLocation()
758 return (mTransform * mRawTransform.inverse()).ty(); in getRawYOffset()
762 mTransform.set(mTransform.tx() * globalScaleFactor, mTransform.ty() * globalScaleFactor); in scale()
764 mRawTransform.ty() * globalScaleFactor); in scale()
800 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
806 status |= parcel.readFloat(&ty); in readFromParcel()
808 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
818 status |= parcel.writeFloat(transform.ty()); in writeToParcel()
DInputTransport.cpp255 msg->body.motion.ty = body.motion.ty; in getSanitizedCopy()
642 msg.body.motion.ty = transform.ty(); in publishMotionEvent()
652 msg.body.motion.tyRaw = rawTransform.ty(); in publishMotionEvent()
/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/libs/binder/rust/tests/parcel_fuzzer/
Dread_utils.rs24 ($data_type:ty) => {
/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()

123