Home
last modified time | relevance | path

Searched refs:mRootView (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionButtonsPreferenceTest.java44 private View mRootView; field in ActionButtonsPreferenceTest
51 mRootView = View.inflate(mContext, R.layout.settings_action_buttons, null /* parent */); in setUp()
52 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
65 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
67 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
69 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
71 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
84 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
86 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
88 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DLinearLayoutGridTest.java34 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/
DLayoutPreference.java49 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/widget/apppreference/
DAppPreferenceTest.java38 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()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTwoTargetPreferenceTest.java48 private View mRootView; field in TwoTargetPreferenceTest
57 mRootView = View.inflate(mContext, R.layout.preference_two_target, null /* parent */); in setUp()
58 mViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java68 private ViewGroup mRootView; field in QSSecurityFooterTest
87 mRootView = (ViewGroup) mFooter.getView(); in setUp()
88 mFooterText = mRootView.findViewById(R.id.footer_text); in setUp()
89 mFooterIcon = mRootView.findViewById(R.id.footer_icon); in setUp()
99 assertEquals(View.GONE, mRootView.getVisibility()); in testUnmanaged()
111 assertEquals(View.VISIBLE, mRootView.getVisibility()); in testManagedNoOwnerName()
128 assertEquals(View.VISIBLE, mRootView.getVisibility()); in testManagedOwnerName()
146 assertEquals(View.GONE, mRootView.getVisibility()); in testManagedDemoMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java55 private final View mRootView; field in QSSecurityFooter
77 mRootView = LayoutInflater.from(context) in QSSecurityFooter()
79 mRootView.setOnClickListener(this); in QSSecurityFooter()
80 mFooterText = (TextView) mRootView.findViewById(R.id.footer_text); in QSSecurityFooter()
81 mFooterIcon = (ImageView) mRootView.findViewById(R.id.footer_icon); in QSSecurityFooter()
110 return mRootView; in getView()
114 return mRootView.getVisibility() != View.GONE; in hasFooter()
453 mRootView.setVisibility(mIsVisible ? View.VISIBLE : View.GONE);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java146 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/fragments/
DFragmentHostManager.java54 private final View mRootView; field in FragmentHostManager
68 mRootView = rootView; in FragmentHostManager()
170 return mRootView.findViewById(id); in findViewById()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java157 View mRootView; field in VoiceInteractionSession
1068 mRootView.invalidate(); in doShow()
1069 mRootView.getViewTreeObserver().addOnPreDrawListener( in doShow()
1073 mRootView.getViewTreeObserver().removeOnPreDrawListener(this); in doShow()
1115 mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener( in doDestroy()
1146 mRootView = mInflater.inflate( in ensureWindowCreated()
1148 mRootView.setSystemUiVisibility( in ensureWindowCreated()
1151 mWindow.setContentView(mRootView); in ensureWindowCreated()
1152 mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer); in ensureWindowCreated()
1154 mContentFrame = (FrameLayout)mRootView.findViewById(android.R.id.content); in ensureWindowCreated()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java369 View mRootView; field in InputMethodService
1040 mRootView = mInflater.inflate( in initViews()
1042 mWindow.setContentView(mRootView); in initViews()
1043 mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener(mInsetsComputer); in initViews()
1044 mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer); in initViews()
1050 mFullscreenArea = mRootView.findViewById(com.android.internal.R.id.fullscreenArea); in initViews()
1052 mExtractFrame = mRootView.findViewById(android.R.id.extractArea); in initViews()
1059 mCandidatesFrame = mRootView.findViewById(android.R.id.candidatesArea); in initViews()
1060 mInputFrame = mRootView.findViewById(android.R.id.inputArea); in initViews()
1072 mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener( in onDestroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DHeadsUpStatusBarView.java59 private View mRootView; field in HeadsUpStatusBarView
/frameworks/base/core/java/android/view/
DViewRootImpl.java839 mAttachInfo.mRootView = view;
873 mAttachInfo.mRootView = null;
899 mAttachInfo.mRootView = null;
4162 mAttachInfo.mRootView = null; in dispatchDetachedFromWindow()