Searched defs:tx (Results 1 - 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DTransform.cpp94 float Transform::tx() const { function in class:android::Transform
111 void Transform::set(float tx, float ty) argument
113 mMatrix[2][0] = tx;
117 if (isZero(tx) && isZero(ty)) {
238 int xpos = floorf(tx() + 0.5f);
/frameworks/rs/
H A DrsType.cpp102 uint32_t tx = mHal.state.dimX; local
108 mHal.state.lodDimX[lod] = tx;
111 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u);
112 if (tx > 1) tx >>= 1;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp211 jobject clazz, jlong renderNodePtr, float tx) {
212 return SET_AND_DIRTY(setTranslationX, tx, RenderNode::TRANSLATION_X | RenderNode::X);
210 android_view_RenderNode_setTranslationX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float tx) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) {
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,
596 drawTile(GLCanvas canvas, int tx, int ty, int level, float x, float y, float length) argument
/frameworks/native/libs/gui/
H A DGLConsumer.cpp800 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local
833 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth;
848 tx, ty, 0, 1,
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp871 const GLfloat tx = -(right + left) * r_width; local
878 f[12] = tx;
/frameworks/rs/driver/
H A DrsdAllocation.cpp330 uint32_t tx = alloc->mHal.drvState.lod[0].dimX; local
334 alloc->mHal.drvState.lod[lod].dimX = tx;
338 rsRound(tx * type->getElementSizeBytes(), 16);
341 if (tx > 1) tx >>= 1;
/frameworks/base/libs/hwui/
H A DDisplayListOp.h855 const float tx = (int) floorf(state->mMatrix.getTranslateX() + variable
864 opVertices->x + tx, opVertices->y + ty,
873 renderer.dirtyLayer(tx, ty,
874 tx + patchOp->mLocalBounds.getWidth(),
880 const float x = tx + quadBounds.left;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java967 * @param tx how many pixels to translate horizontally
972 private int translate(float tx, float ty) { argument
985 Math.min(maxRight - mTranslateRect.left, tx));
991 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx));
1019 boolean didTranslateX = translateX == tx;
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3120 XAuint16 tx; member in struct:XATimedTextStreamInformation_

Completed in 260 milliseconds