Home
last modified time | relevance | path

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

12

/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DBigEditTextActivityNonScrollableResize.java30 private View mRootView; field in BigEditTextActivityNonScrollableResize
39 mRootView = new LinearLayout(this); in onCreate()
40 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); in onCreate()
41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
46 R.layout.full_screen_edit_text, ((LinearLayout) mRootView), false); in onCreate()
48 ((LinearLayout) mRootView).addView(view); in onCreate()
52 setContentView(mRootView); in onCreate()
56 return mRootView; in getRootView()
DBigEditTextActivityNonScrollablePanScan.java30 private View mRootView; field in BigEditTextActivityNonScrollablePanScan
39 mRootView = new LinearLayout(this); in onCreate()
40 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); in onCreate()
41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
46 R.layout.full_screen_edit_text, ((LinearLayout) mRootView), false); in onCreate()
48 ((LinearLayout) mRootView).addView(view); in onCreate()
52 setContentView(mRootView); in onCreate()
56 return mRootView; in getRootView()
DBigEditTextActivityScrollablePanScan.java31 private View mRootView; field in BigEditTextActivityScrollablePanScan
41 mRootView = new ScrollView(this); in onCreate()
42 ((ScrollView) mRootView).setFillViewport(true); in onCreate()
43 mRootView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
54 R.layout.full_screen_edit_text, ((ScrollView) mRootView), false); in onCreate()
58 ((ScrollView) mRootView).addView(mLayout); in onCreate()
61 setContentView(mRootView); in onCreate()
65 return mRootView; in getRootView()
DBigEditTextActivityScrollableResize.java31 private View mRootView; field in BigEditTextActivityScrollableResize
41 mRootView = new ScrollView(this); in onCreate()
42 ((ScrollView) mRootView).setFillViewport(true); in onCreate()
43 mRootView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
54 R.layout.full_screen_edit_text, ((ScrollView) mRootView), false); in onCreate()
58 ((ScrollView) mRootView).addView(mLayout); in onCreate()
61 setContentView(mRootView); in onCreate()
65 return mRootView; in getRootView()
DBottomEditTextActivityResize.java36 private View mRootView; field in BottomEditTextActivityResize
44 mRootView = new LinearLayout(this); in onCreate()
45 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); in onCreate()
47 … = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); in onCreate()
49 ((LinearLayout) mRootView).addView(view); in onCreate()
51 setContentView(mRootView); in onCreate()
56 return mRootView; in getRootView()
DBottomEditTextActivityPanScan.java36 private View mRootView; field in BottomEditTextActivityPanScan
44 mRootView = new LinearLayout(this); in onCreate()
45 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); in onCreate()
47 … = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); in onCreate()
49 ((LinearLayout) mRootView).addView(view); in onCreate()
51 setContentView(mRootView); in onCreate()
56 return mRootView; in getRootView()
DManyEditTextActivityNoScrollPanScan.java41 private View mRootView; field in ManyEditTextActivityNoScrollPanScan
48 mRootView = new LinearLayout(this); in onCreate()
49 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); in onCreate()
56 ((LinearLayout) mRootView).addView(editText); in onCreate()
58 setContentView(mRootView); in onCreate()
63 return mRootView; in getRootView()
DManyEditTextActivityScrollResize.java34 private View mRootView; field in ManyEditTextActivityScrollResize
40 mRootView = new ScrollView(this); in onCreate()
53 ((ScrollView) mRootView).addView(layout); in onCreate()
54 setContentView(mRootView); in onCreate()
59 return mRootView; in getRootView()
DOneEditTextActivitySelected.java39 private View mRootView; field in OneEditTextActivitySelected
49 mRootView = new ScrollView(this); in onCreate()
56 ((ScrollView) mRootView).addView(layout); in onCreate()
57 setContentView(mRootView); in onCreate()
65 return mRootView; in getRootView()
DManyEditTextActivityScrollPanScan.java41 private View mRootView; field in ManyEditTextActivityScrollPanScan
47 mRootView = new ScrollView(this); in onCreate()
60 ((ScrollView) mRootView).addView(layout); in onCreate()
61 setContentView(mRootView); in onCreate()
66 return mRootView; in getRootView()
DOneEditTextActivityNotSelected.java40 private View mRootView; field in OneEditTextActivityNotSelected
50 mRootView = new ScrollView(this); in onCreate()
61 ((ScrollView) mRootView).addView(layout); in onCreate()
62 setContentView(mRootView); in onCreate()
66 return mRootView; in getRootView()
DButtonActivity.java33 private View mRootView; field in ButtonActivity
72 mRootView = layout; in onCreate()
76 return mRootView; in getRootView()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPlaybackGlueHostImplWithViewHolder.java33 protected ViewGroup mRootView; field in PlaybackGlueHostImplWithViewHolder
58 mPlaybackRowPresenter.onCreateViewHolder(mRootView = new FrameLayout(mContext)); in createViewHolderIfNeeded()
59 mRootView.addView(mViewHolder.view, mLayoutWidth, mLayoutHeight); in createViewHolderIfNeeded()
60 mRootView.measure( in createViewHolderIfNeeded()
63 mRootView.layout(0, 0, mRootView.getMeasuredWidth(), mRootView.getMeasuredHeight()); in createViewHolderIfNeeded()
80 mRootView.dispatchKeyEvent(event); in sendKeyEvent()
89 mRootView.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); in sendKeyDownUp()
91 mRootView.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_UP, keyCode)); in sendKeyDownUp()
/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/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java51 private final View mRootView; field in QSSecurityFooter
71 mRootView = LayoutInflater.from(context) in QSSecurityFooter()
73 mRootView.setOnClickListener(this); in QSSecurityFooter()
74 mFooterText = (TextView) mRootView.findViewById(R.id.footer_text); in QSSecurityFooter()
75 mFooterIcon = (ImageView) mRootView.findViewById(R.id.footer_icon); in QSSecurityFooter()
102 return mRootView; in getView()
106 return mRootView.getVisibility() != View.GONE; in hasFooter()
397 mRootView.setVisibility(mIsVisible ? View.VISIBLE : View.GONE);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchOrbView.java43 private View mRootView; field in SearchOrbView
169 mRootView = inflater.inflate(getLayoutResourceId(), this, true); in SearchOrbView()
170 mSearchOrbView = mRootView.findViewById(R.id.search_orb); in SearchOrbView()
171 mIcon = (ImageView) mRootView.findViewById(R.id.icon); in SearchOrbView()
252 mRootView.animate().scaleX(zoom).scaleY(zoom).setDuration(mScaleDurationMs).start(); in animateOnFocus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java61 private ViewGroup mRootView; field in QSSecurityFooterTest
78 mRootView = (ViewGroup) mFooter.getView(); in setUp()
79 mFooterText = (TextView) mRootView.findViewById(R.id.footer_text); in setUp()
80 mFooterIcon = (TestableImageView) mRootView.findViewById(R.id.footer_icon); in setUp()
90 assertEquals(View.GONE, mRootView.getVisibility()); in testUnmanaged()
102 assertEquals(View.VISIBLE, mRootView.getVisibility()); in testManagedNoOwnerName()
119 assertEquals(View.VISIBLE, mRootView.getVisibility()); in testManagedOwnerName()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsFragment.java322 BrowseFrameLayout mRootView; field in DetailsFragment
436 mRootView = (BrowseFrameLayout) inflater.inflate( in onCreateView()
438 mBackgroundView = mRootView.findViewById(R.id.details_background_view); in onCreateView()
449 installTitleView(inflater, mRootView, savedInstanceState); in onCreateView()
454 mSceneAfterEntranceTransition = TransitionHelper.createScene(mRootView, new Runnable() { in onCreateView()
479 return mRootView; in onCreateView()
840 mRootView.setOnChildFocusListener(new BrowseFrameLayout.OnChildFocusListener() { in setupDpadNavigation()
849 if (child != mRootView.getFocusedChild()) { in setupDpadNavigation()
864 mRootView.setOnFocusSearchListener(new BrowseFrameLayout.OnFocusSearchListener() { in setupDpadNavigation()
891 mRootView.setOnDispatchKeyListener(new View.OnKeyListener() { in setupDpadNavigation()
DDetailsSupportFragment.java325 BrowseFrameLayout mRootView; field in DetailsSupportFragment
439 mRootView = (BrowseFrameLayout) inflater.inflate( in onCreateView()
441 mBackgroundView = mRootView.findViewById(R.id.details_background_view); in onCreateView()
452 installTitleView(inflater, mRootView, savedInstanceState); in onCreateView()
457 mSceneAfterEntranceTransition = TransitionHelper.createScene(mRootView, new Runnable() { in onCreateView()
482 return mRootView; in onCreateView()
843 mRootView.setOnChildFocusListener(new BrowseFrameLayout.OnChildFocusListener() { in setupDpadNavigation()
852 if (child != mRootView.getFocusedChild()) { in setupDpadNavigation()
867 mRootView.setOnFocusSearchListener(new BrowseFrameLayout.OnFocusSearchListener() { in setupDpadNavigation()
894 mRootView.setOnDispatchKeyListener(new View.OnKeyListener() { in setupDpadNavigation()
DPlaybackOverlaySupportFragment.java115 private View mRootView; field in PlaybackOverlaySupportFragment
204 if (mRootView != null) { in setBgAlpha()
205 mRootView.getBackground().setAlpha(alpha); in setBgAlpha()
741 if (mRootView != null) { in updateBackground()
748 mRootView.setBackground(new ColorDrawable(color)); in updateBackground()
804 mRootView = super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
808 return mRootView; in onCreateView()
813 mRootView = null; in onDestroyView()
DPlaybackOverlayFragment.java112 private View mRootView; field in PlaybackOverlayFragment
201 if (mRootView != null) { in setBgAlpha()
202 mRootView.getBackground().setAlpha(alpha); in setBgAlpha()
738 if (mRootView != null) { in updateBackground()
745 mRootView.setBackground(new ColorDrawable(color)); in updateBackground()
801 mRootView = super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
805 return mRootView; in onCreateView()
810 mRootView = null; in onDestroyView()
DPlaybackSupportFragment.java203 View mRootView; field in PlaybackSupportFragment
856 mRootView = inflater.inflate(R.layout.lb_playback_fragment, container, false); in onCreateView()
857 mBackgroundView = mRootView.findViewById(R.id.playback_fragment_background); in onCreateView()
879 progressBarManager.setRootView((ViewGroup) mRootView); in onCreateView()
881 return mRootView; in onCreateView()
950 mRootView = null; in onDestroyView()
/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/core/java/android/service/voice/
DVoiceInteractionSession.java134 View mRootView; field in VoiceInteractionSession
1020 mRootView.invalidate(); in doShow()
1021 mRootView.getViewTreeObserver().addOnPreDrawListener( in doShow()
1025 mRootView.getViewTreeObserver().removeOnPreDrawListener(this); in doShow()
1059 mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener( in doDestroy()
1090 mRootView = mInflater.inflate( in ensureWindowCreated()
1092 mRootView.setSystemUiVisibility( in ensureWindowCreated()
1095 mWindow.setContentView(mRootView); in ensureWindowCreated()
1096 mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer); in ensureWindowCreated()
1098 mContentFrame = (FrameLayout)mRootView.findViewById(android.R.id.content); in ensureWindowCreated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java50 private final View mRootView; field in FragmentHostManager
63 mRootView = rootView; in FragmentHostManager()
168 return mRootView.findViewById(id); in findViewById()

12