Home
last modified time | relevance | path

Searched refs:getDecorView (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java64 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeWithCallback()
74 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode()
76 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode()
88 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode()
90 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode()
102 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1()
104 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1()
116 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2()
118 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2()
129 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testWindowCallbackModesLifecycleIsNotHandled()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java105 basicSwipeTest(LEFT, LEFT | RIGHT, -getActivity().getWindow().getDecorView().getWidth()); in swipeLeft()
110 basicSwipeTest(RIGHT, LEFT | RIGHT, getActivity().getWindow().getDecorView().getWidth()); in swipeRight()
115 basicSwipeTest(START, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeStart()
120 basicSwipeTest(END, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeEnd()
129 basicSwipeTest(START, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeStartInRTL()
136 basicSwipeTest(END, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeEndInRTL()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java222 getDecorView(window, new OnDecorViewInstalledListener() { in addImmersiveFlagsToDecorView()
232 getDecorView(window, new OnDecorViewInstalledListener() { in removeImmersiveFlagsFromDecorView()
240 private static void getDecorView(Window window, OnDecorViewInstalledListener callback) { in getDecorView() method in SystemBarHelper
241 new DecorViewFinder().getDecorView(window, callback, PEEK_DECOR_VIEW_RETRIES); in getDecorView()
271 public void getDecorView(Window window, OnDecorViewInstalledListener callback, in getDecorView() method in SystemBarHelper.DecorViewFinder
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivity.java71 getWindow().getDecorView().setOnTouchListener(this); in onCreate()
77 getWindow().getDecorView().postDelayed(mFinishRunnable, DISMISS_DELAY); in onStart()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DLeakTest.java87 getActivity().getWindow().getDecorView().postOnAnimation(watcher); in testNoChangeWhenDetached()
98 getActivity().getWindow().getDecorView().postOnAnimation(watcher); in testNoChangeWhenDetached()
DDataBindingUtilTest.java78 getActivity().getWindow().getDecorView(); // force a content to exist. in testInflate()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java124 window.getDecorView().getSystemUiVisibility()); in testHideSystemBarsWindow()
143 window.getDecorView().getSystemUiVisibility()); in testShowSystemBarsWindow()
246 public View getDecorView() { in getDecorView() method in SystemBarHelperTest.TestWindow
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java96 final View decorView = getWindow().getDecorView(); in show()
118 final View decorView = getWindow().getDecorView(); in startUser()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java95 View decor = win.getDecorView(); in onKey()
107 View decor = win.getDecorView(); in onKey()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java927 mWindow.getWindowManager().removeViewImmediate(mWindow.getDecorView()); in detach()
1001 getWindowManager().addView(mWindow.getDecorView(), mWindow.getAttributes()); in attach()
1045 mWindow.getWindowManager().updateViewLayout(mWindow.getDecorView(), lp); in applyWindowFlags()
1050 View v = mWindow == null ? null : mWindow.getDecorView(); in getSystemUiVisibilityFlagValue()
1055 View v = mWindow == null ? null : mWindow.getDecorView(); in applySystemUiVisibilityFlags()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DDisableScreenshotsActivity.java34 getWindow().getDecorView().setBackgroundColor(Color.RED); in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java98 View decor = win.getDecorView(); in onKey()
110 View decor = win.getDecorView(); in onKey()
/frameworks/base/core/java/android/view/
DWindow.java871 final View decorView = getDecorView(); in addOnFrameMetricsAvailableListener()
887 final View decorView = getDecorView(); in removeOnFrameMetricsAvailableListener()
889 getDecorView().removeFrameMetricsListener(listener); in removeOnFrameMetricsAvailableListener()
1265 final View decorView = getDecorView(); in isOutOfBounds()
1330 return getDecorView().findViewById(id); in findViewById()
1622 public abstract View getDecorView(); in getDecorView() method in Window
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DMainActivity.java19 View decorView = getWindow().getDecorView(); in onCreate()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java138 IBinder token = getWindow().getDecorView().getWindowToken(); in updateWallOff()
155 IBinder token = getWindow().getDecorView().getWindowToken(); in updateDispOff()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DSingleFragmentTestActivity.java46 getWindow().getDecorView().setSystemUiVisibility(uiOptions); in onCreate()
DSingleSupportFragmentTestActivity.java49 getWindow().getDecorView().setSystemUiVisibility(uiOptions); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java73 final View rootView = activity.getWindow().getDecorView(); in testRoundScrollbars()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMarqueeActivity.java56 getWindow().getDecorView().postDelayed(new Runnable() { in onCreate()
DPixelCopyWindow.java83 View decor = getWindow().getDecorView(); in takeScreenshot()
DViewLayersActivity.java46 getWindow().getDecorView().postDelayed(new Runnable() { in onCreate()
/frameworks/base/core/java/android/app/
DActivityTransitionState.java160 window.getDecorView(); in setEnterActivityOptions()
191 activity.getWindow().getDecorView().setVisibility(View.VISIBLE); in enterReady()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java153 mActivity.getWindow().getDecorView().postOnAnimation(new Runnable() { in waitForAnimation()
158 mActivity.getWindow().getDecorView().postOnAnimation(this); in waitForAnimation()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatActivity.java557 if (currentWindow != null && currentWindow.getDecorView() != null) { in performMenuItemShortcut()
558 final View decorView = currentWindow.getDecorView(); in performMenuItemShortcut()
DAppCompatDelegateImplV9.java311 mWindow.getDecorView().removeCallbacks(mInvalidatePanelMenuRunnable);
374 mWindow.getDecorView();
536 final View windowDecor = mWindow.getDecorView();
861 mWindow.getDecorView().post(mShowActionModePopup);
1036 final View windowDecor = mWindow.getDecorView();
1223 mWindow.getDecorView().removeCallbacks(mInvalidatePanelMenuRunnable);
1623 ViewCompat.postOnAnimation(mWindow.getDecorView(), mInvalidatePanelMenuRunnable);
1762 mWindow.getDecorView().removeCallbacks(mShowActionModePopup);
1810 mWindow.getDecorView().removeCallbacks(mShowActionModePopup);

123