Home
last modified time | relevance | path

Searched refs:setPosition (Results 1 – 25 of 85) 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.cpp512 t.setPosition(mFGSurfaceControl, 64, 64); in SetUp()
580 ts.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
807 ts.setPosition(syncSurfaceControl, mDisplayWidth - 2, mDisplayHeight - 2); in TEST_F()
829 ts.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
873 ts.setPosition(relativeSurfaceControl, 64, 64); in TEST_F()
925 ts.setPosition(mChild, 10, 10); in TEST_F()
927 ts.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
938 ts.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
952 ts.setPosition(mChild, 0, 0); in TEST_F()
953 ts.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java322 public void setPosition(float position) { in setPosition() method in QSAnimator
330 mFirstPageAnimator.setPosition(position); in setPosition()
331 mFirstPageDelayedAnimator.setPosition(position); in setPosition()
332 mTranslationXAnimator.setPosition(position); in setPosition()
333 mTranslationYAnimator.setPosition(position); in setPosition()
335 mBrightnessAnimator.setPosition(position); in setPosition()
338 mNonfirstPageAnimator.setPosition(position); in setPosition()
339 mNonfirstPageDelayedAnimator.setPosition(position); in setPosition()
413 setPosition(mLastPosition);
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/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/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.cpp173 t.setPosition(mSurfaceControl, x, y); in showAt()
313 t.setPosition(sc, 100, 100); in TEST_F()
316 t.setPosition(sc, 200, 200); in TEST_F()
383 t.setPosition(sc, -5, -5); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp750 Transaction().setPosition(layer, 5, 10).apply(); in TEST_P()
769 Transaction().setPosition(layer, 0.5f - epsilon, 0.5f - epsilon).apply(); in TEST_P()
775 Transaction().setPosition(layer, 0.5f + epsilon, 0.5f + epsilon).apply(); in TEST_P()
787 Transaction().setPosition(layer, -32, -32).apply(); in TEST_P()
793 Transaction().setPosition(layer, mDisplayWidth, mDisplayHeight).apply(); in TEST_P()
806 Transaction().setPosition(layer, -30, -30).apply(); in TEST_P()
812 Transaction().setPosition(layer, mDisplayWidth - 2, mDisplayHeight - 2).apply(); in TEST_P()
828 Transaction().setPosition(layer, 5, 10).setSize(layer, 64, 64).apply(); in TEST_P()
850 Transaction().setPosition(layer, 5, 10).setGeometryAppliesWithResize(layer).apply(); in TEST_P()
856 Transaction().setPosition(layer, 15, 20).apply(); in TEST_P()
[all …]
/frameworks/base/core/jni/android/graphics/
DByteBufferStreamAdaptor.cpp63 return this->setPosition(mPosition + size) ? size : 0; in read()
100 bool rewind() override { return this->setPosition(0); } in rewind()
114 return this->setPosition(position > mLength ? mLength : position); in seek()
120 return this->setPosition(0); in move()
148 bool setPosition(size_t newPosition) { in setPosition() function in ByteBufferStream
/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/native/services/inputflinger/include/
DPointerControllerInterface.h56 virtual void setPosition(float x, float y) = 0;
/frameworks/base/libs/input/
DSpriteController.h117 virtual void setPosition(float x, float y) = 0;
229 virtual void setPosition(float x, float y);
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java759 t.setPosition(mSurfaceControl, 0, 0);
763 t.setPosition(mSurfaceControl, 0, displayInfo.logicalHeight);
767 t.setPosition(mSurfaceControl, displayInfo.logicalWidth,
772 t.setPosition(mSurfaceControl, displayInfo.logicalWidth, 0);
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java538 tabi.setPosition(position); in configureTab()
543 mTabs.get(i).setPosition(i); in configureTab()
599 removedTab.setPosition(-1); in removeTabAt()
604 mTabs.get(i).setPosition(i); in removeTabAt()
1212 public void setPosition(int position) { in setPosition() method in WindowDecorActionBar.TabImpl

1234