/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 106 int ty = mAdaptedAllocation.mType.getY(); 110 if ((tx==1) && (ty == 1) && (tz == 1)) { 115 if (ty > 1) ty >>= 1; 120 mCurrentDimY = ty;
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.h | 70 float ty() const; 74 void set(float tx, float ty);
|
H A D | Transform.cpp | 98 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 D | Layer.cpp | 825 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y) 1188 s.layerStack, s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h,
|
/frameworks/rs/ |
H A D | rsType.cpp | 89 uint32_t ty = mHal.state.dimY; local 94 mHal.state.lodDimY[lod] = ty; 96 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u); 98 if (ty > 1) ty >>= 1;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 442 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 D | GlowPadView.java | 857 // tx and ty are relative to wave center 859 float ty = eventY - mWaveCenterY; 860 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); 863 float limitY = ty * scale; 864 double angleRad = Math.atan2(-ty, tx); 887 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { 984 final float ty = y - mWaveCenterY; 985 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledGlowRadiusSquared()) { 988 updateGlowPosition(tx, ty);
|
H A D | MultiWaveView.java | 832 // tx and ty are relative to wave center 834 float ty = eventY - mWaveCenterY; 835 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); 838 float limitY = ty * scale; 839 double angleRad = Math.atan2(-ty, tx); 860 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { 955 final float ty = y - mWaveCenterY; 956 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledTapRadiusSquared()) { 959 moveHandleTo(tx, ty, false);
|
/frameworks/base/core/jni/ |
H A D | android_view_GLES20DisplayList.cpp | 108 jobject clazz, DisplayList* displayList, float ty) { 109 displayList->setTranslationY(ty); 107 android_view_GLES20DisplayList_setTranslationY(JNIEnv* env, jobject clazz, DisplayList* displayList, float ty) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 600 float ty, sy = dst.height() / src.height(); 613 ty = dst.top - src.top * sy; 630 ty += diff; 637 d.mValues[5] = ty;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 853 * @param ty how many pixels to translate vertically 857 private boolean translate(float tx, float ty) { argument 890 Math.min(maxBottom - mTranslateRect.top, ty)); 896 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); 904 return (translateX == tx) && (translateY == ty);
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 800 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 838 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / 848 tx, ty, 0, 1,
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 1024 const float ty = (int) floorf(state->mMatrix.getTranslateY() + local 1031 opVertices->position[0] + tx, opVertices->position[1] + ty, 1040 renderer.dirtyLayer(tx, ty, 1042 ty + patchOp->mLocalBounds.getHeight()); 1048 const float y = ty + quadBounds.top;
|
H A D | OpenGLRenderer.cpp | 3107 int ty = (int) floorf(y + currentTransform().getTranslateY() + 0.5f); local 3110 setupDrawModelViewTranslate(tx, ty, 3111 tx + layer->layer.getWidth(), ty + layer->layer.getHeight(), true);
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 322 uint32_t ty = alloc->mHal.drvState.lod[0].dimY; local 326 alloc->mHal.drvState.lod[lod].dimY = ty; 331 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); 333 if (ty > 1) ty >>= 1;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 289 final float ty = -(top + bottom) * r_height; 295 m[mOffset +13] = ty;
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 3852 const ResTable_type* const ty = typeConfigs->configs[tci]; local 3853 const uint32_t typeOffset = dtohl(ty->entriesStart); 3855 const uint8_t* const end = ((const uint8_t*)ty) + dtohl(ty->header.size); 3857 (((const uint8_t*)ty) + dtohs(ty->header.headerSize)); 3859 const size_t NE = dtohl(ty->entryCount); 3868 if (offset > (dtohl(ty->header.size)-sizeof(ResTable_entry))) { 3870 offset, dtohl(ty->header.size)); 3883 (((const uint8_t*)ty) [all...] |
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 872 const GLfloat ty = -(top + bottom) * r_height; local 879 f[13] = ty;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 721 printf(" ty = %u\n", timedTextStreamInformation.ty);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 1145 final float ty = event.mY; 1252 event.mY = ty; 1288 event.mY = ty;
|
H A D | View.java | 3530 float ty = 0; 3607 ty = a.getDimensionPixelOffset(attr, 0); 3950 setTranslationY(ty);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 3373 const type ty = this != NULL ? mType : TYPE_ITEM; local 3375 if (ty == TYPE_BAG) { 3383 if (ty != TYPE_BAG) {
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 3121 XAuint16 ty; member in struct:XATimedTextStreamInformation_
|