Home
last modified time | relevance | path

Searched refs:rootView (Results 1 – 22 of 22) sorted by relevance

/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DElevationDragFragment.java56 View rootView = inflater.inflate(R.layout.ztranslation, container, false); in onCreateView() local
59 final View floatingShape = rootView.findViewById(R.id.circle); in onCreateView()
67 DragFrameLayout dragLayout = ((DragFrameLayout) rootView.findViewById(R.id.main_layout)); in onCreateView()
85 rootView.findViewById(R.id.raise_bt).setOnClickListener(new View.OnClickListener() { in onCreateView()
95 rootView.findViewById(R.id.lower_bt).setOnClickListener(new View.OnClickListener() { in onCreateView()
108 return rootView; in onCreateView()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButtonBasicFragment.java42 View rootView = inflater.inflate(R.layout.fab_layout, container, false); in onCreateView() local
45 FloatingActionButton fab1 = (FloatingActionButton) rootView.findViewById(R.id.fab_1); in onCreateView()
47 FloatingActionButton fab2 = (FloatingActionButton) rootView.findViewById(R.id.fab_2); in onCreateView()
49 return rootView; in onCreateView()
/development/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/
DRevealEffectBasicFragment.java47 final View rootView = inflater.inflate(R.layout.reveal_effect_basic, container, false); in onCreateView() local
49 View button = rootView.findViewById(R.id.button); in onCreateView()
55 View shape = rootView.findViewById(R.id.circle); in onCreateView()
76 return rootView; in onCreateView()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java154 View rootView = inflater.inflate(R.layout.fragment_section_launchpad, container, false); in onCreateView() local
157 rootView.findViewById(R.id.demo_collection_button) in onCreateView()
167 rootView.findViewById(R.id.demo_external_activity) in onCreateView()
183 return rootView; in onCreateView()
197 View rootView = inflater.inflate(R.layout.fragment_section_dummy, container, false); in onCreateView() local
199 ((TextView) rootView.findViewById(android.R.id.text1)).setText( in onCreateView()
201 return rootView; in onCreateView()
DCollectionDemoActivity.java141 View rootView = inflater.inflate(R.layout.fragment_collection_object, container, false); in onCreateView() local
143 ((TextView) rootView.findViewById(android.R.id.text1)).setText( in onCreateView()
145 return rootView; in onCreateView()
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
DRecyclerViewFragment.java67 View rootView = inflater.inflate(R.layout.recycler_view_frag, container, false); in onCreateView() local
68 rootView.setTag(TAG); in onCreateView()
71 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView); in onCreateView()
92 mLinearLayoutRadioButton = (RadioButton) rootView.findViewById(R.id.linear_layout_rb); in onCreateView()
100 mGridLayoutRadioButton = (RadioButton) rootView.findViewById(R.id.grid_layout_rb); in onCreateView()
108 return rootView; in onCreateView()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessagingFragment.java86 View rootView = inflater.inflate(R.layout.fragment_message_me, container, false); in onCreateView() local
88 mSendSingleConversation = (Button) rootView.findViewById(R.id.send_1_conversation); in onCreateView()
91 mSendTwoConversations = (Button) rootView.findViewById(R.id.send_2_conversations); in onCreateView()
95 (Button) rootView.findViewById(R.id.send_1_conversation_3_messages); in onCreateView()
98 mDataPortView = (TextView) rootView.findViewById(R.id.data_port); in onCreateView()
101 mClearLogButton = (Button) rootView.findViewById(R.id.clear); in onCreateView()
106 return rootView; in onCreateView()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlidePageFragment.java68 ViewGroup rootView = (ViewGroup) inflater in onCreateView() local
72 ((TextView) rootView.findViewById(android.R.id.text1)).setText( in onCreateView()
75 return rootView; in onCreateView()
/development/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/
DElevationBasicFragment.java45 View rootView = inflater.inflate(R.layout.elevation_basic, container, false); in onCreateView() local
47 View shape2 = rootView.findViewById(R.id.floating_shape_2); in onCreateView()
72 return rootView; in onCreateView()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DSchedulerFragment.java79 public void onViewCreated(final View rootView, Bundle savedInstanceState) { in onViewCreated() argument
80 super.onViewCreated(rootView, savedInstanceState); in onViewCreated()
81 FloatingActionButton fab = (FloatingActionButton) rootView.findViewById(R.id.fab_add_alarm); in onViewCreated()
90 mTextViewIntroMessage = (TextView) rootView.findViewById(R.id.text_intro_message); in onViewCreated()
97 RecyclerView recyclerView = (RecyclerView) rootView.findViewById(R.id.recycler_view_alarms); in onViewCreated()
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DScopedDirectoryAccessFragment.java102 public void onViewCreated(final View rootView, Bundle savedInstanceState) { in onViewCreated() argument
103 super.onViewCreated(rootView, savedInstanceState); in onViewCreated()
105 mCurrentDirectoryTextView = (TextView) rootView in onViewCreated()
107 mNothingInDirectoryTextView = (TextView) rootView in onViewCreated()
109 mPrimaryVolumeNameTextView = (TextView) rootView in onViewCreated()
113 Button openPictureButton = (Button) rootView in onViewCreated()
155 RecyclerView recyclerView = (RecyclerView) rootView in onViewCreated()
170 mDirectoriesSpinner = (Spinner) rootView.findViewById(R.id.spinner_directories); in onViewCreated()
/development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/
DDropTargetFragment.java70 View rootView = inflater.inflate(R.layout.fragment_droptarget, container, false); in onCreateView() local
71 final ImageView imageView = (ImageView) rootView.findViewById(R.id.image_target); in onCreateView()
86 mReleasePermissionCheckBox = (CheckBox) rootView.findViewById(R.id.release_checkbox); in onCreateView()
88 return rootView; in onCreateView()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
DContactsFragment.java84 View rootView = inflater.inflate(R.layout.fragment_contacts, container, false); in onCreateView() local
86 mMessageText = (TextView) rootView.findViewById(R.id.contact_message); in onCreateView()
89 Button button = (Button) rootView.findViewById(R.id.contact_add); in onCreateView()
98 button = (Button) rootView.findViewById(R.id.contact_load); in onCreateView()
105 return rootView; in onCreateView()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java87 public void onViewCreated(View rootView, Bundle savedInstanceState) { in onViewCreated() argument
88 super.onViewCreated(rootView, savedInstanceState); in onViewCreated()
90 rootView.findViewById(R.id.button_open_directory) in onViewCreated()
99 mCurrentDirectoryTextView = (TextView) rootView in onViewCreated()
101 mCreateDirectoryButton = (Button) rootView.findViewById(R.id.button_create_directory); in onViewCreated()
125 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerview_directory_entries); in onViewCreated()
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsFragment.java90 public void onViewCreated(View rootView, Bundle savedInstanceState) { in onViewCreated() argument
91 super.onViewCreated(rootView, savedInstanceState); in onViewCreated()
94 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerview_app_usage); in onViewCreated()
98 mOpenUsageSettingButton = (Button) rootView.findViewById(R.id.button_open_usage_setting); in onViewCreated()
99 mSpinner = (Spinner) rootView.findViewById(R.id.spinner_time_span); in onViewCreated()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueFragment.java135 View rootView = inflater.inflate(R.layout.fragment_list, container, false); in onCreateView() local
137 mSkipPrevious = (ImageButton) rootView.findViewById(R.id.skip_previous); in onCreateView()
141 mSkipNext = (ImageButton) rootView.findViewById(R.id.skip_next); in onCreateView()
145 mPlayPause = (ImageButton) rootView.findViewById(R.id.play_pause); in onCreateView()
151 ListView mListView = (ListView) rootView.findViewById(R.id.list_view); in onCreateView()
166 return rootView; in onCreateView()
DBrowseFragment.java124 View rootView = inflater.inflate(R.layout.fragment_list, container, false); in onCreateView() local
128 View controls = rootView.findViewById(R.id.controls); in onCreateView()
131 ListView listView = (ListView) rootView.findViewById(R.id.list_view); in onCreateView()
153 return rootView; in onCreateView()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java212 View rootView = inflater.inflate(R.layout.fragment_main_dummy, container, false); in onCreateView() local
213 TextView dummyTextView = (TextView) rootView.findViewById(R.id.section_label); in onCreateView()
215 return rootView; in onCreateView()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DNavigationDrawerActivity.java232 View rootView = inflater.inflate(R.layout.fragment_planet, container, false); in onCreateView() local
238 ImageView iv = ((ImageView) rootView.findViewById(R.id.image)); in onCreateView()
242 return rootView; in onCreateView()
/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/
DMainActivity.java229 View rootView = inflater.inflate(R.layout.fragment_planet, container, false); in onCreateView() local
235 ((ImageView) rootView.findViewById(R.id.image)).setImageResource(imageId); in onCreateView()
237 return rootView; in onCreateView()
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java227 View rootView = inflater.inflate(R.layout.fragment_planet, container, false); in onCreateView() local
229 mImageView = ((ImageView) rootView.findViewById(R.id.image)); in onCreateView()
234 return rootView; in onCreateView()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java104 private View rootView; field in HdrViewfinderActivity
150 rootView = findViewById(R.id.panels); in onCreate()
307 Snackbar.make(rootView, R.string.camera_permission_rationale, Snackbar in requestCameraPermissions()
358 Snackbar.make(rootView, R.string.camera_permission_denied_explanation, Snackbar in onRequestPermissionsResult()