Home
last modified time | relevance | path

Searched refs:mRootView (Results 1 – 25 of 28) 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()
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()
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()
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()
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()
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()
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()
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()
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()
61 mRootView.addView(mViewHolder.view, mLayoutWidth, mLayoutHeight); in createViewHolderIfNeeded()
62 mRootView.measure( in createViewHolderIfNeeded()
65 mRootView.layout(0, 0, mRootView.getMeasuredWidth(), mRootView.getMeasuredHeight()); in createViewHolderIfNeeded()
81 mRootView.dispatchKeyEvent(event); in sendKeyEvent()
90 mRootView.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); in sendKeyDownUp()
92 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/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/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsFragment.java328 BrowseFrameLayout mRootView; field in DetailsFragment
442 mRootView = (BrowseFrameLayout) inflater.inflate( in onCreateView()
444 mBackgroundView = mRootView.findViewById(R.id.details_background_view); in onCreateView()
455 installTitleView(inflater, mRootView, savedInstanceState); in onCreateView()
460 mSceneAfterEntranceTransition = TransitionHelper.createScene(mRootView, new Runnable() { in onCreateView()
485 return mRootView; in onCreateView()
846 mRootView.setOnChildFocusListener(new BrowseFrameLayout.OnChildFocusListener() { in setupDpadNavigation()
855 if (child != mRootView.getFocusedChild()) { in setupDpadNavigation()
870 mRootView.setOnFocusSearchListener(new BrowseFrameLayout.OnFocusSearchListener() { in setupDpadNavigation()
897 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()
DPlaybackSupportFragment.java200 View mRootView; field in PlaybackSupportFragment
853 mRootView = inflater.inflate(R.layout.lb_playback_fragment, container, false); in onCreateView()
854 mBackgroundView = mRootView.findViewById(R.id.playback_fragment_background); in onCreateView()
876 progressBarManager.setRootView((ViewGroup) mRootView); in onCreateView()
878 return mRootView; in onCreateView()
947 mRootView = null; in onDestroyView()
DPlaybackFragment.java203 View mRootView; field in PlaybackFragment
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/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()
109 return mRootView; in getView()
113 return mRootView.getVisibility() != View.GONE; in hasFooter()
444 mRootView.setVisibility(mIsVisible ? View.VISIBLE : View.GONE);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java67 private ViewGroup mRootView; field in QSSecurityFooterTest
87 mRootView = (ViewGroup) mFooter.getView(); in setUp()
88 mFooterText = (TextView) mRootView.findViewById(R.id.footer_text); in setUp()
89 mFooterIcon = (TestableImageView) 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/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.java51 private final View mRootView; field in FragmentHostManager
64 mRootView = rootView; in FragmentHostManager()
169 return mRootView.findViewById(id); in findViewById()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java273 View mRootView; field in InputMethodService
855 mRootView = mInflater.inflate( in initViews()
857 mRootView.setSystemUiVisibility( in initViews()
859 mWindow.setContentView(mRootView); in initViews()
860 mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener(mInsetsComputer); in initViews()
861 mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer); in initViews()
867 … mFullscreenArea = (ViewGroup)mRootView.findViewById(com.android.internal.R.id.fullscreenArea); in initViews()
869 mExtractFrame = (FrameLayout)mRootView.findViewById(android.R.id.extractArea); in initViews()
876 mCandidatesFrame = (FrameLayout)mRootView.findViewById(android.R.id.candidatesArea); in initViews()
877 mInputFrame = (FrameLayout)mRootView.findViewById(android.R.id.inputArea); in initViews()
[all …]

12