Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialogFragment.java395 ViewHolder holder; in getView() local
398 holder = new ViewHolder(); in getView()
399 holder.position = position; in getView()
400 holder.text1 = (TextView) convertView.findViewById(R.id.text1); in getView()
401 holder.text2 = (TextView) convertView.findViewById(R.id.text2); in getView()
402 holder.icon = (ImageView) convertView.findViewById(R.id.icon); in getView()
403 holder.check = (CheckBox) convertView.findViewById(R.id.check); in getView()
404 holder.expandGroupButton = (ImageButton) convertView.findViewById( in getView()
406 if (holder.expandGroupButton != null) { in getView()
407 holder.expandGroupListener = new ExpandGroupListener(); in getView()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DRSSurfaceView.java73 SurfaceHolder holder = getHolder(); in init() local
74 holder.addCallback(this); in init()
82 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
83 mSurfaceHolder = holder; in surfaceCreated()
91 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
105 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
108 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java158 ViewHolder holder = new ViewHolder(); in createView() local
159 holder.thumbnailView = convertView.findViewById(R.id.app_thumbnail); in createView()
160 holder.thumbnailViewImage = in createView()
165 updateThumbnail(holder, mRecentTasksLoader.getDefaultThumbnail(), false, false); in createView()
167 holder.iconView = (ImageView) convertView.findViewById(R.id.app_icon); in createView()
169 holder.iconView.setImageBitmap(mRecentTasksLoader.getDefaultIcon()); in createView()
171 holder.labelView = (TextView) convertView.findViewById(R.id.app_label); in createView()
172 holder.descriptionView = (TextView) convertView.findViewById(R.id.app_description); in createView()
174 convertView.setTag(holder); in createView()
189 ViewHolder holder = (ViewHolder) convertView.getTag(); in getView() local
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterSurfaceView.java100 public synchronized void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
110 mListener.surfaceCreated(holder); in surfaceCreated()
115 public synchronized void surfaceChanged(SurfaceHolder holder, in surfaceChanged() argument
127 mListener.surfaceChanged(holder, format, width, height); in surfaceChanged()
132 public synchronized void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
137 mListener.surfaceDestroyed(holder); in surfaceDestroyed()
/frameworks/base/core/java/android/view/
DSurfaceHolder.java79 public void surfaceCreated(SurfaceHolder holder); in surfaceCreated() argument
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, in surfaceChanged() argument
104 public void surfaceDestroyed(SurfaceHolder holder); in surfaceDestroyed() argument
121 public void surfaceRedrawNeeded(SurfaceHolder holder); in surfaceRedrawNeeded() argument
DHardwareRenderer.java204 abstract boolean initialize(SurfaceHolder holder) throws Surface.OutOfResourcesException; in initialize() argument
211 abstract void updateSurface(SurfaceHolder holder) throws Surface.OutOfResourcesException; in updateSurface() argument
234 abstract void invalidate(SurfaceHolder holder); in invalidate() argument
479 void initializeIfNeeded(int width, int height, SurfaceHolder holder) in initializeIfNeeded() argument
484 if (initialize(holder)) { in initializeIfNeeded()
745 boolean initialize(SurfaceHolder holder) throws Surface.OutOfResourcesException { in initialize() argument
748 mGl = createEglSurface(holder); in initialize()
774 void updateSurface(SurfaceHolder holder) throws Surface.OutOfResourcesException { in updateSurface() argument
776 createEglSurface(holder); in updateSurface()
891 GL createEglSurface(SurfaceHolder holder) throws Surface.OutOfResourcesException { in createEglSurface() argument
[all …]
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java168 ViewHolder holder; in getView() local
172 holder = new ViewHolder(); in getView()
173 holder.text = (TextView) convertView.findViewById(R.id.account_row_text); in getView()
174 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); in getView()
175 convertView.setTag(holder); in getView()
177 holder = (ViewHolder) convertView.getTag(); in getView()
180 holder.text.setText(mInfos[position].name); in getView()
181 holder.icon.setImageDrawable(mInfos[position].drawable); in getView()
DChooseAccountTypeActivity.java185 ViewHolder holder; in getView() local
189 holder = new ViewHolder(); in getView()
190 holder.text = (TextView) convertView.findViewById(R.id.account_row_text); in getView()
191 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); in getView()
192 convertView.setTag(holder); in getView()
194 holder = (ViewHolder) convertView.getTag(); in getView()
197 holder.text.setText(mInfos.get(position).name); in getView()
198 holder.icon.setImageDrawable(mInfos.get(position).drawable); in getView()
/frameworks/base/voip/java/com/android/server/sip/
DSipWakeLock.java51 synchronized void acquire(Object holder) { in acquire() argument
52 mHolders.add(holder); in acquire()
61 synchronized void release(Object holder) { in release() argument
62 mHolders.remove(holder); in release()
/frameworks/base/core/java/android/app/
DNativeActivity.java288 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
290 mCurSurfaceHolder = holder; in surfaceCreated()
291 onSurfaceCreatedNative(mNativeHandle, holder.getSurface()); in surfaceCreated()
295 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
297 mCurSurfaceHolder = holder; in surfaceChanged()
298 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); in surfaceChanged()
302 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded() argument
304 mCurSurfaceHolder = holder; in surfaceRedrawNeeded()
305 onSurfaceRedrawNeededNative(mNativeHandle, holder.getSurface()); in surfaceRedrawNeeded()
309 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
DLoadedApk.java623 HashMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> holder in forgetReceiverDispatcher() local
625 if (holder == null) { in forgetReceiverDispatcher()
626 holder = new HashMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher>(); in forgetReceiverDispatcher()
627 mUnregisteredReceivers.put(context, holder); in forgetReceiverDispatcher()
633 holder.put(r, rd); in forgetReceiverDispatcher()
639 HashMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> holder in forgetReceiverDispatcher() local
641 if (holder != null) { in forgetReceiverDispatcher()
642 rd = holder.get(r); in forgetReceiverDispatcher()
887 HashMap<ServiceConnection, LoadedApk.ServiceDispatcher> holder in forgetServiceDispatcher() local
889 if (holder == null) { in forgetServiceDispatcher()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppView.java39 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
40 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
46 mRS.setSurface(holder, w, h); in surfaceChanged()
DTestAppView.java57 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
58 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
64 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/docs/html/training/improving-layouts/
Dsmooth-scrolling.jd73 }.execute(holder);
91 findViewById()} is to use the "view holder" design pattern.</p>
110 ViewHolder holder = new ViewHolder();
111 holder.icon = (ImageView) convertView.findViewById(R.id.listitem_image);
112 holder.text = (TextView) convertView.findViewById(R.id.listitem_text);
113 holder.timestamp = (TextView) convertView.findViewById(R.id.listitem_timestamp);
114 holder.progress = (ProgressBar) convertView.findViewById(R.id.progress_spinner);
115 convertView.setTag(holder);
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
91 public void surfaceCreated(SurfaceHolder holder) { in onCreate()
93 setSurface(holder.getSurface()); in onCreate()
96 public void surfaceDestroyed(SurfaceHolder holder) { in onCreate()
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
113 public void surfaceCreated(SurfaceHolder holder) { in onCreate()
115 setSurface(holder.getSurface()); in onCreate()
118 public void surfaceDestroyed(SurfaceHolder holder) { in onCreate()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
54 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
59 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
54 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
59 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
56 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
60 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
56 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
60 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
56 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
60 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
DFountainView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
53 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
57 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
DBallsView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
53 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
57 mRS.setSurface(holder, w, h); in surfaceChanged()
/frameworks/base/services/java/com/android/server/am/
DContentProviderRecord.java76 ContentProviderHolder holder = new ContentProviderHolder(info); in newHolder() local
77 holder.provider = provider; in newHolder()
78 holder.noReleaseNeeded = noReleaseNeeded; in newHolder()
79 holder.connection = conn; in newHolder()
80 return holder; in newHolder()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
54 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java105 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
111 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
116 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument

123