Home
last modified time | relevance | path

Searched refs:setPosition (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTouchAnimatorTest.java51 animator.setPosition(0); in testSetValueFloat()
54 animator.setPosition(.5f); in testSetValueFloat()
57 animator.setPosition(1); in testSetValueFloat()
67 animator.setPosition(0); in testSetValueFloat_threeValues()
70 animator.setPosition(.25f); in testSetValueFloat_threeValues()
73 animator.setPosition(.5f); in testSetValueFloat_threeValues()
76 animator.setPosition(.75f); in testSetValueFloat_threeValues()
79 animator.setPosition(1); in testSetValueFloat_threeValues()
89 animator.setPosition(0); in testSetValueInt()
92 animator.setPosition(.5f); in testSetValueInt()
[all …]
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp513 t.setPosition(mFGSurfaceControl, 64, 64); in SetUp()
581 ts.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
808 ts.setPosition(syncSurfaceControl, mDisplayWidth - 2, mDisplayHeight - 2); in TEST_F()
830 ts.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
874 ts.setPosition(relativeSurfaceControl, 64, 64); in TEST_F()
926 ts.setPosition(mChild, 10, 10); in TEST_F()
928 ts.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
939 ts.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
953 ts.setPosition(mChild, 0, 0); in TEST_F()
954 ts.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DCircularDisplayMask.java78 ctrl.setPosition(0, 0); in CircularDisplayMask()
112 mSurfaceControl.setPosition(0, 0); in drawIfNeeded()
116 mSurfaceControl.setPosition(0, -mScreenOffset); in drawIfNeeded()
120 mSurfaceControl.setPosition(-mScreenOffset, 0); in drawIfNeeded()
DSeamlessRotator.java72 transaction.setPosition(win.getSurfaceControl(), winSurfacePos[0], winSurfacePos[1]); in unrotate()
100 t.setPosition(win.mSurfaceControl, win.mLastSurfacePosition.x, win.mLastSurfacePosition.y); in finish()
DEmulatorDisplayOverlay.java64 ctrl.setPosition(0, 0); in EmulatorDisplayOverlay()
92 mSurfaceControl.setPosition(0, 0); in drawIfNeeded()
DWindowSurfaceController.java219 setPosition(null, left, top, recoveringMemory); in setPositionInTransaction()
222 void setPosition(SurfaceControl.Transaction t, float left, float top, in setPosition() method in WindowSurfaceController
234 mSurfaceControl.setPosition(left, top); in setPosition()
236 t.setPosition(mSurfaceControl, left, top); in setPosition()
DBlackFrame.java58 transaction.setPosition(surface, left, top); in BlackSurface()
72 t.setPosition(surface, mTmpFloats[Matrix.MTRANS_X], in setMatrix()
DStrictModeFlash.java49 ctrl.setPosition(0, 0); in StrictModeFlash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java120 setPosition(mLastPosition); in setCurrentPosition()
343 public void setPosition(float position) { in setPosition() method in QSAnimator
355 mFirstPageAnimator.setPosition(position); in setPosition()
356 mFirstPageDelayedAnimator.setPosition(position); in setPosition()
357 mTranslationXAnimator.setPosition(position); in setPosition()
358 mTranslationYAnimator.setPosition(position); in setPosition()
360 mBrightnessAnimator.setPosition(position); in setPosition()
363 mNonfirstPageAnimator.setPosition(position); in setPosition()
364 mNonfirstPageDelayedAnimator.setPosition(position); in setPosition()
DPageIndicator.java87 setPosition(position); in setLocation()
90 private void setPosition(int position) { in setPosition() method in PageIndicator
229 setPosition(mQueuedPositions.remove(0));
DTouchAnimator.java55 public void setPosition(float fraction) { in setPosition() method in TouchAnimator
82 touchAnimator.setPosition(value);
/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp51 .setPosition(mButton, samplingArea.left + BUTTON_PADDING, in Button()
65 .setPosition(mButtonBlend, samplingArea.left + SAMPLE_AREA_PADDING, in Button()
81 .setPosition(mSamplingArea, 490, 1606) in Button()
DRegionSampling_test.cpp190 .setPosition(mBackgroundLayer, 100, 100) in SetUp()
200 .setPosition(mContentLayer, 100, 100) in SetUp()
209 .setPosition(mTopLayer, 0, 0) in SetUp()
DEndToEndNativeInputTest.cpp152 t.setPosition(mSurfaceControl, x, y); in showAt()
283 t.setPosition(sc, 100, 100); in TEST_F()
286 t.setPosition(sc, 200, 200); in TEST_F()
353 t.setPosition(sc, -5, -5); in TEST_F()
/frameworks/base/core/jni/android/graphics/
DByteBufferStreamAdaptor.cpp82 return this->setPosition(mPosition + size) ? size : 0; in read()
119 bool rewind() override { return this->setPosition(0); } in rewind()
133 return this->setPosition(position > mLength ? mLength : position); in seek()
139 return this->setPosition(0); in move()
167 bool setPosition(size_t newPosition) { in setPosition() function in ByteBufferStream
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp754 Transaction().setPosition(layer, 5, 10).apply(); in TEST_P()
773 Transaction().setPosition(layer, 0.5f - epsilon, 0.5f - epsilon).apply(); in TEST_P()
779 Transaction().setPosition(layer, 0.5f + epsilon, 0.5f + epsilon).apply(); in TEST_P()
791 Transaction().setPosition(layer, -32, -32).apply(); in TEST_P()
797 Transaction().setPosition(layer, mDisplayWidth, mDisplayHeight).apply(); in TEST_P()
810 Transaction().setPosition(layer, -30, -30).apply(); in TEST_P()
816 Transaction().setPosition(layer, mDisplayWidth - 2, mDisplayHeight - 2).apply(); in TEST_P()
832 Transaction().setPosition(layer, 5, 10).setSize(layer, 64, 64).apply(); in TEST_P()
854 Transaction().setPosition(layer, 5, 10).setGeometryAppliesWithResize(layer).apply(); in TEST_P()
860 Transaction().setPosition(layer, 15, 20).apply(); in TEST_P()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTransactionCompat.java49 public TransactionCompat setPosition(SurfaceControlCompat surfaceControl, float x, float y) { in setPosition() method in TransactionCompat
50 mTransaction.setPosition(surfaceControl.mSurfaceControl, x, y); in setPosition()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCustomRenderer.java63 mRootNode.setPosition(0, 0, width, height); in setupRoot()
84 mChildNode.setPosition(0, 0, width, height); in setupChild()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java65 verify(mTransaction).setPosition(mSurfaces.top, -1000, -2000); in testSurfaceOrigin_applied()
76 verify(mTransaction).setPosition(mSurfaces.top, 0, 0); in testSurfaceOrigin_changeCausesReapply()
DRemoteAnimationControllerTest.java112 verify(mMockTransaction).setPosition(mMockLeash, app.position.x, app.position.y); in testRun()
254 verify(mMockTransaction).setPosition(mMockLeash, app.position.x, app.position.y); in testChange()
256 verify(mMockTransaction).setPosition(mMockThumbnailLeash, 0, 0); in testChange()
DDimmerTests.java251 verify(mTransaction).setPosition(dimLayer, 0, 0); in testDimUpdateWhileDimming()
256 verify(mTransaction).setPosition(dimLayer, 10, 10); in testDimUpdateWhileDimming()
/frameworks/base/libs/input/tests/mocks/
DMockSprite.h32 MOCK_METHOD(void, setPosition, (float, float), (override));
/frameworks/base/libs/input/
DSpriteController.h85 virtual void setPosition(float x, float y) = 0;
198 virtual void setPosition(float x, float y);
/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h57 virtual void setPosition(float x, float y) = 0;
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java769 t.setPosition(mSurfaceControl, 0, 0);
773 t.setPosition(mSurfaceControl, 0, displayInfo.logicalHeight);
777 t.setPosition(mSurfaceControl, displayInfo.logicalWidth,
782 t.setPosition(mSurfaceControl, displayInfo.logicalWidth, 0);

1234