Home
last modified time | relevance | path

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

123

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipAnimationController.java210 public void onPipAnimationEnd(TaskInfo taskInfo, SurfaceControl.Transaction tx, in onPipAnimationEnd() argument
231 public boolean handlePipTransaction(SurfaceControl leash, SurfaceControl.Transaction tx, in handlePipTransaction() argument
297 final SurfaceControl.Transaction tx = newSurfaceControlTransaction(); in onAnimationEnd() local
298 onEndTransaction(mLeash, tx, mTransitionDirection); in onAnimationEnd()
300 mPipAnimationCallback.onPipAnimationEnd(mTaskInfo, tx, this); in onAnimationEnd()
331 boolean handlePipTransaction(SurfaceControl leash, SurfaceControl.Transaction tx, in handlePipTransaction() argument
334 return mPipTransactionHandler.handlePipTransaction(leash, tx, destinationBounds); in handlePipTransaction()
344 final SurfaceControl.Transaction tx = newSurfaceControlTransaction(); in setUseContentOverlay() local
347 tx.remove(mContentOverlay); in setUseContentOverlay()
348 tx.apply(); in setUseContentOverlay()
[all …]
DPipSurfaceTransactionHelper.java53 public PipSurfaceTransactionHelper alpha(SurfaceControl.Transaction tx, SurfaceControl leash, in alpha() argument
55 tx.setAlpha(leash, alpha); in alpha()
63 public PipSurfaceTransactionHelper crop(SurfaceControl.Transaction tx, SurfaceControl leash, in crop() argument
65 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()) in crop()
74 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() argument
76 return scale(tx, leash, sourceBounds, destinationBounds, 0 /* degrees */); in scale()
83 public PipSurfaceTransactionHelper scale(SurfaceControl.Transaction tx, SurfaceControl leash, in scale() argument
93 tx.setMatrix(leash, mTmpTransform, mTmpFloat9); in scale()
101 public PipSurfaceTransactionHelper scaleAndCrop(SurfaceControl.Transaction tx, in scaleAndCrop() argument
115 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scaleAndCrop()
[all …]
DPipTaskOrganizer.java181 public void onPipAnimationEnd(TaskInfo taskInfo, SurfaceControl.Transaction tx,
198 mSurfaceTransactionHelper.round(tx, mLeash, isInPip());
199 mDeferredAnimEndTransaction = tx;
210 finishResize(tx, destinationBounds, direction, animationType);
231 SurfaceControl.Transaction tx, Rect destinationBounds) {
233 mPipMenuController.movePipMenu(leash, tx, destinationBounds);
428 final SurfaceControl.Transaction tx = mSurfaceControlTransactionFactory.getTransaction(); in exitPip() local
429 mSurfaceTransactionHelper.scale(tx, mLeash, destinationBounds, mPipBoundsState.getBounds()); in exitPip()
430 tx.setWindowCrop(mLeash, destinationBounds.width(), destinationBounds.height()); in exitPip()
438 wct.setBoundsChangeTransaction(mToken, tx); in exitPip()
[all …]
DPipTransition.java95 SurfaceControl.Transaction tx) { in onFinishResize() argument
98 direction, tx, wct); in onFinishResize()
141 SurfaceControl.Transaction tx, in prepareFinishResizeTransaction() argument
161 wct.setBoundsChangeTransaction(taskInfo.token, tx); in prepareFinishResizeTransaction()
DPipTransitionController.java68 public void onPipAnimationEnd(TaskInfo taskInfo, SurfaceControl.Transaction tx,
75 onFinishResize(taskInfo, animator.getDestinationBounds(), direction, tx);
98 SurfaceControl.Transaction tx) { in onFinishResize() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAnimationController.java161 final SurfaceControl.Transaction tx = newSurfaceControlTransaction(); in onAnimationEnd() local
162 onEndTransaction(mLeash, tx); in onAnimationEnd()
164 (callback) -> callback.onOneHandedAnimationEnd(tx, this) in onAnimationEnd()
184 final SurfaceControl.Transaction tx = newSurfaceControlTransaction(); in onAnimationUpdate() local
186 (callback) -> callback.onAnimationUpdate(tx, 0f, mCurrentValue) in onAnimationUpdate()
188 applySurfaceControlTransaction(mLeash, tx, animation.getAnimatedFraction()); in onAnimationUpdate()
191 void onStartTransaction(SurfaceControl leash, SurfaceControl.Transaction tx) { in onStartTransaction() argument
194 void onEndTransaction(SurfaceControl leash, SurfaceControl.Transaction tx) { in onEndTransaction() argument
198 SurfaceControl.Transaction tx, float fraction); in applySurfaceControlTransaction() argument
271 SurfaceControl.Transaction tx, float fraction) { in ofYOffset() argument
[all …]
DOneHandedSurfaceTransactionHelper.java54 OneHandedSurfaceTransactionHelper translate(SurfaceControl.Transaction tx, SurfaceControl leash, in translate() argument
56 tx.setPosition(leash, 0, offset); in translate()
65 OneHandedSurfaceTransactionHelper crop(SurfaceControl.Transaction tx, SurfaceControl leash, in crop() argument
67 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()); in crop()
76 OneHandedSurfaceTransactionHelper round(SurfaceControl.Transaction tx, SurfaceControl leash) { in round() argument
78 tx.setCornerRadius(leash, mCornerRadius); in round()
DOneHandedAnimationCallback.java35 default void onOneHandedAnimationEnd(SurfaceControl.Transaction tx, in onOneHandedAnimationEnd() argument
49 default void onAnimationUpdate(SurfaceControl.Transaction tx, float xPos, float yPos) { in onAnimationUpdate() argument
DOneHandedBackgroundPanelOrganizer.java114 public void onAnimationUpdate(SurfaceControl.Transaction tx, float xPos, float yPos) { in onAnimationUpdate() argument
116 tx.setPosition(mBackgroundSurface, 0, yTopPos); in onAnimationUpdate()
149 final SurfaceControl.Transaction tx = mTransactionFactory.getTransaction(); in detachBackgroundFromParent() local
151 tx.reparent(mBackgroundSurface, null).apply(); in detachBackgroundFromParent()
153 tx.setAlpha(mBackgroundSurface, (float) animator.getAnimatedValue()).apply(); in detachBackgroundFromParent()
DOneHandedDisplayAreaOrganizer.java97 public void onOneHandedAnimationEnd(SurfaceControl.Transaction tx,
225 final SurfaceControl.Transaction tx = in resetWindowsOffset() local
234 tx.setPosition(leash, 0, 0) in resetWindowsOffset()
238 tx.apply(); in resetWindowsOffset()
/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/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java44 SurfaceControl.Transaction tx, SurfaceControl leash, in scale() argument
53 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scale()
61 SurfaceControl.Transaction tx, SurfaceControl leash, in scale() argument
70 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scale()
78 SurfaceControl.Transaction tx, SurfaceControl leash, in scaleAndCrop() argument
92 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scaleAndCrop()
101 SurfaceControl.Transaction tx, SurfaceControl leash, in scaleAndRotate() argument
124 tx.setMatrix(leash, mTmpTransform, mTmpFloat9) in scaleAndRotate()
142 final SurfaceControl.Transaction tx = new SurfaceControl.Transaction(); in newSurfaceControlTransaction() local
143 tx.setFrameTimelineVsync(Choreographer.getSfInstance().getVsyncId()); in newSurfaceControlTransaction()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimation.java253 final SurfaceControl.Transaction tx = mTransactionPool.acquire(); in onAnimationProgress() local
254 tx.setFrameTimelineVsync(Choreographer.getSfInstance().getVsyncId()); in onAnimationProgress()
262 .withMergeTransaction(tx) in onAnimationProgress()
266 mTransactionPool.release(tx); in onAnimationProgress()
273 final SurfaceControl.Transaction tx = mTransactionPool.acquire(); in finish() local
275 tx.setFrameTimelineVsync(Choreographer.getSfInstance().getVsyncId()); in finish()
281 .withMergeTransaction(tx) in finish()
285 tx.setWindowCrop(mFirstWindowSurface, null); in finish()
286 tx.apply(); in finish()
288 mTransactionPool.release(tx); in finish()
/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/media/jni/tuner/
DDvrClient.cpp70 AidlMQ::MemTransaction tx; in readFromFile() local
72 if (mDvrMQ->beginWrite(write, &tx)) { in readFromFile()
73 auto first = tx.getFirstRegion(); in readFromFile()
88 auto second = tx.getSecondRegion(); in readFromFile()
145 AidlMQ::MemTransaction tx; in writeToFile() local
146 if (mDvrMQ->beginRead(toRead, &tx)) { in writeToFile()
147 auto first = tx.getFirstRegion(); in writeToFile()
161 auto second = tx.getSecondRegion(); in writeToFile()
/frameworks/base/rs/java/android/renderscript/
DAllocationAdapter.java48 int tx = mAdaptedAllocation.mType.getX(); in initLOD() local
53 if ((tx==1) && (ty == 1) && (tz == 1)) { in initLOD()
57 if (tx > 1) tx >>= 1; in initLOD()
62 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/input/
DInputWindow.cpp99 parcel->writeFloat(transform.tx()) ?: in writeToParcel()
143 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
155 parcel->readFloat(&tx) ?: in readFromParcel()
190 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
/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.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/native/include/ui/
DTransform.h74 float tx() const;
86 void set(float tx, float ty);
/frameworks/native/libs/ui/include/ui/
DTransform.h74 float tx() const;
86 void set(float tx, float ty);
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h74 float tx() const;
86 void set(float tx, float ty);
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java137 final DummySurfaceControlTx tx = new DummySurfaceControlTx(); in pipTransitionAnimator_rotatedEndValue() local
145 animator.applySurfaceControlTransaction(mLeash, tx, 1); in pipTransitionAnimator_rotatedEndValue()
156 animator.applySurfaceControlTransaction(mLeash, tx, 1); in pipTransitionAnimator_rotatedEndValue()
/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;

123