Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/
DGLConsumerUtils.cpp62 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
96 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()
111 tx, ty, 0, 1 in computeTransformMatrix()
/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.java35 public UidTraffic(int appUid, long rx, long tx) { in UidTraffic() argument
38 mTxBytes = tx; in UidTraffic()
/frameworks/native/libs/ui/include/ui/
DTransform.h68 float tx() const;
75 void set(float tx, float ty);
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h68 float tx() const;
75 void set(float tx, float ty);
/frameworks/rs/
DrsType.cpp101 uint32_t tx = mHal.state.dimX; in compute() local
107 mHal.state.lodDimX[lod] = tx; in compute()
110 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u); in compute()
111 if (tx > 1) tx >>= 1; in compute()
123 mHal.state.lodDimX[0] = tx; in compute()
/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/native/libs/ui/
DTransform.cpp91 float Transform::tx() const { in tx() function in android::ui::Transform
116 void Transform::set(float tx, float ty) in set() argument
118 mMatrix[2][0] = tx; in set()
122 if (isZero(tx) && isZero(ty)) { in set()
271 int xpos = static_cast<int>(floorf(tx() + 0.5f)); in transform()
/frameworks/base/core/java/android/widget/
DScroller.java128 float x, tx, coef;
132 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;
133 if (Math.abs(tx - alpha) < 1E-5) break;
134 if (tx > alpha) x_max = x;
DOverScroller.java619 float x, tx, coef;
623 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;
624 if (Math.abs(tx - alpha) < 1E-5) break;
625 if (tx > alpha) x_max = x;
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp307 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
341 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()
349 mat4 crop(sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1); in computeTransformMatrix()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript336 int tx = cdx + dx[i];
341 if (tq.x == tx && tq.y == ty) {
346 if (!(tx + x >= -5 && tx <= 5 && ty >= -5 && ty <= 5)) {
351 v = rsGetElementAt_uchar(edgeImage, tx + x, ty + y);
356 short3 tmp = {tx, ty, p_dist + 1};
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java269 int tx = BandwidthTestUtil.parseIntValueFromFile(snd_stat); in fetchDataFromProc() local
272 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0); in fetchDataFromProc()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java550 float tx, sx = dst.width() / src.width(); in nSetRectToRect() local
563 tx = dst.left - src.left * sx; in nSetRectToRect()
579 tx += diff; in nSetRectToRect()
587 d.mValues[2] = tx; in nSetRectToRect()
/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/native/services/surfaceflinger/
DLayer.cpp851 float tx = stateToCommit->active_legacy.transform.tx(); in doTransactionResize() local
854 stateToCommit->active_legacy.transform.set(tx, ty); in doTransactionResize()
927 if (mCurrentState.requested_legacy.transform.tx() == x && in setPosition()
1290 info.mX = ds.active_legacy.transform.tx(); in getLayerDebugInfo()
1908 LayerProtoHelper::writePositionToProto(transform.tx(), transform.ty(), in writeToProtoDrawingState()
1955 LayerProtoHelper::writePositionToProto(requestedTransform.tx(), requestedTransform.ty(), in writeToProtoCommonState()
DLayer.h124 return (w == rhs.w && h == rhs.h) && (transform.tx() == rhs.transform.tx()) &&
DBufferStateLayer.cpp200 if (mCurrentState.active.transform.tx() == x && mCurrentState.active.transform.ty() == y && in setFrame()
DSurfaceInterceptor.cpp104 addPositionLocked(transaction, layerId, layer->mCurrentState.active_legacy.transform.tx(), in addInitialSurfaceStateLocked()
/frameworks/rs/driver/
DrsdAllocation.cpp323 uint32_t tx = alloc->mHal.drvState.lod[0].dimX; in AllocationBuildPointerTable() local
327 alloc->mHal.drvState.lod[lod].dimX = tx; in AllocationBuildPointerTable()
331 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable()
334 if (tx > 1) tx >>= 1; in AllocationBuildPointerTable()
/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.cpp235 static jboolean android_view_RenderNode_setTranslationX(jlong renderNodePtr, float tx) { in android_view_RenderNode_setTranslationX() argument
236 return SET_AND_DIRTY(setTranslationX, tx, RenderNode::TRANSLATION_X | RenderNode::X); in android_view_RenderNode_setTranslationX()
/frameworks/base/proto/src/
Dwifi.proto1396 // Can't queue tx followup message foor transmission
1603 // Amount of time wifi is in tx (ms)
1609 // Number of packets sent (tx)
1612 // Number of bytes sent (tx)
1887 // There is a data stall from tx failures
1893 // There is a data stall from both tx and rx failures
1987 // Total time the wifi radio is doing tx in ms over the logging duration.
2065 // The total number of tx success counted from the last radio chip reset
2071 // The total number of tx bad counted from the last radio chip reset
2080 // The total time the wifi radio is doing tx in ms counted from the last radio chip reset
[all …]
/frameworks/native/opengl/libagl/
Dmatrix.cpp860 const GLfloat tx = -(right + left) * r_width; in orthof() local
867 f[12] = tx; in orthof()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c720 printf(" tx = %u\n", timedTextStreamInformation.tx); in main()

12