OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ViewHolder
(Results
1 - 21
of
21
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/view/
List14.java
38
* - It uses the
ViewHolder
pattern to avoid calling findViewById() when it is not necessary
40
* The
ViewHolder
pattern consists in storing a data structure in the tag of the view returned by
98
// A
ViewHolder
keeps references to children views to avoid unneccessary calls
100
ViewHolder
holder;
108
// Creates a
ViewHolder
and store references to the two children views
110
holder = new
ViewHolder
();
116
// Get the
ViewHolder
back to get fast access to the TextView
118
holder = (
ViewHolder
) convertView.getTag();
128
static class
ViewHolder
{
/packages/apps/Mms/src/com/android/mms/ui/
IconListAdapter.java
38
private
ViewHolder
mViewHolder;
40
static class
ViewHolder
{
45
public
ViewHolder
(View view) {
76
mViewHolder = new
ViewHolder
(view);
80
mViewHolder = (
ViewHolder
) view.getTag();
/development/samples/BluetoothLeGatt/src/com/example/bluetooth/le/
DeviceScanActivity.java
225
ViewHolder
viewHolder
;
229
viewHolder
= new
ViewHolder
();
230
viewHolder
.deviceAddress = (TextView) view.findViewById(R.id.device_address);
231
viewHolder
.deviceName = (TextView) view.findViewById(R.id.device_name);
232
view.setTag(
viewHolder
);
234
viewHolder
= (
ViewHolder
) view.getTag();
240
viewHolder
.deviceName.setText(deviceName)
[
all
...]
/frameworks/base/core/java/android/accounts/
ChooseAccountActivity.java
150
private static class
ViewHolder
{
168
ViewHolder
holder;
172
holder = new
ViewHolder
();
177
holder = (
ViewHolder
) convertView.getTag();
ChooseAccountTypeActivity.java
166
private static class
ViewHolder
{
185
ViewHolder
holder;
189
holder = new
ViewHolder
();
194
holder = (
ViewHolder
) convertView.getTag();
/packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaAdapter.java
63
static class
ViewHolder
{
109
ViewHolder
holder = null;
114
if (tag instanceof
ViewHolder
) {
115
holder = (
ViewHolder
) view.getTag();
119
holder = new
ViewHolder
();
AgendaByDayAdapter.java
57
static class
ViewHolder
{
185
ViewHolder
holder = null;
191
if (tag instanceof
ViewHolder
) {
193
holder = (
ViewHolder
) tag;
199
// Create a new AgendaView with a
ViewHolder
for fast access to
201
holder = new
ViewHolder
();
257
AgendaAdapter.
ViewHolder
holder = ((AgendaAdapter.
ViewHolder
) itemView.getTag());
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperListAdapter.java
99
ViewHolder
holder;
103
holder = new
ViewHolder
();
108
holder = (
ViewHolder
) convertView.getTag();
133
private class
ViewHolder
{
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneFilterTypeAdapter.java
49
static class
ViewHolder
{
56
ViewHolder
vh = new
ViewHolder
();
118
ViewHolder
.setupViewHolder(v);
121
ViewHolder
vh = (
ViewHolder
) v.getTag();
151
ViewHolder
vh = (
ViewHolder
) v.getTag();
TimeZoneResultAdapter.java
64
static class
ViewHolder
{
70
ViewHolder
vh = new
ViewHolder
();
278
ViewHolder
.setupViewHolder(v);
281
ViewHolder
vh = (
ViewHolder
) v.getTag();
/packages/apps/Settings/src/com/android/settings/
DeviceAdminSettings.java
148
static class
ViewHolder
{
206
ViewHolder
h = new
ViewHolder
();
217
ViewHolder
vh = (
ViewHolder
) view.getTag();
TrustedCredentialsSettings.java
190
ViewHolder
holder;
194
holder = new
ViewHolder
();
202
holder = (
ViewHolder
) view.getTag();
330
private static class
ViewHolder
{
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java
699
// Creates a new
ViewHolder
in which to store handles to each view resource. This
702
final
ViewHolder
holder = new
ViewHolder
();
[
all
...]
/development/apps/Development/src/com/android/development/
AccountsTester.java
107
class
ViewHolder
{
115
// A
ViewHolder
keeps references to children views to avoid unneccessary calls
117
ViewHolder
holder;
125
// Creates a
ViewHolder
and store references to the two children views
127
holder = new
ViewHolder
();
135
// Get the
ViewHolder
back to get fast access to the TextView
137
holder = (
ViewHolder
) convertView.getTag();
253
AccountArrayAdapter.
ViewHolder
holder =
254
(AccountArrayAdapter.
ViewHolder
)info.targetView.getTag();
/packages/apps/KeyChain/src/com/android/keychain/
KeyChainActivity.java
285
ViewHolder
holder;
289
holder = new
ViewHolder
();
295
holder = (
ViewHolder
) view.getTag();
350
private static class
ViewHolder
{
/packages/apps/Music/src/com/android/music/
AlbumBrowserActivity.java
510
static class
ViewHolder
{
578
ViewHolder
vh = new
ViewHolder
();
592
ViewHolder
vh = (
ViewHolder
) view.getTag();
MusicPicker.java
178
class
ViewHolder
{
218
ViewHolder
vh = new
ViewHolder
();
232
ViewHolder
vh = (
ViewHolder
) view.getTag();
ArtistAlbumBrowserActivity.java
570
static class
ViewHolder
{
641
ViewHolder
vh = new
ViewHolder
();
655
ViewHolder
vh = new
ViewHolder
();
669
ViewHolder
vh = (
ViewHolder
) view.getTag();
699
ViewHolder
vh = (
ViewHolder
) view.getTag();
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
RunningProcessesView.java
94
ViewHolder
mHolder;
149
public static class
ViewHolder
{
157
public
ViewHolder
(View v) {
296
new
ViewHolder
(v);
308
ViewHolder
vh = (
ViewHolder
) view.getTag();
/frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialogFragment.java
196
private static class
ViewHolder
{
395
ViewHolder
holder;
398
holder = new
ViewHolder
();
413
final
ViewHolder
fholder = holder;
421
holder = (
ViewHolder
) convertView.getTag();
442
void bindItemView(int position,
ViewHolder
holder) {
482
void bindHeaderView(int position,
ViewHolder
holder) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsPanelView.java
82
private
ViewHolder
mItemToAnimateInWhenWindowAnimationIsFinished;
114
/* package */ final static class
ViewHolder
{
147
ViewHolder
holder = new
ViewHolder
();
168
final
ViewHolder
holder = (
ViewHolder
) convertView.getTag();
184
ViewHolder
oldHolder = mItemToAnimateInWhenWindowAnimationIsFinished;
229
ViewHolder
holder = (
ViewHolder
) v.getTag();
493
private void updateIcon(
ViewHolder
h, Drawable icon, boolean show, boolean anim)
[
all
...]
Completed in 455 milliseconds