Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipAnimationController.java161 public void onPipAnimationEnd(SurfaceControl.Transaction tx, in onPipAnimationEnd() argument
221 final SurfaceControl.Transaction tx = newSurfaceControlTransaction(); in onAnimationEnd() local
222 onEndTransaction(mLeash, tx); in onAnimationEnd()
224 mPipAnimationCallback.onPipAnimationEnd(tx, this); in onAnimationEnd()
319 void onStartTransaction(SurfaceControl leash, SurfaceControl.Transaction tx) {} in onStartTransaction() argument
321 void onEndTransaction(SurfaceControl leash, SurfaceControl.Transaction tx) {} in onEndTransaction() argument
324 SurfaceControl.Transaction tx, float fraction); in applySurfaceControlTransaction() argument
332 SurfaceControl.Transaction tx, float fraction) { in ofAlpha()
335 getSurfaceTransactionHelper().alpha(tx, leash, alpha); in ofAlpha()
336 tx.apply(); in ofAlpha()
[all …]
DPipSurfaceTransactionHelper.java67 PipSurfaceTransactionHelper alpha(SurfaceControl.Transaction tx, SurfaceControl leash, in alpha() argument
69 tx.setAlpha(leash, alpha); in alpha()
77 PipSurfaceTransactionHelper crop(SurfaceControl.Transaction tx, SurfaceControl leash, in crop() argument
79 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()) in crop()
88 PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() argument
93 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scale()
102 PipSurfaceTransactionHelper scaleAndCrop(SurfaceControl.Transaction tx, SurfaceControl leash, in scaleAndCrop() argument
115 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scaleAndCrop()
125 PipSurfaceTransactionHelper resetScale(SurfaceControl.Transaction tx, SurfaceControl leash, in resetScale() argument
127 tx.setMatrix(leash, Matrix.IDENTITY_MATRIX, mTmpFloat9) in resetScale()
[all …]
DPipTaskOrganizer.java117 public void onPipAnimationEnd(SurfaceControl.Transaction tx,
119 finishResize(tx, animator.getDestinationBounds(), animator.getTransitionDirection(),
168 SurfaceControl.Transaction tx = (SurfaceControl.Transaction) args.arg2;
170 finishResize(tx, toBounds, args.argi1 /* direction */, -1);
297 final SurfaceControl.Transaction tx = in exitPip() local
299 mSurfaceTransactionHelper.scale(tx, mLeash, destinationBounds, in exitPip()
301 tx.setWindowCrop(mLeash, destinationBounds.width(), destinationBounds.height()); in exitPip()
306 wct.setBoundsChangeTransaction(mToken, tx); in exitPip()
371 final SurfaceControl.Transaction tx = in onTaskAppeared() local
373 tx.setAlpha(mLeash, 0f); in onTaskAppeared()
[all …]
/frameworks/base/startop/scripts/trace_analyzer/
Dqueries_mark_write_join.sql32 SELECT tx.predictorset_id,
36 tx.predictor_name AS atrace_type,
40 FROM (SELECT * from tracing_mark_write_split_array WHERE gen = 1) AS tx
43 ON tx.predictorset_id = ty.predictorset_id
46 ON tx.predictorset_id = tz.predictorset_id
49 ON tx.predictorset_id = tzz.predictorset_id
/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/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/native/libs/ui/include/ui/
DTransform.h70 float tx() const;
77 void set(float tx, float ty);
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h70 float tx() const;
77 void set(float tx, float ty);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java441 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) { in draw()
443 drawTile(canvas, tx, ty, level, x, y, length); in draw()
594 int tx, int ty, int level, float x, float y, float length) { in drawTile() argument
600 Tile tile = getTile(tx, ty, level); in drawTile()
623 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
/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/native/libs/ui/
DTransform.cpp100 float Transform::tx() const { in tx() function in android::ui::Transform
125 void Transform::set(float tx, float ty) in set() argument
127 mMatrix[2][0] = tx; in set()
131 if (isZero(tx) && isZero(ty)) { in set()
280 int xpos = static_cast<int>(floorf(tx() + 0.5f)); in transform()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp295 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; in computeTransformMatrix() local
329 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()
337 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/native/services/surfaceflinger/
DBufferStateLayer.cpp228 if (mCurrentState.active.transform.tx() == x && mCurrentState.active.transform.ty() == y && in setFrame()
757 return RoundedCornerState(FloatRect(static_cast<float>(s.active.transform.tx()), in getRoundedCornerState()
759 static_cast<float>(s.active.transform.tx() + s.active.w), in getRoundedCornerState()
DLayer.h129 return (w == rhs.w && h == rhs.h) && (transform.tx() == rhs.transform.tx()) &&
/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/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/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/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp233 … android_view_RenderNode_setTranslationX(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr, float tx) { in android_view_RenderNode_setTranslationX() argument
234 return SET_AND_DIRTY(setTranslationX, tx, RenderNode::TRANSLATION_X | RenderNode::X); in android_view_RenderNode_setTranslationX()
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto1669 // Can't queue tx followup message foor transmission
1863 // Amount of time wifi is in tx (ms)
1869 // Number of packets sent (tx)
1872 // Number of bytes sent (tx)
2173 // There is a data stall from tx failures
2179 // There is a data stall from both tx and rx failures
2285 // Total time the wifi radio is doing tx in ms over the logging duration.
2363 // The total number of tx success counted from the last radio chip reset
2369 // The total number of tx bad counted from the last radio chip reset
2378 // The total time the wifi radio is doing tx in ms counted from the last radio chip reset
[all …]

12