/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionButtonsPreferenceTest.java | 46 private View mRootView; field in ActionButtonsPreferenceTest 53 mRootView = View.inflate(mContext, R.layout.settingslib_action_buttons, null /* parent */); in setUp() 54 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp() 67 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 69 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 71 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 73 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 86 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault() 88 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault() 90 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault() [all …]
|
D | BannerMessagePreferenceTest.java | 60 private View mRootView; field in BannerMessagePreferenceTest 87 assertThat(((TextView) mRootView.findViewById(R.id.banner_title)).getText()) in onBindViewHolder_whenTitleSet_shouldSetTitle() 98 setupActivity(Activity.class).setContentView(mRootView); in onBindViewHolder_andOnLayoutView_dismissButtonTouchDelegate_isCorrectSize() 100 assertThat(mRootView.getTouchDelegate()).isNotNull(); in onBindViewHolder_andOnLayoutView_dismissButtonTouchDelegate_isCorrectSize() 101 ShadowTouchDelegate delegate = shadowOf(mRootView.getTouchDelegate()); in onBindViewHolder_andOnLayoutView_dismissButtonTouchDelegate_isCorrectSize() 105 .isEqualTo(mRootView.findViewById(R.id.banner_dismiss_btn)); in onBindViewHolder_andOnLayoutView_dismissButtonTouchDelegate_isCorrectSize() 114 assertThat(((TextView) mRootView.findViewById(R.id.banner_summary)).getText()) in onBindViewHolder_whenSummarySet_shouldSetSummary() 125 assertThat(((TextView) mRootView.findViewById(R.id.banner_summary)).getText()) in onBindViewHolder_whenPreS_shouldBindView() 136 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle() 148 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle() [all …]
|
D | AppHeaderPreferenceTest.java | 39 private View mRootView; field in AppHeaderPreferenceTest 46 mRootView = View.inflate(mContext, R.layout.app_header_preference, /* parent */ null); in setUp() 47 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp() 62 assertThat(mRootView.findViewById(R.id.install_type).getVisibility()) in defaultInstallType_viewShouldNotBeVisible() 71 assertThat(((TextView) mRootView.findViewById(R.id.install_type)).getText().toString()) in setIsInstantApp_shouldUpdateInstallType() 82 assertThat(((TextView) mRootView.findViewById(R.id.second_summary)).getText().toString()) in setSecondSummary_shouldUpdateSecondSummary()
|
D | MainSwitchPreferenceTest.java | 39 private View mRootView; field in MainSwitchPreferenceTest 46 mRootView = View.inflate(mContext, R.layout.settingslib_main_switch_layout, in setUp() 48 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp() 60 assertThat(((TextView) mRootView.findViewById(R.id.switch_text)).getText()) in setTitle_shouldUpdateTitle()
|
D | AppPreferenceTest.java | 38 private View mRootView; field in AppPreferenceTest 45 mRootView = View.inflate(mContext, R.layout.preference_app, null /* parent */); in setUp() 46 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
|
D | IllustrationPreferenceTest.java | 69 private ViewGroup mRootView; field in IllustrationPreferenceTest 93 doReturn(mMiddleGroundLayout).when(mRootView).findViewById(R.id.middleground_layout); in setUp() 94 doReturn(mBackgroundView).when(mRootView).findViewById(R.id.background_view); in setUp() 95 doReturn(mAnimationView).when(mRootView).findViewById(R.id.lottie_view); in setUp() 96 doReturn(mIllustrationFrame).when(mRootView).findViewById(R.id.illustration_frame); in setUp() 97 mViewHolder = spy(PreferenceViewHolder.createInstanceForTests(mRootView)); in setUp()
|
D | TwoTargetPreferenceTest.java | 50 private View mRootView; field in TwoTargetPreferenceTest 59 mRootView = View.inflate(mContext, R.layout.preference_two_target, null /* parent */); in setUp() 60 mViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | LinearLayoutGridTest.java | 34 private ViewGroup mRootView; field in LinearLayoutGridTest 42 mRootView = getActivity().getRootView(); in setUp() 49 mRootView, in testGoDownFromMiddle() 58 mRootView, in testGoUpFromMiddle() 67 mRootView, in testGoRightFromMiddle() 76 mRootView, in testGoLeftFromMiddle()
|
/frameworks/base/packages/SettingsLib/LayoutPreference/src/com/android/settingslib/widget/ |
D | LayoutPreference.java | 49 private View mRootView; field in LayoutPreference 128 mRootView = view; in setView() 144 ViewGroup parent = (ViewGroup) mRootView.getParent(); in onBindViewHolder() 146 parent.removeView(mRootView); in onBindViewHolder() 148 layout.addView(mRootView); in onBindViewHolder() 158 return mRootView.findViewById(id); in findViewById()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedSwitchPreferenceTest.java | 42 private View mRootView; field in RestrictedSwitchPreferenceTest 49 mRootView = View.inflate(mContext, R.layout.restricted_switch_preference, in setUp() 51 mViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | CaptionWindowDecoration.java | 190 final WindowDecorLinearLayout oldRootView = mResult.mRootView; in relayout() 207 if (mResult.mRootView == null) { in relayout() 212 if (oldRootView != mResult.mRootView) { in relayout() 235 final int touchSlop = ViewConfiguration.get(mResult.mRootView.getContext()) in relayout() 239 final Resources res = mResult.mRootView.getResources(); in relayout() 249 final View caption = mResult.mRootView.findViewById(R.id.caption); in setupRootView() 262 if (mResult.mRootView == null) { in setCaptionColor() 266 final View caption = mResult.mRootView.findViewById(R.id.caption); in setCaptionColor()
|
D | DesktopModeWindowDecoration.java | 237 if (mResult.mRootView != null) { in relayoutInSync() 267 if (mResult.mRootView == null) { in relayoutWithDelayedViewHost() 288 final WindowDecorLinearLayout oldRootView = mResult.mRootView; in updateRelayoutParamsAndSurfaces() 301 if (mResult.mRootView == null) { in updateRelayoutParamsAndSurfaces() 308 if (oldRootView != mResult.mRootView) { in updateRelayoutParamsAndSurfaces() 351 final int touchSlop = ViewConfiguration.get(mResult.mRootView.getContext()) in updateDragResizeListener() 357 final Resources res = mResult.mRootView.getResources(); in updateDragResizeListener() 387 mResult.mRootView, in createViewHolder() 395 mResult.mRootView, in createViewHolder() 514 mResult.mRootView.findViewById(R.id.maximize_window); [all …]
|
D | WindowDecoration.java | 203 if (outResult.mRootView != null) { in relayout() 225 if (outResult.mRootView == null) { in updateViewsAndSurfaces() 231 updateCaptionVisibility(outResult.mRootView, mTaskInfo.displayId); in updateViewsAndSurfaces() 236 outResult.mRootView.setTaskFocusState(mTaskInfo.isFocused); in updateViewsAndSurfaces() 255 outResult.mRootView = rootView; in inflateIfNeeded() 274 outResult.mRootView = null; in inflateIfNeeded() 280 outResult.mRootView = (T) LayoutInflater.from(mDecorWindowContext) in inflateIfNeeded() 285 if (outResult.mRootView == null) { in inflateIfNeeded() 286 outResult.mRootView = (T) LayoutInflater.from(mDecorWindowContext) in inflateIfNeeded() 457 mViewHost.setView(outResult.mRootView, lp); in updateViewHost() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarMenuViewController.java | 43 private final ViewGroup mRootView; field in BubbleBarMenuViewController 54 mRootView = rootView; in BubbleBarMenuViewController() 150 R.layout.bubble_bar_menu_view, mRootView, false); in setupMenu() 164 mRootView.addView(mScrimView); in setupMenu() 165 mRootView.addView(mMenuView); in setupMenu()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashscreenWindowCreator.java | 421 private final View mRootView; field in SplashscreenWindowCreator.SplashWindowRecord 431 mRootView = decorView; in SplashWindowRecord() 448 if (mRootView == null) { in removeIfPossible() 454 removeWindowInner(mRootView, false); in removeIfPossible() 459 removeWindowInner(mRootView, false); in removeIfPossible() 464 () -> removeWindowInner(mRootView, true), in removeIfPossible() 469 removeWindowInner(mRootView, true); in removeIfPossible()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 146 protected View mRootView; field in PhotoViewController 313 mRootView = findViewById(getRootViewId()); in onCreate() 315 mRootView.setOnSystemUiVisibilityChangeListener(getSystemUiVisibilityChangeListener()); in onCreate() 815 Util.announceForAccessibility(mRootView, mAccessibilityManager, announcement); in setViewActivated() 988 final int totalWidth = mRootView.getMeasuredWidth(); in runEnterAnimation() 989 final int totalHeight = mRootView.getMeasuredHeight(); in runEnterAnimation() 1085 final int totalWidth = mRootView.getMeasuredWidth(); in runExitAnimation() 1086 final int totalHeight = mRootView.getMeasuredHeight(); in runExitAnimation() 1208 int totalWidth = mRootView.getMeasuredWidth(); in initTemporaryImage() 1213 final View base = mRootView; in initTemporaryImage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSImpl.java | 171 private View mRootView; field in QSImpl 209 mRootView = qsComponent.getRootView(); in onComponentCreated() 220 bindFooterActionsView(mRootView); in onComponentCreated() 223 View footerView = mRootView.findViewById(R.id.qs_footer_actions); in onComponentCreated() 229 mQSPanelScrollView = mRootView.findViewById(R.id.expanded_qs_scroll_view); in onComponentCreated() 243 mHeader = mRootView.findViewById(R.id.header); in onComponentCreated() 261 setEditLocation(mRootView); in onComponentCreated() 269 mRootView.addOnLayoutChangeListener( in onComponentCreated() 1044 return mRootView; in getView() 1049 return mRootView.getContext(); in getContext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
D | FragmentHostManager.java | 58 private final View mRootView; field in FragmentHostManager 76 mRootView = rootView; in FragmentHostManager() 195 return mRootView.findViewById(id); in findViewById()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 607 View mRootView; field in InputMethodService 945 ImeTracker.isFromUser(mRootView)); in hideSoftInput() 1010 ImeTracker.isFromUser(mRootView)); in showSoftInput() 1301 if (mRootView != null) { in getHostInputToken() 1302 viewRoot = mRootView.getViewRootImpl(); in getHostInputToken() 1865 mRootView = mInflater.inflate( in initViews() 1867 mWindow.setContentView(mRootView); in initViews() 1868 mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer); in initViews() 1869 mFullscreenArea = mRootView.findViewById(com.android.internal.R.id.fullscreenArea); in initViews() 1871 mExtractFrame = mRootView.findViewById(android.R.id.extractArea); in initViews() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/ |
D | TouchInsetManagerTest.java | 54 private ViewGroup mRootView; field in TouchInsetManagerTest 236 when(view.getRootView()).thenReturn(mRootView); in createView()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 211 View mRootView; field in VoiceInteractionSession 1177 mRootView.invalidate(); in doShow() 1178 mRootView.getViewTreeObserver().addOnPreDrawListener( in doShow() 1182 mRootView.getViewTreeObserver().removeOnPreDrawListener(this); in doShow() 1224 mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener( in doDestroy() 1337 mRootView = mInflater.inflate( in ensureWindowCreated() 1339 mRootView.setSystemUiVisibility( in ensureWindowCreated() 1342 mWindow.setContentView(mRootView); in ensureWindowCreated() 1343 mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer); in ensureWindowCreated() 1345 mContentFrame = (FrameLayout)mRootView.findViewById(android.R.id.content); in ensureWindowCreated()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | WindowDecorationTests.java | 207 assertNull(mRelayoutResult.mRootView); in testLayoutResultCalculation_invisibleTask() 350 assertThat(mRelayoutResult.mRootView).isNull(); in testNotCrashWhenDisplayAppearsAfterTask() 360 assertThat(mRelayoutResult.mRootView).isNull(); in testNotCrashWhenDisplayAppearsAfterTask() 370 assertThat(mRelayoutResult.mRootView).isSameInstanceAs(mMockView); in testNotCrashWhenDisplayAppearsAfterTask()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 1551 mAttachInfo.mRootView = view; 1614 mAttachInfo.mRootView = null; 1643 mAttachInfo.mRootView = null; 6383 mAttachInfo.mRootView = null; in dispatchDetachedFromWindow()
|
D | View.java | 18077 if (attachInfo == null || attachInfo.mRootView == null) { in hasExpensiveMeasuresDuringInputEvent() 27240 final View v = mAttachInfo.mRootView; in getRootView() 31741 View mRootView; field in View.AttachInfo
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 50052 Landroid/service/voice/VoiceInteractionSession;->mRootView:Landroid/view/View; 62591 Landroid/view/View$AttachInfo;->mRootView:Landroid/view/View;
|