/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | AllocationAdapter.java | 104 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/graphics/java/android/renderscript/ |
D | AllocationAdapter.java | 104 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/ |
D | Transform.cpp | 94 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() 241 int xpos = floorf(tx() + 0.5f); in transform()
|
D | Transform.h | 67 float tx() const; 72 void set(float tx, float ty);
|
D | LayerBase.cpp | 115 if (mCurrentState.transform.tx() == x && mCurrentState.transform.ty() == y) in setPosition() 457 s.layerStack, s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h, in dump()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ThrottleServiceTest.java | 293 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/support/renderscript/v8/rs_support/ |
D | rsType.cpp | 88 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/rs/ |
D | rsType.cpp | 88 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/android/widget/ |
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;
|
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/core/java/android/webkit/ |
D | ZoomManager.java | 491 int tx = Math.round(scale * (mInitialScrollX + mZoomCenterX) - mZoomCenterX); in animateZoom() local 492 … tx = -WebViewClassic.pinLoc(tx, mWebView.getViewWidth(), Math.round(mWebView.getContentWidth() in animateZoom() 503 … mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); in animateZoom() 506 canvas.translate(tx, ty); in animateZoom() 519 canvas.translate(tx, ty); in animateZoom()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | MultiWaveView.java | 833 float tx = eventX - mWaveCenterX; in handleMove() 835 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove() 837 float limitX = tx * scale; in handleMove() 839 double angleRad = Math.atan2(-ty, tx); in handleMove() 860 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { in handleMove() 954 final float tx = x - mWaveCenterX; 956 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledTapRadiusSquared()) { 959 moveHandleTo(tx, ty, false);
|
D | GlowPadView.java | 858 float tx = eventX - mWaveCenterX; in handleMove() 860 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); in handleMove() 862 float limitX = tx * scale; in handleMove() 864 double angleRad = Math.atan2(-ty, tx); in handleMove() 887 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { in handleMove() 983 final float tx = x - mWaveCenterX; 985 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledGlowRadiusSquared()) { 988 updateGlowPosition(tx, ty);
|
/frameworks/base/core/jni/ |
D | android_view_GLES20DisplayList.cpp | 79 jobject clazz, DisplayList* displayList, float tx) { in android_view_GLES20DisplayList_setTranslationX() argument 80 displayList->setTranslationX(tx); in android_view_GLES20DisplayList_setTranslationX()
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdAllocation.cpp | 84 uint32_t tx = drv->lod[0].dimX; in AllocationBuildPointerTable() local 88 drv->lod[lod].dimX = tx; in AllocationBuildPointerTable() 91 drv->lod[lod].stride = tx * type->getElementSizeBytes(); in AllocationBuildPointerTable() 94 if (tx > 1) tx >>= 1; in AllocationBuildPointerTable()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 263 int tx = BandwidthTestUtil.parseIntValueFromFile(snd_stat); in fetchDataFromProc() local 266 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); in fetchDataFromProc()
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 790 private boolean translate(float tx, float ty) { in translate() argument 803 Math.min(maxRight - mTranslateRect.left, tx)); in translate() 809 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); in translate() 837 return (translateX == tx) && (translateY == ty); in translate()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 792 private boolean translate(float tx, float ty) { in translate() argument 805 Math.min(maxRight - mTranslateRect.left, tx)); in translate() 811 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); in translate() 839 return (translateX == tx) && (translateY == ty); in translate()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 249 uint32_t tx = drv->lod[0].dimX; in AllocationBuildPointerTable() local 253 drv->lod[lod].dimX = tx; in AllocationBuildPointerTable() 256 drv->lod[lod].stride = tx * type->getElementSizeBytes(); in AllocationBuildPointerTable() 259 if (tx > 1) tx >>= 1; in AllocationBuildPointerTable()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 599 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/packages/SystemUI/src/com/android/systemui/ |
D | BeanBag.java | 391 final float tx = b.getTranslationX(); in onDraw() local 394 c.drawCircle(tx, ty, 4, pt); in onDraw()
|
/frameworks/native/libs/gui/ |
D | SurfaceTexture.cpp | 611 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeCurrentTransformMatrixLocked() local 646 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrixLocked() 661 tx, ty, 0, 1, in computeCurrentTransformMatrixLocked()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 281 final float tx = -(right + left) * r_width; in orthoM() local 287 m[mOffset +12] = tx; in orthoM()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1333 long tx = u.getTcpBytesSent(which); in dumpCheckinLocked() local 1338 if (rx > 0 || tx > 0) dumpLine(pw, uid, category, NETWORK_DATA, rx, tx); in dumpCheckinLocked()
|
/frameworks/native/opengl/libagl/ |
D | matrix.cpp | 871 const GLfloat tx = -(right + left) * r_width; in orthof() local 878 f[12] = tx; in orthof()
|