Home
last modified time | relevance | path

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

12

/frameworks/base/rs/java/android/renderscript/
DAllocationAdapter.java44 int tx = mAdaptedAllocation.mType.getX(); in initLOD() local
49 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD()
53 if (tx > 1) tx >>= 1; in initLOD()
58 mCurrentDimX = tx; in initLOD()
/frameworks/base/core/java/android/bluetooth/
DUidTraffic.java34 public UidTraffic(int appUid, long rx, long tx) { in UidTraffic() argument
37 mTxBytes = tx; in UidTraffic()
/frameworks/native/services/surfaceflinger/
DTransform.h68 float tx() const;
73 void set(float tx, float ty);
DTransform.cpp90 float Transform::tx() const { in tx() function in android::Transform
107 void Transform::set(float tx, float ty) in set() argument
109 mMatrix[2][0] = tx; in set()
113 if (isZero(tx) && isZero(ty)) { in set()
234 int xpos = floorf(tx() + 0.5f); in transform()
DLayer.cpp1446 float tx = c.active.transform.tx(); local
1449 c.active.transform.set(tx, ty);
1502 if (mCurrentState.requested.transform.tx() == x && mCurrentState.requested.transform.ty() == y)
2119 … s.layerStack, s.z, s.active.transform.tx(), s.active.transform.ty(), s.active.w, s.active.h,
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) { in draw()
446 drawTile(canvas, tx, ty, level, x, y, length); in draw()
597 int tx, int ty, int level, float x, float y, float length) { in drawTile() argument
603 Tile tile = getTile(tx, ty, level); in drawTile()
626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
/frameworks/base/core/java/android/widget/
DScroller.java121 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;
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/rs/
DrsType.cpp102 uint32_t tx = mHal.state.dimX; in compute() local
108 mHal.state.lodDimX[lod] = tx; in compute()
111 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u); in compute()
112 if (tx > 1) tx >>= 1; in compute()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java262 int tx = BandwidthTestUtil.parseIntValueFromFile(snd_stat); in fetchDataFromProc() local
265 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); in fetchDataFromProc()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java544 float tx, sx = dst.width() / src.width(); in native_setRectToRect() local
557 tx = dst.left - src.left * sx; in native_setRectToRect()
573 tx += diff; in native_setRectToRect()
581 d.mValues[2] = tx; in native_setRectToRect()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java990 private int translate(float tx, float ty) { in translate() argument
1003 Math.min(maxRight - mTranslateRect.left, tx)); in translate()
1009 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); in translate()
1036 boolean didTranslateX = translateX == tx; in translate()
/frameworks/base/libs/hwui/
DBakedOpDispatcher.cpp139 const float tx = floorf(state.computedState.transform.getTranslateX() in onMergedPatchOps() local
148 opVertices->x + tx, opVertices->y + ty, in onMergedPatchOps()
157 renderer.dirtyRenderTarget(Rect(tx, ty, in onMergedPatchOps()
158 tx + op.unmappedBounds.getWidth(), ty + op.unmappedBounds.getHeight())); in onMergedPatchOps()
163 const float x = tx + quadBounds.left; in onMergedPatchOps()
DFrameBuilder.h74 void deferRenderNode(float tx, float ty, Rect clipRect, RenderNode& renderNode);
DDisplayListOp.h837 const float tx = (int) floorf(state->mMatrix.getTranslateX() + in multiDraw() local
846 opVertices->x + tx, opVertices->y + ty, in multiDraw()
855 renderer.dirtyLayer(tx, ty, in multiDraw()
856 tx + patchOp->mLocalBounds.getWidth(), in multiDraw()
862 const float x = tx + quadBounds.left; in multiDraw()
DFrameBuilder.cpp117 void FrameBuilder::deferRenderNode(float tx, float ty, Rect clipRect, RenderNode& renderNode) { in deferRenderNode() argument
121 mCanvasState.translate(tx, ty); in deferRenderNode()
/frameworks/rs/driver/
DrsdAllocation.cpp329 uint32_t tx = alloc->mHal.drvState.lod[0].dimX; in AllocationBuildPointerTable() local
333 alloc->mHal.drvState.lod[lod].dimX = tx; in AllocationBuildPointerTable()
337 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable()
340 if (tx > 1) tx >>= 1; in AllocationBuildPointerTable()
/frameworks/native/libs/gui/
DGLConsumer.cpp844 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
876 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()
890 tx, ty, 0, 1, in computeTransformMatrix()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java288 final float tx = -(right + left) * r_width; in orthoM() local
294 m[mOffset +12] = tx; in orthoM()
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp279 jobject clazz, jlong renderNodePtr, float tx) { in android_view_RenderNode_setTranslationX() argument
280 return SET_AND_DIRTY(setTranslationX, tx, RenderNode::TRANSLATION_X | RenderNode::X); in android_view_RenderNode_setTranslationX()
/frameworks/base/core/java/android/view/
DViewGroup.java1362 final float tx = event.mX; in dispatchDragEvent() local
1486 event.mX = tx; in dispatchDragEvent()
1498 event.mX = tx; in dispatchDragEvent()
1542 event.mX = tx; in dispatchDragEvent()
1582 final float tx = mCurrentDragStartEvent.mX; in notifyChildOfDragStart() local
1586 point[0] = tx; in notifyChildOfDragStart()
1593 mCurrentDragStartEvent.mX = tx; in notifyChildOfDragStart()
/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/wilhelm/include/OMXAL/
DOpenMAXAL.h3120 XAuint16 tx; member
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...

12