Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DAllocationAdapter.java104 int tx = mAdaptedAllocation.mType.getX(); in initLOD() local
109 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD()
113 if (tx > 1) tx >>= 1; in initLOD()
118 mCurrentDimX = tx; in initLOD()
/frameworks/base/libs/rs/
DrsType.cpp88 uint32_t tx = mDimX; in compute() local
93 mLODs[lod].mX = tx; in compute()
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
98 if (tx > 1) tx >>= 1; in compute()
/frameworks/base/services/surfaceflinger/
DTransform.cpp94 float Transform::tx() const { in tx() function in android::Transform
111 void Transform::set(float tx, float ty) in set() argument
113 mMatrix[2][0] = tx; in set()
117 if (isZero(tx) && isZero(ty)) { in set()
242 int xpos = floorf(tx() + 0.5f); in transform()
DTransform.h67 float tx() const;
72 void set(float tx, float ty);
DLayerBase.cpp123 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y) in setPosition()
481 s.z, s.transform.tx(), s.transform.ty(), s.w, s.h, in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DThrottleServiceTest.java292 public void expectGetInterfaceCounter(long rx, long tx) throws Exception { in expectGetInterfaceCounter() argument
295 stats.addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, rx, 0L, tx, 0L, 0); in expectGetInterfaceCounter()
304 public void expectSetInterfaceThrottle(int rx, int tx) throws Exception { in expectSetInterfaceThrottle() argument
305 mMockNMService.setInterfaceThrottle(isA(String.class), eq(rx), eq(tx)); in expectSetInterfaceThrottle()
/frameworks/base/core/java/android/widget/
DScroller.java80 float x, tx, coef;
84 tx = coef * ((1.0f - x) * START_TENSION + x * END_TENSION) + x * x * x;
85 if (Math.abs(tx - t) < 1E-5) break;
86 if (tx > t) x_max = x;
DOverScroller.java609 float x, tx, coef;
613 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;
614 if (Math.abs(tx - alpha) < 1E-5) break;
615 if (tx > alpha) x_max = x;
/frameworks/base/core/java/android/webkit/
DZoomManager.java486 int tx = Math.round(scale * (mInitialScrollX + mZoomCenterX) - mZoomCenterX); in animateZoom() local
487 tx = -WebView.pinLoc(tx, mWebView.getViewWidth(), Math.round(mWebView.getContentWidth() in animateZoom()
498 … mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); in animateZoom()
506 canvas.translate(tx, ty); in animateZoom()
/frameworks/base/libs/gui/
DSurfaceTexture.cpp803 float tx, ty, sx, sy; in computeCurrentTransformMatrix() local
821 tx = float(mCurrentCrop.left + 1) / float(buf->getWidth()); in computeCurrentTransformMatrix()
824 tx = 0.0f; in computeCurrentTransformMatrix()
842 tx = 0.0f; in computeCurrentTransformMatrix()
851 tx, ty, 0, 1, in computeCurrentTransformMatrix()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java205 int tx = BandwidthTestUtil.parseIntValueFromFile(snd_stat); in fetchDataFromProc() local
208 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); in fetchDataFromProc()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java599 float tx, sx = dst.width() / src.width(); in native_setRectToRect() local
612 tx = dst.left - src.left * sx; in native_setRectToRect()
628 tx += diff; in native_setRectToRect()
636 d.mValues[2] = tx; in native_setRectToRect()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java693 float tx = x - mWaveCenterX; in handleMove()
695 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove()
697 float limitX = mWaveCenterX + tx * scale; in handleMove()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java281 final float tx = -(right + left) * r_width; in orthoM() local
287 m[mOffset +12] = tx; in orthoM()
/frameworks/base/core/java/android/os/
DBatteryStats.java1327 long tx = u.getTcpBytesSent(which); in dumpCheckinLocked() local
1332 if (rx > 0 || tx > 0) dumpLine(pw, uid, category, NETWORK_DATA, rx, tx); in dumpCheckinLocked()
/frameworks/base/opengl/libagl/
Dmatrix.cpp871 const GLfloat tx = -(right + left) * r_width; in orthof() local
878 f[12] = tx; in orthof()
/frameworks/base/core/java/android/view/
DViewGroup.java1005 final float tx = event.mX; in dispatchDragEvent() local
1108 event.mX = tx; in dispatchDragEvent()
1144 event.mX = tx; in dispatchDragEvent()
DView.java2763 float tx = 0; in View() local
2819 tx = a.getDimensionPixelOffset(attr, 0); in View()
3106 setTranslationX(tx); in View()