HomeSort by relevance Sort by last modified time
    Searched defs:mContentView (Results 1 - 25 of 57) sorted by null

1 2 3

  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
TestContentViewActivity.java 25 private TestContentView mContentView;
30 mContentView = new TestContentView(this);
31 mContentView.setLayoutParams(new ViewGroup.LayoutParams(
33 setContentView(mContentView);
37 return mContentView;
  /frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
CustomSnackbarUsage.java 34 private CoordinatorLayout mContentView;
41 mContentView = findViewById(R.id.content_view);
46 final LayoutInflater inflater = LayoutInflater.from(mContentView.getContext());
49 R.layout.custom_snackbar_include, mContentView, false);
66 new CustomSnackbar(mContentView, content, contentViewCallback).setTitle("Custom title")
SnackbarUsage.java 34 private ViewGroup mContentView;
41 mContentView = findViewById(R.id.content_view);
49 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show();
53 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT)
64 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
69 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
81 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EmptyViewController.java 38 private final View mContentView;
50 mContentView = contentView;
80 mContentView.setVisibility(mIsEmpty ? View.GONE : View.VISIBLE);
  /frameworks/base/core/java/com/android/internal/view/
TooltipPopup.java 35 private final View mContentView;
46 mContentView = LayoutInflater.from(mContext).inflate(
48 mMessageView = (TextView) mContentView.findViewById(
74 wm.addView(mContentView, mLayoutParams);
83 wm.removeView(mContentView);
87 return mContentView;
91 return mContentView.getParent() != null;
148 mContentView.measure(spec, spec);
149 final int tooltipHeight = mContentView.getMeasuredHeight();
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java 55 private View mContentView;
73 mContentView = inflater.inflate(R.layout.content_welcome, null);
74 final ImageView imageView = (ImageView) mContentView.findViewById(R.id.image);
75 mContentView.setDrawingCacheEnabled(false);
78 mContentView.setOnDragListener(new View.OnDragListener() {
102 mContentView.setOnClickListener(new OnClickListener() {
119 mContentView.setOnLongClickListener(new View.OnLongClickListener() {
132 return mContentView;
391 mContentView.setSelected(false);
  /development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
CrossfadeActivity.java 48 private View mContentView;
66 mContentView = findViewById(R.id.content);
70 mContentView.setVisibility(View.GONE);
103 * Cross-fades between {@link #mContentView} and {@link #mLoadingView}.
107 final View showView = contentLoaded ? mContentView : mLoadingView;
108 final View hideView = contentLoaded ? mLoadingView : mContentView;
  /frameworks/support/browser/src/main/java/androidx/browser/browseractions/
BrowserActionsFallbackMenuDialog.java 39 private final View mContentView;
43 mContentView = contentView;
72 mContentView.setScaleX(from);
73 mContentView.setScaleY(from);
75 mContentView.animate()
  /frameworks/support/car/src/main/java/androidx/car/app/
CarAlertDialog.java 58 private View mContentView;
123 int bottomPadding = !hasButton && !hasBody ? 0 : mContentView.getPaddingBottom();
124 mContentView.setPaddingRelative(
125 mContentView.getPaddingStart(),
127 mContentView.getPaddingEnd(),
261 mContentView.setPaddingRelative(
262 mContentView.getPaddingStart(),
263 mContentView.getPaddingTop(),
264 mContentView.getPaddingEnd(),
275 mContentView = window.findViewById(R.id.content_view)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
CryptKeeperConfirm.java 99 private View mContentView;
153 mFinalButton = (Button) mContentView.findViewById(R.id.execute_encrypt);
166 mContentView = inflater.inflate(R.layout.crypt_keeper_confirm, null);
168 return mContentView;
MasterClearConfirm.java 54 private View mContentView;
142 mContentView.findViewById(R.id.execute_master_clear)
161 mContentView = inflater.inflate(R.layout.master_clear_confirm, null);
164 return mContentView;
170 (TextView) mContentView.findViewById(R.id.master_clear_confirm);
ResetNetworkConfirm.java 66 private View mContentView;
199 mContentView.findViewById(R.id.execute_reset_network)
218 mContentView = inflater.inflate(R.layout.reset_network_confirm, null);
220 return mContentView;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
LoadingViewControllerTest.java 42 private View mContentView;
50 mContentView = new View(mContext);
52 mController = new LoadingViewController(mLoadingView, mContentView);
59 assertThat(mContentView.getVisibility()).isEqualTo(View.VISIBLE);
  /frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DrawerLayoutDoubleTest.java 58 private View mContentView;
66 mContentView = mDrawerLayout.findViewById(R.id.content);
77 // thrown since mContentView is not a drawer.
79 mDrawerLayout.isDrawerOpen(mContentView));
86 // thrown since mContentView is not a drawer.
88 mDrawerLayout.isDrawerVisible(mContentView));
95 // thrown since mContentView is not a drawer.
96 onView(withId(R.id.drawer_layout)).perform(openDrawer(mContentView));
103 // thrown since mContentView is not a drawer.
104 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mContentView));
    [all...]
DrawerInteractionTest.java 60 private MockView mContentView;
68 mContentView = new MockView(context);
78 mContentView.setLayoutParams(contentViewLayoutParams);
82 mDrawerLayout.addView(mContentView);
123 assertThat(mContentView.mDispatchGenericMotionEventCalled, is(false));
136 assertThat(mContentView.mDispatchGenericMotionEventCalled, is(false));
147 assertThat(mContentView.mMotionEventPassedToDispatchGenericMotionEvent,
  /packages/apps/DeskClock/src/com/android/deskclock/
MoveScreensaverRunnable.java 34 * {@link #mContentView} if {@link #mSaverView} is transparent. It also schedules itself to run
50 private final View mContentView;
52 /** The display within the {@link #mContentView} that is randomly positioned. */
63 mContentView = contentView;
104 // mContentView are untrustworthy if this was caused by a configuration change. To
107 final int smallestDim = Math.min(mContentView.getWidth(), mContentView.getHeight());
118 // Select a new random position anywhere in mContentView that will fit mSaverView.
119 final float newX = getRandomPoint(mContentView.getWidth() - mSaverView.getWidth());
120 final float newY = getRandomPoint(mContentView.getHeight() - mSaverView.getHeight())
    [all...]
ScreensaverActivity.java 69 Utils.refreshAlarm(ScreensaverActivity.this, mContentView);
80 Utils.refreshAlarm(ScreensaverActivity.this, mContentView);
89 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView);
96 private View mContentView;
109 mContentView = findViewById(R.id.saver_container);
110 mMainClockView = mContentView.findViewById(R.id.main_clock);
122 mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE
127 mContentView.setOnSystemUiVisibilityChangeListener(new InteractionListener());
129 mPositionUpdater = new MoveScreensaverRunnable(mContentView, mMainClockView);
162 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView);
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
LoadingViewController.java 34 public final View mContentView;
38 mContentView = contentView;
61 handleLoadingContainer(mLoadingView, mContentView, done, animate);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
MessagePageFrameLayout.java 64 View mContentView = getRootView().findViewById(R.id.message_content);
83 mContentView.offsetTopAndBottom(offset);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
TooltipPopup.java 50 private final View mContentView;
61 mContentView = LayoutInflater.from(mContext).inflate(R.layout.abc_tooltip, null);
62 mMessageView = (TextView) mContentView.findViewById(R.id.message);
86 wm.addView(mContentView, mLayoutParams);
95 wm.removeView(mContentView);
99 return mContentView.getParent() != null;
166 mContentView.measure(spec, spec);
167 final int tooltipHeight = mContentView.getMeasuredHeight();
  /developers/build/prebuilts/gradle/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/
MainActivity.java 109 private View mContentView;
183 mContentView = findViewById(R.id.content_view);
339 mContentView.setPadding(x, y, 0, 0);
365 mContentView.setPadding(0, 0, 0, 0);
  /developers/samples/android/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/
MainActivity.java 109 private View mContentView;
183 mContentView = findViewById(R.id.content_view);
339 mContentView.setPadding(x, y, 0, 0);
365 mContentView.setPadding(0, 0, 0, 0);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/
MasterClearTest.java 94 private View mContentView;
102 mContentView = LayoutInflater.from(mActivity).inflate(R.layout.master_clear, null);
114 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim);
115 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external);
132 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim);
133 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external);
182 assertThat(((CheckBox) mContentView.findViewById(R.id.erase_esim)).isChecked()).isTrue();
215 .onClick(mContentView.findViewById(R.id.initiate_master_clear));
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrintPreviewController.java 57 private final PrintContentView mContentView;
84 mContentView = (PrintContentView) activity.findViewById(R.id.options_content);
96 return mContentView.isOptionsOpened();
100 mContentView.closeOptions();
  /cts/tests/tests/assist/service/src/android/voiceinteraction/service/
MainInteractionSession.java 61 private View mContentView;
113 if (mContentView == null) return; // Happens when ui is not enabled.
114 mContentView.getViewTreeObserver().addOnPreDrawListener(
118 mContentView.getViewTreeObserver().removeOnPreDrawListener(this);
119 Display d = mContentView.getDisplay();
123 intent.putExtra(Utils.EXTRA_CONTENT_VIEW_HEIGHT, mContentView.getHeight());
124 intent.putExtra(Utils.EXTRA_CONTENT_VIEW_WIDTH, mContentView.getWidth());
221 mContentView = f.inflate(R.layout.assist_layer,null);
223 return mContentView;

Completed in 342 milliseconds

1 2 3