Home
last modified time | relevance | path

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

12

/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 = dl->getABITypeAlignment(ty); in expandVAArg()
70 uint64_t offset = llvm::RoundUpToAlignment(dl->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 = dl->getABITypeAlignment(ty); in expandVAArg()
72 llvm::RoundUpToAlignment(dl->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(dl->getTypeSizeInBits(ty)/8, 4); in expandVAArg()
/frameworks/native/services/surfaceflinger/
DTransform.h68 float ty() const;
72 void set(float tx, float ty);
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()
DLayer.cpp845 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y) in setPosition()
1200 s.layerStack, s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h, in dump()
/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()
DWebViewClassic.java7817 float ty = mTranslate.y * mProgress; in draw() local
7819 canvas.translate(-tx, -ty); in draw()
7829 ty = mTranslate.y - ty; in draw()
7830 canvas.translate(tx, ty); in draw()
/frameworks/rs/
DrsType.cpp93 uint32_t ty = mHal.state.dimY; in compute() local
98 mHal.state.lodDimY[lod] = ty; in compute()
101 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
103 if (ty > 1) ty >>= 1; in compute()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
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);
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);
/frameworks/base/core/jni/
Dandroid_view_GLES20DisplayList.cpp108 jobject clazz, DisplayList* displayList, float ty) { in android_view_GLES20DisplayList_setTranslationY() argument
109 displayList->setTranslationY(ty); in android_view_GLES20DisplayList_setTranslationY()
/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/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/
DGLConsumer.cpp630 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeCurrentTransformMatrixLocked() local
670 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeCurrentTransformMatrixLocked()
680 tx, ty, 0, 1, in computeCurrentTransformMatrixLocked()
/frameworks/rs/driver/
DrsdAllocation.cpp311 uint32_t ty = alloc->mHal.drvState.lod[0].dimY; in AllocationBuildPointerTable() local
315 alloc->mHal.drvState.lod[lod].dimY = ty; in AllocationBuildPointerTable()
320 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable()
322 if (ty > 1) ty >>= 1; in AllocationBuildPointerTable()
/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.cpp3701 const ResTable_type* const ty = typeConfigs->configs[tci]; in identifierForName() local
3702 const uint32_t typeOffset = dtohl(ty->entriesStart); in identifierForName()
3704 const uint8_t* const end = ((const uint8_t*)ty) + dtohl(ty->header.size); in identifierForName()
3706 (((const uint8_t*)ty) + dtohs(ty->header.headerSize)); in identifierForName()
3708 const size_t NE = dtohl(ty->entryCount); in identifierForName()
3717 if (offset > (dtohl(ty->header.size)-sizeof(ResTable_entry))) { in identifierForName()
3719 offset, dtohl(ty->header.size)); in identifierForName()
3732 (((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()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp3083 int ty = (int) floorf(y + currentTransform().getTranslateY() + 0.5f); in drawLayer() local
3086 setupDrawModelViewTranslate(tx, ty, in drawLayer()
3087 tx + layer->layer.getWidth(), ty + layer->layer.getHeight(), true); in drawLayer()
/frameworks/base/core/java/android/view/
DViewGroup.java1130 final float ty = event.mY; in dispatchDragEvent() local
1235 event.mY = ty; in dispatchDragEvent()
1271 event.mY = ty; in dispatchDragEvent()
/frameworks/base/tools/aapt/
DResourceTable.cpp3312 const type ty = this != NULL ? mType : TYPE_ITEM; in flatten() local
3314 if (ty == TYPE_BAG) { in flatten()
3322 if (ty != TYPE_BAG) { in flatten()

12