Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 24 of 24) 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/native/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.cpp122 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y) in setPosition()
454 s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h, in dump()
/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.java613 float x, tx, coef;
617 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;
618 if (Math.abs(tx - alpha) < 1E-5) break;
619 if (tx > alpha) x_max = x;
/frameworks/base/services/tests/servicestests/src/com/android/server/
DThrottleServiceTest.java293 public void expectGetInterfaceCounter(long rx, long tx) throws Exception { in expectGetInterfaceCounter() argument
296 stats.addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, rx, 0L, tx, 0L, 0); in expectGetInterfaceCounter()
305 public void expectSetInterfaceThrottle(int rx, int tx) throws Exception { in expectSetInterfaceThrottle() argument
306 mMockNMService.setInterfaceThrottle(isA(String.class), eq(rx), eq(tx)); in expectSetInterfaceThrottle()
/frameworks/rs/
DrsType.cpp88 uint32_t tx = mHal.state.dimX; in compute() local
93 mHal.state.lodDimX[lod] = 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/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java819 float tx = eventX - mWaveCenterX; in handleMove()
821 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove()
823 float limitX = tx * scale; in handleMove()
825 double angleRad = Math.atan2(-ty, tx); in handleMove()
846 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { in handleMove()
934 final float tx = x - mWaveCenterX;
936 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledGlowRadiusSquared()) {
939 updateGlowPosition(tx, ty);
DMultiWaveView.java829 float tx = eventX - mWaveCenterX; in handleMove()
831 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove()
833 float limitX = tx * scale; in handleMove()
835 double angleRad = Math.atan2(-ty, tx); in handleMove()
856 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { in handleMove()
950 final float tx = x - mWaveCenterX;
952 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledTapRadiusSquared()) {
955 moveHandleTo(tx, ty, false);
/frameworks/base/core/java/android/webkit/
DZoomManager.java490 int tx = Math.round(scale * (mInitialScrollX + mZoomCenterX) - mZoomCenterX); in animateZoom() local
491tx = -WebViewClassic.pinLoc(tx, mWebView.getViewWidth(), Math.round(mWebView.getContentWidth() in animateZoom()
502 … mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); in animateZoom()
505 canvas.translate(tx, ty); in animateZoom()
518 canvas.translate(tx, ty); in animateZoom()
DWebViewClassic.java7695 float tx = mTranslate.x * mProgress; in draw() local
7698 canvas.translate(-tx, -ty); in draw()
7707 tx = mTranslate.x - tx; in draw()
7709 canvas.translate(tx, ty); in draw()
/frameworks/base/core/jni/
Dandroid_view_GLES20DisplayList.cpp74 jobject clazz, DisplayList* displayList, float tx) { in android_view_GLES20DisplayList_setTranslationX() argument
75 displayList->setTranslationX(tx); in android_view_GLES20DisplayList_setTranslationX()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java263 int tx = BandwidthTestUtil.parseIntValueFromFile(snd_stat); in fetchDataFromProc() local
266 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); in fetchDataFromProc()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBeanBag.java389 final float tx = b.getTranslationX(); in onDraw() local
392 c.drawCircle(tx, ty, 4, pt); in onDraw()
/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/native/libs/gui/
DSurfaceTexture.cpp567 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeCurrentTransformMatrix() local
600 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrix()
615 tx, ty, 0, 1, in computeCurrentTransformMatrix()
/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/native/opengl/libagl/
Dmatrix.cpp871 const GLfloat tx = -(right + left) * r_width; in orthof() local
878 f[12] = tx; in orthof()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c720 printf(" tx = %u\n", timedTextStreamInformation.tx); in main()
/frameworks/base/core/java/android/view/
DViewGroup.java1102 final float tx = event.mX; in dispatchDragEvent() local
1205 event.mX = tx; in dispatchDragEvent()
1241 event.mX = tx; in dispatchDragEvent()
DView.java3319 float tx = 0; in View() local
3375 tx = a.getDimensionPixelOffset(attr, 0); in View()
3675 setTranslationX(tx); in View()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h3120 XAuint16 tx; member