/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
SnackbarUsage.java | 33 private ViewGroup mContentView; 40 mContentView = (ViewGroup) findViewById(R.id.content_view); 48 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show(); 52 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT) 63 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and" 68 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and" 80 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
DeviceDetailFragment.java | 55 private View mContentView = null; 68 mContentView = inflater.inflate(R.layout.device_detail, null); 69 mContentView.findViewById(R.id.btn_connect).setOnClickListener(new View.OnClickListener() { 94 mContentView.findViewById(R.id.btn_disconnect).setOnClickListener( 104 mContentView.findViewById(R.id.btn_start_client).setOnClickListener( 118 return mContentView; 127 TextView statusText = (TextView) mContentView.findViewById(R.id.status_text); 148 TextView view = (TextView) mContentView.findViewById(R.id.group_owner); 154 view = (TextView) mContentView.findViewById(R.id.device_info); 161 new FileServerAsyncTask(getActivity(), mContentView.findViewById(R.id.status_text) [all...] |
DeviceListFragment.java | 47 View mContentView = null; 59 mContentView = inflater.inflate(R.layout.device_list, null); 60 return mContentView; 149 TextView view = (TextView) mContentView.findViewById(R.id.my_name); 151 view = (TextView) mContentView.findViewById(R.id.my_status);
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceDetailFragment.java | 56 private View mContentView = null; 69 mContentView = inflater.inflate(R.layout.device_detail, null); 70 mContentView.findViewById(R.id.btn_connect).setOnClickListener(new View.OnClickListener() { 95 mContentView.findViewById(R.id.btn_disconnect).setOnClickListener( 104 mContentView.findViewById(R.id.btn_start_client).setOnClickListener( 117 return mContentView; 126 TextView statusText = (TextView) mContentView.findViewById(R.id.status_text); 147 TextView view = (TextView) mContentView.findViewById(R.id.group_owner); 153 view = (TextView) mContentView.findViewById(R.id.device_info); 160 new FileServerAsyncTask(getActivity(), mContentView.findViewById(R.id.status_text) [all...] |
DeviceListFragment.java | 47 View mContentView = null; 59 mContentView = inflater.inflate(R.layout.device_list, null); 60 return mContentView; 149 TextView view = (TextView) mContentView.findViewById(R.id.my_name); 151 view = (TextView) mContentView.findViewById(R.id.my_status);
|
/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/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
OnboardingDemoFragment.java | 48 private View mContentView; 85 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false); 86 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image); 87 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image); 88 return mContentView; 102 mContentAnimator = createFadeInAnimator(mContentView); 122 Animator fadeOut = createFadeOutAnimator(mContentView); 130 Animator fadeIn = createFadeInAnimator(mContentView);
|
OnboardingDemoSupportFragment.java | 50 private View mContentView; 87 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false); 88 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image); 89 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image); 90 return mContentView; 104 mContentAnimator = createFadeInAnimator(mContentView); 124 Animator fadeOut = createFadeOutAnimator(mContentView); 132 Animator fadeIn = createFadeInAnimator(mContentView);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ScreensaverActivity.java | 42 private View mContentView, mSaverView; 73 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); 74 Utils.refreshAlarm(ScreensaverActivity.this, mContentView); 79 Utils.refreshAlarm(ScreensaverActivity.this, mContentView); 89 Utils.refreshAlarm(ScreensaverActivity.this, mContentView); 98 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); 201 mContentView = (View) mSaverView.getParent(); 202 mContentView.forceLayout(); 206 mMoveSaverRunnable.registerViews(mContentView, mSaverView); 208 mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFIL [all...] |
Screensaver.java | 44 private View mContentView, mSaverView; 58 Utils.refreshAlarm(Screensaver.this, mContentView); 67 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); 87 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); 88 Utils.refreshAlarm(Screensaver.this, mContentView); 91 Utils.refreshAlarm(Screensaver.this, mContentView); 186 mContentView = (View) mSaverView.getParent(); 189 mMoveSaverRunnable.registerViews(mContentView, mSaverView); 191 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); 192 Utils.refreshAlarm(Screensaver.this, mContentView); [all...] |
/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);
|
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 67 private View mContentView; 135 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_master_clear); 137 mExternalStorageContainer = mContentView.findViewById(R.id.erase_external_container); 138 mExternalStorage = (CheckBox) mContentView.findViewById(R.id.erase_external); 152 final View externalOption = mContentView.findViewById(R.id.erase_external_option_text); 155 final View externalAlsoErased = mContentView.findViewById(R.id.also_erases_external); 174 View masterClearContainer = mContentView.findViewById(R.id.master_clear_container); 202 View accountsLabel = mContentView.findViewById(R.id.accounts_label); 203 LinearLayout contents = (LinearLayout)mContentView.findViewById(R.id.accounts); 281 View otherUsers = mContentView.findViewById(R.id.other_users_present) [all...] |
MasterClearConfirm.java | 52 private View mContentView; 135 mContentView.findViewById(R.id.execute_master_clear) 153 mContentView = inflater.inflate(R.layout.master_clear_confirm, null); 156 return mContentView; 162 (TextView) mContentView.findViewById(R.id.master_clear_confirm);
|
CryptKeeperConfirm.java | 97 private View mContentView; 151 mFinalButton = (Button) mContentView.findViewById(R.id.execute_encrypt); 158 mContentView = inflater.inflate(R.layout.crypt_keeper_confirm, null); 160 return mContentView;
|
ResetNetworkConfirm.java | 55 private View mContentView; 117 mContentView.findViewById(R.id.execute_reset_network) 135 mContentView = inflater.inflate(R.layout.reset_network_confirm, null); 137 return mContentView;
|
CryptKeeperSettings.java | 51 private View mContentView; 102 mContentView = inflater.inflate(R.layout.crypt_keeper_settings, null); 107 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_encrypt); 111 mPowerWarning = mContentView.findViewById(R.id.warning_unplugged); 112 mBatteryWarning = mContentView.findViewById(R.id.warning_low_charge); 114 return mContentView;
|
ResetNetwork.java | 61 private View mContentView; 133 mSubscriptionSpinner = (Spinner) mContentView.findViewById(R.id.reset_network_subscription); 183 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_reset_network); 203 mContentView = inflater.inflate(R.layout.reset_network, null); 206 return mContentView;
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
RecordingCardView.java | 44 private final TextView mContentView; 62 mContentView = (TextView) findViewById(R.id.content); 70 mContentView.setText(content); 112 mContentView.setText("");
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
MainInteractionSession.java | 41 View mContentView; 119 mContentView = getLayoutInflater().inflate(R.layout.voice_interaction_session, null); 120 mAssistVisualizer = (AssistVisualizer)mContentView.findViewById(R.id.assist_visualizer); 124 mTopContent = mContentView.findViewById(R.id.top_content); 125 mBottomContent = mContentView.findViewById(R.id.bottom_content); 126 mText = (TextView)mContentView.findViewById(R.id.text); 127 mTreeButton = (Button)mContentView.findViewById(R.id.do_tree); 129 mTextButton = (Button)mContentView.findViewById(R.id.do_text); 131 mStartButton = (Button)mContentView.findViewById(R.id.start); 133 mScreenshot = (ImageView)mContentView.findViewById(R.id.screenshot) [all...] |
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
MainInteractionSession.java | 61 private View mContentView; 104 mContentView.getViewTreeObserver().addOnPreDrawListener( 108 mContentView.getViewTreeObserver().removeOnPreDrawListener(this); 109 Display d = mContentView.getDisplay(); 113 intent.putExtra(Utils.EXTRA_CONTENT_VIEW_HEIGHT, mContentView.getHeight()); 114 intent.putExtra(Utils.EXTRA_CONTENT_VIEW_WIDTH, mContentView.getWidth()); 211 mContentView = f.inflate(R.layout.assist_layer,null); 212 return mContentView;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ImageCardView.java | 128 private TextView mContentView; 197 mContentView = (TextView) inflater.inflate(R.layout.lb_image_card_view_themed_content, 199 mInfoArea.addView(mContentView); 227 (RelativeLayout.LayoutParams) mContentView.getLayoutParams(); 237 mContentView.setLayoutParams(relativeLayoutParams); 244 relativeLayoutParams.addRule(RelativeLayout.ALIGN_BOTTOM, mContentView.getId()); 415 if (mContentView == null) { 418 mContentView.setText(text); 425 if (mContentView == null) { 429 return mContentView.getText() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLRootView.java | 83 private GLView mContentView; 158 if (mContentView == content) return; 159 if (mContentView != null) { 164 mContentView.dispatchTouchEvent(cancelEvent); 168 mContentView.detachFromRoot(); 171 mContentView = content; 214 if (mContentView == null || (mFlags & FLAG_NEED_LAYOUT) != 0) return; 266 if (mContentView != null && w != 0 && h != 0) { 267 mContentView.layout(0, 0, w, h); 270 //mContentView.dumpTree("") [all...] |
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
CarUiEntry.java | 60 private View mContentView; 94 mContentView = inflater.inflate(R.layout.car_activity, null); 95 mDrawerLayout = (CarDrawerLayout) mContentView.findViewById(R.id.drawer_container); 97 mMenuButton = (ImageView) mContentView.findViewById(R.id.car_drawer_button); 98 mTitleView = (TextView) mContentView.findViewById(R.id.car_drawer_title); 99 mTruncatedListCardView = (CardView) mContentView.findViewById(R.id.truncated_list_card); 102 mListView = (PagedListView) mContentView.findViewById(R.id.list_view); 107 mTitleContainer = mContentView.findViewById(R.id.car_drawer_title_container); 109 mSearchBoxEndView = (FrameLayout) mContentView.findViewById(R.id.car_search_box_end_view); 110 mSearchBox = mContentView.findViewById(R.id.car_search_box) [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
DrawerLayoutDoubleTest.java | 45 private View mContentView; 57 mContentView = mDrawerLayout.findViewById(R.id.content); 68 // thrown since mContentView is not a drawer. 70 mDrawerLayout.isDrawerOpen(mContentView)); 77 // thrown since mContentView is not a drawer. 79 mDrawerLayout.isDrawerVisible(mContentView)); 86 // thrown since mContentView is not a drawer. 87 onView(withId(R.id.drawer_layout)).perform(openDrawer(mContentView)); 94 // thrown since mContentView is not a drawer. 95 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mContentView)); [all...] |
/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);
|