/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | ElevationDragFragment.java | 54 View rootView = inflater.inflate(R.layout.ztranslation, container, false); in onCreateView() local 57 final View floatingShape = rootView.findViewById(R.id.circle); in onCreateView() 65 DragFrameLayout dragLayout = ((DragFrameLayout) rootView.findViewById(R.id.main_layout)); in onCreateView() 83 rootView.findViewById(R.id.raise_bt).setOnClickListener(new View.OnClickListener() { in onCreateView() 93 rootView.findViewById(R.id.lower_bt).setOnClickListener(new View.OnClickListener() { in onCreateView() 106 return rootView; in onCreateView()
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
D | FloatingActionButtonBasicFragment.java | 42 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/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | MainActivity.java | 154 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()
|
D | CollectionDemoActivity.java | 141 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/ |
D | RecyclerViewFragment.java | 67 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/RevealEffectBasic/src/com.example.android.revealeffectbasic/ |
D | RevealEffectBasicFragment.java | 47 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/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingFragment.java | 86 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/ |
D | ScreenSlidePageFragment.java | 68 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/ |
D | ElevationBasicFragment.java | 46 View rootView = inflater.inflate(R.layout.elevation_basic, container, false); in onCreateView() local 48 View shape2 = rootView.findViewById(R.id.floating_shape_2); in onCreateView() 73 return rootView; in onCreateView()
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ |
D | ContactsFragment.java | 84 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/ |
D | DirectorySelectionFragment.java | 88 public void onViewCreated(View rootView, Bundle savedInstanceState) { in onViewCreated() argument 89 super.onViewCreated(rootView, savedInstanceState); in onViewCreated() 91 rootView.findViewById(R.id.button_open_directory) in onViewCreated() 100 mCurrentDirectoryTextView = (TextView) rootView in onViewCreated() 102 mCreateDirectoryButton = (Button) rootView.findViewById(R.id.button_create_directory); in onViewCreated() 126 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerview_directory_entries); in onViewCreated()
|
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/ |
D | AppUsageStatisticsFragment.java | 91 public void onViewCreated(View rootView, Bundle savedInstanceState) { in onViewCreated() argument 92 super.onViewCreated(rootView, savedInstanceState); in onViewCreated() 96 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerview_app_usage); in onViewCreated() 100 mOpenUsageSettingButton = (Button) rootView.findViewById(R.id.button_open_usage_setting); in onViewCreated() 101 mSpinner = (Spinner) rootView.findViewById(R.id.spinner_time_span); in onViewCreated()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | QueueFragment.java | 135 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()
|
D | BrowseFragment.java | 124 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/ |
D | MainActivity.java | 212 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/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/ |
D | MainActivity.java | 229 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/NavigationDrawer/src/com.example.android.navigationdrawer/ |
D | NavigationDrawerActivity.java | 234 View rootView = inflater.inflate(R.layout.fragment_planet, container, false); in onCreateView() local 240 ImageView iv = ((ImageView) rootView.findViewById(R.id.image)); in onCreateView() 244 return rootView; in onCreateView()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | HdrViewfinderActivity.java | 104 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()
|