Home
last modified time | relevance | path

Searched refs:setFrame (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceTest.java61 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsetsTop()
69 mSource.setFrame(new Rect(0, 400, 500, 500)); in testCalculateInsetsBottom()
77 mSource.setFrame(new Rect(0, 0, 100, 500)); in testCalculateInsetsLeft()
85 mSource.setFrame(new Rect(400, 0, 500, 500)); in testCalculateInsetsRight()
93 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsets_overextend()
101 mImeSource.setFrame(new Rect(100, 400, 500, 500)); in testCalculateInsets_ime_leftCutout()
109 mCaptionSource.setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets_caption_resizing()
120 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsets_invisible()
129 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsets_ignoreVisibility()
138 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateVisibleInsets_default()
[all …]
DInsetsStateTest.java84 mState.getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets()
86 mState.getSource(ITYPE_IME).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets()
102 mState.getSource(ITYPE_NAVIGATION_BAR).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets_imeAndNav()
104 mState.getSource(ITYPE_IME).setFrame(new Rect(0, 100, 100, 300)); in testCalculateInsets_imeAndNav()
119 mState.getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets_navRightStatusTop()
121 mState.getSource(ITYPE_NAVIGATION_BAR).setFrame(new Rect(80, 0, 100, 300)); in testCalculateInsets_navRightStatusTop()
132 mState.getSource(ITYPE_CLIMATE_BAR).setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets_extraNavRightClimateTop()
134 mState.getSource(ITYPE_EXTRA_NAVIGATION_BAR).setFrame(new Rect(80, 0, 100, 300)); in testCalculateInsets_extraNavRightClimateTop()
147 mState.getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
149 mState.getSource(ITYPE_IME).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
[all …]
DInsetsSourceConsumerTest.java152 source.setFrame(0, 1, 2, 3); in testPendingStates()
156 source.setFrame(4, 5, 6, 7); in testPendingStates()
165 source.setFrame(8, 9, 10, 11); in testPendingStates()
171 source.setFrame(4, 5, 6, 7); in testPendingStates()
DInsetsControllerTest.java155 mController.getState().getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 100, 10)); in setup()
156 mController.getState().getSource(ITYPE_NAVIGATION_BAR).setFrame( in setup()
158 mController.getState().getSource(ITYPE_IME).setFrame(new Rect(0, 50, 100, 100)); in setup()
672 copy.getSource(ITYPE_IME).setFrame(0, 1, 2, 3); in testFrameUpdateDuringAnimation()
704 state1.getSource(type).setFrame(0, 0, 500, 50); in doTestResizeAnimation_insetsTypes()
706 state2.getSource(type).setFrame(0, 0, 500, 60); in doTestResizeAnimation_insetsTypes()
730 state1.getSource(type).setFrame(0, 0, 500, 50); in testResizeAnimation_displayFrame()
733 state2.getSource(type).setFrame(0, 0, 500, 60); in testResizeAnimation_displayFrame()
753 state1.getSource(type).setFrame(0, 0, 500, 50); in testResizeAnimation_visibility()
756 state2.getSource(type).setFrame(0, 0, 500, 60); in testResizeAnimation_visibility()
[all …]
DInsetsAnimationControlImplTest.java91 mInsetsState.getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 500, 100)); in setup()
92 mInsetsState.getSource(ITYPE_NAVIGATION_BAR).setFrame(new Rect(400, 0, 500, 500)); in setup()
DSurfaceControlViewHostInsetsTest.java83 insetsState.getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 100, 10)); in statusBarState()
DViewGroupTest.java188 setFrame(left, top, right, bottom); in TestView()
DViewGroupScrollCaptureTest.java426 setFrame(left, top, right, bottom); in MockView()
531 setFrame(left, top, right, bottom); in MockViewGroup()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java129 setFrame(startFromZero ? 0 : mCurFrame, true, mAnimating); in setVisible()
159 setFrame(0, false, mAnimationState.getChildCount() > 1 in start()
255 setFrame(0, true, false); in addFrame()
269 setFrame(nextFrame, unschedule, !isLastFrame); in nextFrame()
272 private void setFrame(int frame, boolean unschedule, boolean animate) { in setFrame() method in AnimationDrawable
301 setFrame(0, true, false); in inflate()
461 setFrame(0, true, false); in AnimationDrawable()
/frameworks/native/services/surfaceflinger/tests/
DLayerCallback_test.cpp197 TransactionUtils::setFrame(transaction, layer, Rect(0, 0, bufferSize.width, bufferSize.height), in TEST_F()
220 TransactionUtils::setFrame(transaction, layer, Rect(0, 0, bufferSize.width, bufferSize.height), in TEST_F()
242 TransactionUtils::setFrame(transaction, layer, Rect(0, 0, bufferSize.width, bufferSize.height), in TEST_F()
280 TransactionUtils::setFrame(transaction, layer, Rect(0, 0, bufferSize.width, bufferSize.height), in TEST_F()
309 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
311 TransactionUtils::setFrame(transaction2, layer2, in TEST_F()
343 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
345 TransactionUtils::setFrame(transaction2, layer2, in TEST_F()
378 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
380 TransactionUtils::setFrame(transaction2, layer2, in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java96 state.getSource(ITYPE_LEFT_DISPLAY_CUTOUT).setFrame( in update()
102 state.getSource(ITYPE_TOP_DISPLAY_CUTOUT).setFrame( in update()
108 state.getSource(ITYPE_RIGHT_DISPLAY_CUTOUT).setFrame( in update()
114 state.getSource(ITYPE_BOTTOM_DISPLAY_CUTOUT).setFrame( in update()
DRectInsetsSourceProvider.java43 mSource.setFrame(rect); in setRect()
DInsetsSourceProvider.java223 mSource.setFrame(mTmpRect); in updateSourceFrame()
276 mSource.setFrame(mSourceFrame); in updateSourceFrameForServerVisibility()
278 mSource.setFrame(0, 0, 0, 0); in updateSourceFrameForServerVisibility()
292 source.setFrame(mTmpRect); in createSimulatedSource()
DInputWindowHandleWrapper.java230 void setFrame(int left, int top, int right, int bottom) { in setFrame() method in InputWindowHandleWrapper
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DOutputPort.java99 public void setFrame(Frame frame) { in setFrame() method in OutputPort
105 mTargetPort.setFrame(frame); in setFrame()
DStreamPort.java41 public void setFrame(Frame frame) { in setFrame() method in StreamPort
DFieldPort.java48 public void setFrame(Frame frame) { in setFrame() method in FieldPort
DFilterPort.java100 public abstract void setFrame(Frame frame); in setFrame() method in FilterPort
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowLayoutTests.java92 mState.getSource(ITYPE_STATUS_BAR).setFrame( in setUp()
94 mState.getSource(ITYPE_NAVIGATION_BAR).setFrame( in setUp()
121 mState.getSource(ITYPE_LEFT_DISPLAY_CUTOUT).setFrame( in addDisplayCutout()
123 mState.getSource(ITYPE_TOP_DISPLAY_CUTOUT).setFrame( in addDisplayCutout()
125 mState.getSource(ITYPE_RIGHT_DISPLAY_CUTOUT).setFrame( in addDisplayCutout()
127 mState.getSource(ITYPE_BOTTOM_DISPLAY_CUTOUT).setFrame( in addDisplayCutout()
294 mState.getSource(InsetsState.ITYPE_IME).setFrame( in insetParentFrameByIme()
DDisplayPolicyTests.java200 navSource.setFrame(mNavBarWindow.getFrame()); in testUpdateLightNavigationBarLw()
270 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithNavBar()
277 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithExtraNavBar()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPerformanceTest.java125 super.setFrame(0, 0, w, h); in mySetFrame()
139 super.setFrame(0, 0, w, h); in mySetFrame()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1091 void setFrame(const Rect& frame, const ui::Transform& displayTransform = ui::Transform()) { in setFrame() function in android::inputdispatcher::FakeWindowHandle
1613 window->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
1632 window->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
1839 leftWindow->setFrame(Rect(0, 0, 200, 200)); in TEST_F()
1844 rightWindow->setFrame(Rect(200, 0, 400, 200)); in TEST_F()
1849 wallpaperWindow->setFrame(Rect(0, 0, 400, 200)); in TEST_F()
1924 leftWindow->setFrame(Rect(0, 0, 200, 200)); in TEST_F()
1930 rightWindow->setFrame(Rect(200, 0, 400, 200)); in TEST_F()
2019 windowLeft->setFrame(Rect(0, 0, 600, 800)); in TEST_F()
2022 windowRight->setFrame(Rect(600, 0, 1200, 800)); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DInsetsSource.java80 public void setFrame(int left, int top, int right, int bottom) { in setFrame() method in InsetsSource
84 public void setFrame(Rect frame) { in setFrame() method in InsetsSource
DInsetsSourceConsumer.java369 newSource.setFrame(source.getFrame()); in updateSource()
379 source.setFrame(mPendingFrame); in notifyAnimationFinished()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h83 void setFrame(const sp<IMemory> &frameMem) { mFrameMemory = frameMem; } in setFrame() function

123