Home
last modified time | relevance | path

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

12

/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DAllocationAdapter.java105 int ty = mAdaptedAllocation.mType.getY(); in initLOD() local
109 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD()
114 if (ty > 1) ty >>= 1; in initLOD()
119 mCurrentDimY = ty; in initLOD()
/frameworks/base/graphics/java/android/renderscript/
DAllocationAdapter.java105 int ty = mAdaptedAllocation.mType.getY(); in initLOD() local
109 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD()
114 if (ty > 1) ty >>= 1; in initLOD()
119 mCurrentDimY = ty; in initLOD()
/frameworks/compile/libbcc/lib/AndroidBitcode/ARM/
DARMABCExpandVAArg.cpp43 llvm::Type *ty = pty->getContainedType(0); in expandVAArg() local
55 uint64_t ty_align = td->getABITypeAlignment(ty); in expandVAArg()
70 uint64_t offset = llvm::RoundUpToAlignment(td->getTypeSizeInBits(ty)/8, 4); in expandVAArg()
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
DMipsABCExpandVAArg.cpp43 llvm::Type *ty = pty->getContainedType(0); in expandVAArg() local
53 int64_t type_align = td->getABITypeAlignment(ty); in expandVAArg()
72 llvm::RoundUpToAlignment(td->getTypeSizeInBits(ty) / 8, type_align); in expandVAArg()
/frameworks/compile/libbcc/lib/AndroidBitcode/X86/
DX86ABCExpandVAArg.cpp43 llvm::Type *ty = pty->getContainedType(0); in expandVAArg() local
57 uint64_t offset = llvm::RoundUpToAlignment(td->getTypeSizeInBits(ty)/8, 4); in expandVAArg()
/frameworks/native/services/surfaceflinger/
DTransform.cpp98 float Transform::ty() const { in ty() function in android::Transform
111 void Transform::set(float tx, float ty) in set() argument
114 mMatrix[2][1] = ty; in set()
117 if (isZero(tx) && isZero(ty)) { in set()
242 int ypos = floorf(ty() + 0.5f); in transform()
DTransform.h68 float ty() const;
72 void set(float tx, float ty);
DLayerBase.cpp115 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y) in setPosition()
457 s.layerStack, s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h, in dump()
/frameworks/support/renderscript/v8/rs_support/
DrsType.cpp89 uint32_t ty = mHal.state.dimY; in compute() local
94 mHal.state.lodDimY[lod] = ty; in compute()
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
99 if (ty > 1) ty >>= 1; in compute()
/frameworks/rs/
DrsType.cpp89 uint32_t ty = mHal.state.dimY; in compute() local
94 mHal.state.lodDimY[lod] = ty; in compute()
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
99 if (ty > 1) ty >>= 1; in compute()
/frameworks/base/core/java/android/webkit/
DZoomManager.java495 int ty = Math.round(scale in animateZoom() local
498 ty = -(ty <= titleHeight ? Math.max(ty, 0) : WebViewClassic.pinLoc(ty in animateZoom()
503 … mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); in animateZoom()
506 canvas.translate(tx, ty); in animateZoom()
519 canvas.translate(tx, ty); in animateZoom()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java834 float ty = eventY - mWaveCenterY; in handleMove()
835 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove()
838 float limitY = ty * scale; in handleMove()
839 double angleRad = Math.atan2(-ty, tx); in handleMove()
860 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { in handleMove()
955 final float ty = y - mWaveCenterY;
956 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledTapRadiusSquared()) {
959 moveHandleTo(tx, ty, false);
DGlowPadView.java859 float ty = eventY - mWaveCenterY; in handleMove()
860 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove()
863 float limitY = ty * scale; in handleMove()
864 double angleRad = Math.atan2(-ty, tx); in handleMove()
887 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { in handleMove()
984 final float ty = y - mWaveCenterY;
985 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledGlowRadiusSquared()) {
988 updateGlowPosition(tx, ty);
/frameworks/base/core/jni/
Dandroid_view_GLES20DisplayList.cpp84 jobject clazz, DisplayList* displayList, float ty) { in android_view_GLES20DisplayList_setTranslationY() argument
85 displayList->setTranslationY(ty); in android_view_GLES20DisplayList_setTranslationY()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdAllocation.cpp85 uint32_t ty = drv->lod[0].dimY; in AllocationBuildPointerTable() local
89 drv->lod[lod].dimY = ty; in AllocationBuildPointerTable()
93 o += drv->lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable()
95 if (ty > 1) ty >>= 1; in AllocationBuildPointerTable()
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java790 private boolean translate(float tx, float ty) { in translate() argument
823 Math.min(maxBottom - mTranslateRect.top, ty)); in translate()
829 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); in translate()
837 return (translateX == tx) && (translateY == ty); in translate()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java792 private boolean translate(float tx, float ty) { in translate() argument
825 Math.min(maxBottom - mTranslateRect.top, ty)); in translate()
831 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); in translate()
839 return (translateX == tx) && (translateY == ty); in translate()
/frameworks/rs/driver/
DrsdAllocation.cpp250 uint32_t ty = drv->lod[0].dimY; in AllocationBuildPointerTable() local
254 drv->lod[lod].dimY = ty; in AllocationBuildPointerTable()
258 o += drv->lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable()
260 if (ty > 1) ty >>= 1; in AllocationBuildPointerTable()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java600 float ty, sy = dst.height() / src.height(); in native_setRectToRect() local
613 ty = dst.top - src.top * sy; in native_setRectToRect()
630 ty += diff; in native_setRectToRect()
637 d.mValues[5] = ty; in native_setRectToRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBeanBag.java392 final float ty = b.getTranslationY(); in onDraw() local
394 c.drawCircle(tx, ty, 4, pt); in onDraw()
/frameworks/native/libs/gui/
DSurfaceTexture.cpp611 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeCurrentTransformMatrixLocked() local
651 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeCurrentTransformMatrixLocked()
661 tx, ty, 0, 1, in computeCurrentTransformMatrixLocked()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java282 final float ty = -(top + bottom) * r_height; in orthoM() local
288 m[mOffset +13] = ty; in orthoM()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3697 const ResTable_type* const ty = typeConfigs->configs[tci]; in identifierForName() local
3698 const uint32_t typeOffset = dtohl(ty->entriesStart); in identifierForName()
3700 const uint8_t* const end = ((const uint8_t*)ty) + dtohl(ty->header.size); in identifierForName()
3702 (((const uint8_t*)ty) + dtohs(ty->header.headerSize)); in identifierForName()
3704 const size_t NE = dtohl(ty->entryCount); in identifierForName()
3713 if (offset > (dtohl(ty->header.size)-sizeof(ResTable_entry))) { in identifierForName()
3715 offset, dtohl(ty->header.size)); in identifierForName()
3728 (((const uint8_t*)ty) + offset); in identifierForName()
/frameworks/native/opengl/libagl/
Dmatrix.cpp872 const GLfloat ty = -(top + bottom) * r_height; in orthof() local
879 f[13] = ty; in orthof()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c721 printf(" ty = %u\n", timedTextStreamInformation.ty); in main()

12