/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 105 int tx = mAdaptedAllocation.mType.getX(); 110 if ((tx==1) && (ty == 1) && (tz == 1)) { 114 if (tx > 1) tx >>= 1; 119 mCurrentDimX = tx;
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.h | 69 float tx() const; 74 void set(float tx, float ty);
|
H A D | Transform.cpp | 94 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);
|
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 | 88 uint32_t tx = mHal.state.dimX; local 93 mHal.state.lodDimX[lod] = tx; 96 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u); 97 if (tx > 1) tx >>= 1;
|
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 121 float x, tx, coef; 125 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x; 126 if (Math.abs(tx - alpha) < 1E-5) break; 127 if (tx > alpha) x_max = x;
|
H A D | OverScroller.java | 611 float x, tx, coef; 615 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x; 616 if (Math.abs(tx - alpha) < 1E-5) break; 617 if (tx > alpha) x_max = x;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 444 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/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 857 // tx and ty are relative to wave center 858 float tx = eventX - mWaveCenterX; 860 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); 862 float limitX = tx * scale; 864 double angleRad = Math.atan2(-ty, tx); 887 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { 983 final float tx = x - mWaveCenterX; 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 833 float tx = eventX - mWaveCenterX; 835 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); 837 float limitX = tx * scale; 839 double angleRad = Math.atan2(-ty, tx); 860 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { 954 final float tx = x - mWaveCenterX; 956 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledTapRadiusSquared()) { 959 moveHandleTo(tx, ty, false);
|
/frameworks/base/core/jni/ |
H A D | android_view_GLES20DisplayList.cpp | 103 jobject clazz, DisplayList* displayList, float tx) { 104 displayList->setTranslationX(tx); 102 android_view_GLES20DisplayList_setTranslationX(JNIEnv* env, jobject clazz, DisplayList* displayList, float tx) argument
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 262 int tx = BandwidthTestUtil.parseIntValueFromFile(snd_stat); 265 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); 331 results.putLong(label + "tx", totalStats.txBytes);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 599 float tx, sx = dst.width() / src.width(); 612 tx = dst.left - src.left * sx; 628 tx += diff; 636 d.mValues[2] = tx;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 852 * @param tx how many pixels to translate horizontally 857 private boolean translate(float tx, float ty) { argument 870 Math.min(maxRight - mTranslateRect.left, tx)); 876 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); 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 833 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; 848 tx, ty, 0, 1,
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 1022 const float tx = (int) floorf(state->mMatrix.getTranslateX() + local 1031 opVertices->position[0] + tx, opVertices->position[1] + ty, 1040 renderer.dirtyLayer(tx, ty, 1041 tx + patchOp->mLocalBounds.getWidth(), 1047 const float x = tx + quadBounds.left;
|
H A D | OpenGLRenderer.cpp | 3106 int tx = (int) floorf(x + currentTransform().getTranslateX() + 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 | 321 uint32_t tx = alloc->mHal.drvState.lod[0].dimX; local 325 alloc->mHal.drvState.lod[lod].dimX = tx; 329 rsRound(tx * type->getElementSizeBytes(), 16); 332 if (tx > 1) tx >>= 1;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 288 final float tx = -(right + left) * r_width; 294 m[mOffset +12] = tx;
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 871 const GLfloat tx = -(right + left) * r_width; local 878 f[12] = tx;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 720 printf(" tx = %u\n", timedTextStreamInformation.tx);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 1144 final float tx = event.mX; 1251 event.mX = tx; 1287 event.mX = tx;
|
H A D | View.java | 3529 float tx = 0; 3603 tx = a.getDimensionPixelOffset(attr, 0); 3949 setTranslationX(tx);
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 3120 XAuint16 tx; member in struct:XATimedTextStreamInformation_
|