Home
last modified time | relevance | path

Searched refs:viewGroup (Results 1 – 19 of 19) sorted by relevance

/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/
DCustomRecyclerAdapter.java59 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
68 LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
71 viewGroup, in onCreateViewHolder()
78 LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
81 viewGroup, in onCreateViewHolder()
88 LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
91 viewGroup, in onCreateViewHolder()
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt51 override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder { in onCreateViewHolder()
53 val v = LayoutInflater.from(viewGroup.context) in onCreateViewHolder()
54 .inflate(R.layout.text_row_item, viewGroup, false) in onCreateViewHolder()
/developers/build/prebuilts/gradle/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt51 override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder { in onCreateViewHolder()
53 val v = LayoutInflater.from(viewGroup.context) in onCreateViewHolder()
54 .inflate(R.layout.text_row_item, viewGroup, false) in onCreateViewHolder()
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
74 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
75 .inflate(R.layout.text_row_item, viewGroup, false); in onCreateViewHolder()
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
74 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
75 .inflate(R.layout.text_row_item, viewGroup, false); in onCreateViewHolder()
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java68 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
69 View view = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
70 .inflate(R.layout.recycler_row_item, viewGroup, false); in onCreateViewHolder()
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java67 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
68 View view = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
69 .inflate(R.layout.recycler_row_item, viewGroup, false); in onCreateViewHolder()
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DDirectoryEntryAdapter.java75 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
76 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
77 .inflate(R.layout.directory_item, viewGroup, false); in onCreateViewHolder()
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DDirectoryEntryAdapter.java30 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
31 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
32 .inflate(R.layout.directory_entry, viewGroup, false); in onCreateViewHolder()
/developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
DUsageListAdapter.java72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
73 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
74 .inflate(R.layout.usage_row, viewGroup, false); in onCreateViewHolder()
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DDirectoryEntryAdapter.java30 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
31 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
32 .inflate(R.layout.directory_entry, viewGroup, false); in onCreateViewHolder()
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DDirectoryEntryAdapter.java74 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
75 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
76 .inflate(R.layout.directory_item, viewGroup, false); in onCreateViewHolder()
/developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
DUsageListAdapter.java72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
73 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
74 .inflate(R.layout.usage_row, viewGroup, false); in onCreateViewHolder()
/developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
DMainActivity.java111 public View getView(int position, View view, ViewGroup viewGroup) { in getView() argument
113 view = getLayoutInflater().inflate(R.layout.grid_item, viewGroup, false); in getView()
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
DMainActivity.java111 public View getView(int position, View view, ViewGroup viewGroup) { in getView() argument
113 view = getLayoutInflater().inflate(R.layout.grid_item, viewGroup, false); in getView()
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionsGridPagerAdapter.java194 public void destroyItem(ViewGroup viewGroup, int row, int column, Object object) { in destroyItem() argument
196 viewGroup.removeView((View)object); in destroyItem()
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionsGridPagerAdapter.java194 public void destroyItem(ViewGroup viewGroup, int row, int column, Object object) { in destroyItem() argument
196 viewGroup.removeView((View)object); in destroyItem()
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DDeviceScanActivity.java223 public View getView(int i, View view, ViewGroup viewGroup) { in getView() argument
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DDeviceScanActivity.java223 public View getView(int i, View view, ViewGroup viewGroup) { in getView() argument