Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceTest.java70 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsetsTop()
78 mSource.setFrame(new Rect(0, 400, 500, 500)); in testCalculateInsetsBottom()
86 mSource.setFrame(new Rect(0, 0, 100, 500)); in testCalculateInsetsLeft()
94 mSource.setFrame(new Rect(400, 0, 500, 500)); in testCalculateInsetsRight()
102 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsets_overextend()
110 mImeSource.setFrame(new Rect(100, 400, 500, 500)); in testCalculateInsets_ime_leftCutout()
118 mImeCaptionSource.setFrame(new Rect(0, 400, 500, 500)); in testCalculateInsets_imeCaptionBar()
123 mImeCaptionSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsets_imeCaptionBar()
130 mCaptionSource.setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets_caption_resizing()
141 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsets_invisible()
[all …]
DInsetsStateTest.java102 .setFrame(new Rect(0, 0, 100, 100)) in testCalculateInsets()
105 .setFrame(new Rect(0, 200, 100, 300)) in testCalculateInsets()
122 .setFrame(new Rect(0, 200, 100, 300)) in testCalculateInsets_imeAndNav()
125 .setFrame(new Rect(0, 100, 100, 300)) in testCalculateInsets_imeAndNav()
141 .setFrame(new Rect(0, 0, 100, 100)) in testCalculateInsets_navRightStatusTop()
144 .setFrame(new Rect(80, 0, 100, 300)) in testCalculateInsets_navRightStatusTop()
156 .setFrame(new Rect(0, 0, 100, 100)) in testCalculateInsets_extraNavRightClimateTop()
159 .setFrame(new Rect(80, 0, 100, 300)) in testCalculateInsets_extraNavRightClimateTop()
171 .setFrame(new Rect(0, 0, 100, 100)) in testCalculateInsets_imeIgnoredWithoutAdjustResize()
174 .setFrame(new Rect(0, 200, 100, 300)) in testCalculateInsets_imeIgnoredWithoutAdjustResize()
[all …]
DWindowLayoutTests.java89 mState.getOrCreateSource(ID_STATUS_BAR, statusBars()).setFrame( in setUp()
91 mState.getOrCreateSource(ID_NAVIGATION_BAR, navigationBars()).setFrame( in setUp()
119 .setFrame(0, 0, mDisplayCutoutSafe.left, DISPLAY_HEIGHT); in addDisplayCutout()
121 .setFrame(0, 0, DISPLAY_WIDTH, mDisplayCutoutSafe.top); in addDisplayCutout()
123 .setFrame(mDisplayCutoutSafe.right, 0, DISPLAY_WIDTH, DISPLAY_HEIGHT); in addDisplayCutout()
125 .setFrame(0, mDisplayCutoutSafe.bottom, DISPLAY_WIDTH, DISPLAY_HEIGHT); in addDisplayCutout()
292 .setFrame(0, DISPLAY_HEIGHT - IME_HEIGHT, DISPLAY_WIDTH, DISPLAY_HEIGHT); in insetParentFrameByIme()
DInsetsSourceConsumerTest.java155 source.setFrame(0, 1, 2, 3); in testPendingStates()
159 source.setFrame(4, 5, 6, 7); in testPendingStates()
168 source.setFrame(8, 9, 10, 11); in testPendingStates()
174 source.setFrame(4, 5, 6, 7); in testPendingStates()
DInsetsControllerTest.java162 mStatusSource.setFrame(new Rect(0, 0, 100, 10)); in setup()
164 mNavSource.setFrame(new Rect(0, 90, 100, 100)); in setup()
166 mImeSource.setFrame(new Rect(0, 0, 100, 10)); in setup()
660 copy.peekSource(ID_IME).setFrame(0, 1, 2, 3); in testFrameUpdateDuringAnimation()
688 .setFrame(0, 0, 500, fromInsetsHeight) in testResizeAnimation_withFlagAnimateResizing()
691 state2.peekSource(id).setFrame(0, 0, 500, toInsetsHeight); in testResizeAnimation_withFlagAnimateResizing()
739 .setFrame(0, 0, 500, 50) in testResizeAnimation_withoutFlagAnimateResizing()
742 state2.peekSource(id).setFrame(0, 0, 500, 60); in testResizeAnimation_withoutFlagAnimateResizing()
764 state1.getOrCreateSource(id, type).setFrame(0, 0, 500, 50); in testResizeAnimation_sourceFrame()
767 state2.peekSource(id).setFrame(0, 0, 500, 0); in testResizeAnimation_sourceFrame()
[all …]
DInsetsAnimationControlImplTest.java96 .setFrame(new Rect(0, 0, 500, 100)); in setup()
98 .setFrame(new Rect(400, 0, 500, 500)); in setup()
DSurfaceControlViewHostInsetsTest.java76 .setFrame(new Rect(0, 0, 100, 10)); in statusBarState()
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.java105 .setFrame(u.left, u.top, safe.left, u.bottom) in update()
112 .setFrame(u.left, u.top, u.right, safe.top) in update()
119 .setFrame(safe.right, u.top, u.right, u.bottom) in update()
126 .setFrame(u.left, safe.bottom, u.right, u.bottom) in update()
DInsetsSourceProvider.java238 mSource.setFrame(mTmpRect); in updateSourceFrame()
299 mSource.setFrame(frame); in updateSourceFrameForServerVisibility()
333 source.setFrame(mTmpRect); in createSimulatedSource()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsModifierTestsBase.java87 .setFrame(dl, dt, sl, db); in configInsetsState()
91 .setFrame(dl, dt, dr, st); in configInsetsState()
95 .setFrame(sr, dt, dr, db); in configInsetsState()
99 .setFrame(dl, sb, dr, db); in configInsetsState()
DDisplayPolicyTests.java244 navSource.setFrame(mNavBarWindow.getFrame()); in testUpdateLightNavigationBarLw()
335 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithNavBar()
343 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithExtraNavBar()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp743 window->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
763 window->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
940 leftForegroundWindow->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
945 leftWallpaperWindow->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
951 rightForegroundWindow->setFrame(Rect(100, 0, 200, 100)); in TEST_F()
956 rightWallpaperWindow->setFrame(Rect(100, 0, 200, 100)); in TEST_F()
1024 leftForegroundWindow->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
1029 leftWallpaperWindow->setFrame(Rect(0, 0, 100, 100)); in TEST_F()
1035 middleForegroundWindow->setFrame(Rect(100, 0, 200, 100)); in TEST_F()
1041 middleWallpaperWindow->setFrame(Rect(100, 0, 200, 100)); in TEST_F()
[all …]
/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/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/base/core/java/android/view/
DInsetsSourceConsumer.java238 source.setFrame(mPendingFrame); in onAnimationStateChanged()
418 newSource.setFrame(source.getFrame()); in updateSource()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextViewCursorAnchorInfoPerfTest.java129 super.setFrame(0, 0, width, height); in mySetFrame()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerTest.java119 insetsSource.setFrame(0, TASK_HEIGHT - 200, TASK_WIDTH, TASK_HEIGHT); in setUp()
385 insetsSource.setFrame(0, 1800, 1000, 2000); in testUpdateDisplayLayoutInsets()
532 insetsSource.setFrame(0, TASK_HEIGHT - 200, 1000, TASK_HEIGHT); in testShouldShowSizeCompatRestartButton()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputDispatcherFuzzer.cpp74 window.setFrame(Rect(left, top, left + width, top + height)); in scrambleWindow()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h83 void setFrame(const sp<IMemory> &frameMem) { mFrameMemory = frameMem; } in setFrame() function

123