Home
last modified time | relevance | path

Searched refs:decor (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java98 View decor = win.getDecorView(); in onKey() local
99 if (decor != null) { in onKey()
100 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
110 View decor = win.getDecorView(); in onKey() local
111 if (decor != null) { in onKey()
112 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
/frameworks/base/core/java/android/app/
DActivityTransitionState.java317 ViewGroup decor = null; in startExitBackTransition() local
321 decor = mEnterTransitionCoordinator.getDecor(); in startExitBackTransition()
324 if (enterViewsTransition != null && decor != null) { in startExitBackTransition()
325 enterViewsTransition.pause(decor); in startExitBackTransition()
332 if (enterViewsTransition != null && decor != null) { in startExitBackTransition()
333 enterViewsTransition.resume(decor); in startExitBackTransition()
335 if (delayExitBack && decor != null) { in startExitBackTransition()
336 final ViewGroup finalDecor = decor; in startExitBackTransition()
337 OneShotPreDrawListener.add(decor, () -> { in startExitBackTransition()
DActivityTransitionCoordinator.java865 ViewGroup decor = getDecor(); in moveSharedElementsToOverlay() local
866 if (decor != null) { in moveSharedElementsToOverlay()
874 GhostView.addGhost(view, decor, tempMatrix); in moveSharedElementsToOverlay()
876 if (moveWithParent && !isInTransitionGroup(parent, decor)) { in moveSharedElementsToOverlay()
877 GhostViewListeners listener = new GhostViewListeners(view, parent, decor); in moveSharedElementsToOverlay()
891 public static boolean isInTransitionGroup(ViewParent viewParent, ViewGroup decor) { in isInTransitionGroup() argument
892 if (viewParent == decor || !(viewParent instanceof ViewGroup)) { in isInTransitionGroup()
899 return isInTransitionGroup(parent.getParent(), decor); in isInTransitionGroup()
914 ViewGroup decor = getDecor(); in moveSharedElementsFromOverlay() local
915 if (decor != null) { in moveSharedElementsFromOverlay()
[all …]
DEnterTransitionCoordinator.java157 final ViewGroup decor = getDecor(); in triggerViewsReady() local
159 if (decor == null || (decor.isAttachedToWindow() && in triggerViewsReady()
163 mViewsReadyListener = OneShotPreDrawListener.add(decor, () -> { in triggerViewsReady()
167 decor.invalidate(); in triggerViewsReady()
282 final ViewGroup decor = getDecor(); in forceViewsToAppear() local
283 if (decor != null && mViewsReadyListener != null) { in forceViewsToAppear()
DExitTransitionCoordinator.java294 ViewGroup decor = getDecor(); in fadeOutBackground() local
296 if (decor != null && (background = decor.getBackground()) != null) { in fadeOutBackground()
DActivity.java3819 View decor = mDecor; in onWindowAttributesChanged() local
3820 if (decor != null && decor.getParent() != null) { in onWindowAttributesChanged()
3821 getWindowManager().updateViewLayout(decor, params); in onWindowAttributesChanged()
3974 View decor = mDecor; in dispatchKeyEvent() local
3975 if (decor == null) decor = win.getDecorView(); in dispatchKeyEvent()
3976 return event.dispatch(this, decor != null in dispatchKeyEvent()
3977 ? decor.getKeyDispatcherState() : null, this); in dispatchKeyEvent()
5248 final View decor = mWindow != null ? mWindow.peekDecorView() : null;
5249 if (decor != null) {
5250 decor.cancelPendingInputEvents();
DActivityThread.java4314 View decor = r.window.getDecorView(); in handleResumeActivity() local
4315 decor.setVisibility(View.INVISIBLE); in handleResumeActivity()
4318 a.mDecor = decor; in handleResumeActivity()
4328 ViewRootImpl impl = decor.getViewRootImpl(); in handleResumeActivity()
4336 wm.addView(decor, l); in handleResumeActivity()
4378 View decor = r.window.getDecorView(); in handleResumeActivity() local
4379 wm.updateViewLayout(decor, l); in handleResumeActivity()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java145 final ViewGroup decor; in FillUi() local
147 decor = (ViewGroup) inflater.inflate(R.layout.autofill_dataset_picker_fullscreen, null); in FillUi()
149 decor = (ViewGroup) inflater.inflate(R.layout.autofill_dataset_picker_header_footer, in FillUi()
152 decor = (ViewGroup) inflater.inflate(R.layout.autofill_dataset_picker, null); in FillUi()
154 decor.setClipToOutline(true); in FillUi()
155 final TextView titleView = decor.findViewById(R.id.autofill_dataset_title); in FillUi()
159 final ImageView iconView = decor.findViewById(R.id.autofill_dataset_icon); in FillUi()
178 decor.addOnUnhandledKeyEventListener((View view, KeyEvent event) -> { in FillUi()
219 ViewGroup container = decor.findViewById(R.id.autofill_dataset_picker); in FillUi()
223 mContext, decor, interceptionHandler, mThemeId); in FillUi()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPixelCopyWindow.java83 View decor = getWindow().getDecorView(); in takeScreenshot() local
85 decor.getGlobalVisibleRect(srcRect); in takeScreenshot()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java170 View decor = window.getDecorView(); in WindowDecorActionBar() local
172 init(decor); in WindowDecorActionBar()
174 mContentView = decor.findViewById(android.R.id.content); in WindowDecorActionBar()
192 private void init(View decor) { in init() argument
193 mOverlayLayout = (ActionBarOverlayLayout) decor.findViewById( in init()
198 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init()
199 mContextView = (ActionBarContextView) decor.findViewById( in init()
201 mContainerView = (ActionBarContainer) decor.findViewById( in init()
203 mSplitView = (ActionBarContainer) decor.findViewById( in init()
/frameworks/base/core/java/android/view/
DWindow.java786 View decor = peekDecorView(); in adjustLayoutParamsForSubWindow() local
787 if (decor != null) { in adjustLayoutParamsForSubWindow()
788 wp.token = decor.getWindowToken(); in adjustLayoutParamsForSubWindow()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java438 View decor = getWindow().getWindow().getDecorView();
439 info.contentInsets.top = info.visibleInsets.top = decor.getHeight();
1474 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1475 loc[1] = decor.getHeight(); in onComputeInsets()
1479 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1480 outInsets.contentTopInsets = decor.getHeight(); in onComputeInsets()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2336 protected ViewGroup generateLayout(DecorView decor) { in generateLayout() argument
2490 decor.setSystemUiVisibility( in generateLayout()
2491 decor.getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); in generateLayout()
2494 decor.setSystemUiVisibility( in generateLayout()
2495 decor.getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR); in generateLayout()
/frameworks/base/core/java/android/widget/
DPopupWindow.java2099 final View decor = mDecorView; in getTransitionEpicenter() local
2100 if (anchor == null || decor == null) { in getTransitionEpicenter()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java1807 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1808 outInsets.contentInsets.top = decor.getHeight(); in onComputeInsets()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java1371 public void addItemDecoration(ItemDecoration decor, int index) { in addItemDecoration() argument
1380 mItemDecorations.add(decor); in addItemDecoration()
1382 mItemDecorations.add(index, decor); in addItemDecoration()
1400 public void addItemDecoration(ItemDecoration decor) { in addItemDecoration() argument
1401 addItemDecoration(decor, -1); in addItemDecoration()
1413 public void removeItemDecoration(ItemDecoration decor) { in removeItemDecoration() argument
1418 mItemDecorations.remove(decor); in removeItemDecoration()