Searched refs:ty (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
H A DAllocationAdapter.java101 int ty = mAdaptedAllocation.mType.getY();
105 if ((tx==1) && (ty == 1) && (tz == 1)) {
110 if (ty > 1) ty >>= 1;
115 mCurrentDimY = ty;
/frameworks/native/services/surfaceflinger/
H A DTransform.h70 float ty() const;
74 void set(float tx, float ty);
H A DTransform.cpp98 float Transform::ty() const { function in class:android::Transform
111 void Transform::set(float tx, float ty) argument
114 mMatrix[2][1] = ty;
117 if (isZero(tx) && isZero(ty)) {
239 int ypos = floorf(ty() + 0.5f);
H A DLayer.cpp970 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y)
1362 s.layerStack, s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h,
/frameworks/rs/
H A DrsType.cpp100 uint32_t ty = mHal.state.dimY; local
106 mHal.state.lodDimY[lod] = ty;
108 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u);
110 if (ty > 1) ty >>= 1;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java442 for (int ty = r.top, i = 0; ty < r.bottom; ty += size, i++) {
446 drawTile(canvas, tx, ty, level, x, y, length);
597 int tx, int ty, int level, float x, float y, float length) {
603 Tile tile = getTile(tx, ty, level);
626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX,
627 (ty + size) * scaleY);
596 drawTile(GLCanvas canvas, int tx, int ty, int level, float x, float y, float length) argument
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java863 // tx and ty are relative to wave center
865 float ty = eventY - mWaveCenterY;
866 float touchRadius = (float) Math.sqrt(dist2(tx, ty));
869 float limitY = ty * scale;
870 double angleRad = Math.atan2(-ty, tx);
893 if (angleMatches && (dist2(tx, ty) > snapDistance2)) {
990 final float ty = y - mWaveCenterY;
991 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledGlowRadiusSquared()) {
994 updateGlowPosition(tx, ty);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java545 float ty, sy = dst.height() / src.height();
558 ty = dst.top - src.top * sy;
575 ty += diff;
582 d.mValues[5] = ty;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java968 * @param ty how many pixels to translate vertically
972 private int translate(float tx, float ty) { argument
1005 Math.min(maxBottom - mTranslateRect.top, ty));
1011 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty));
1020 boolean didTranslateY = translateY == ty;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp222 jobject clazz, jlong renderNodePtr, float ty) {
223 return SET_AND_DIRTY(setTranslationY, ty, RenderNode::TRANSLATION_Y | RenderNode::Y);
221 android_view_RenderNode_setTranslationY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float ty) argument
/frameworks/native/libs/gui/
H A DGLConsumer.cpp787 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local
825 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) /
835 tx, ty, 0, 1,
/frameworks/base/libs/hwui/
H A DDisplayListOp.h904 const float ty = (int) floorf(state->mMatrix.getTranslateY() + local
911 opVertices->x + tx, opVertices->y + ty,
920 renderer.dirtyLayer(tx, ty,
922 ty + patchOp->mLocalBounds.getHeight());
928 const float y = ty + quadBounds.top;
H A DOpenGLRenderer.cpp2939 int ty = (int) floorf(y + currentTransform()->getTranslateY() + 0.5f); local
2942 setupDrawModelView(kModelViewMode_Translate, false, tx, ty,
2943 tx + layer->layer.getWidth(), ty + layer->layer.getHeight(), true);
/frameworks/rs/driver/
H A DrsdAllocation.cpp328 uint32_t ty = alloc->mHal.drvState.lod[0].dimY; local
332 alloc->mHal.drvState.lod[lod].dimY = ty;
337 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u);
339 if (ty > 1) ty >>= 1;
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java289 final float ty = -(top + bottom) * r_height;
295 m[mOffset +13] = ty;
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp872 const GLfloat ty = -(top + bottom) * r_height; local
879 f[13] = ty;
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c721 printf(" ty = %u\n", timedTextStreamInformation.ty);
/frameworks/base/core/java/android/view/
H A DViewGroup.java1232 final float ty = event.mY;
1339 event.mY = ty;
1375 event.mY = ty;
H A DView.java3711 float ty = 0;
3790 ty = a.getDimensionPixelOffset(attr, 0);
4179 setTranslationY(ty);
/frameworks/base/tools/aapt/
H A DResourceTable.cpp3624 const type ty = this != NULL ? mType : TYPE_ITEM; local
3626 if (ty == TYPE_BAG) {
3634 if (ty != TYPE_BAG) {
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3121 XAuint16 ty; member in struct:XATimedTextStreamInformation_

Completed in 722 milliseconds