Searched defs:ty (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/
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);
/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/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/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/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/native/opengl/libagl/
H A Dmatrix.cpp872 const GLfloat ty = -(top + bottom) * r_height; local
879 f[13] = ty;
/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/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/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/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 1979 milliseconds