/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialogFragment.java | 395 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/ |
D | RSSurfaceView.java | 73 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/ |
D | RecentsPanelView.java | 158 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/ |
D | FilterSurfaceView.java | 100 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/ |
D | SurfaceHolder.java | 79 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
|
D | HardwareRenderer.java | 204 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/ |
D | ChooseAccountActivity.java | 168 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()
|
D | ChooseAccountTypeActivity.java | 185 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/ |
D | SipWakeLock.java | 51 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/ |
D | NativeActivity.java | 288 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
|
D | LoadedApk.java | 623 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/ |
D | SimpleAppView.java | 39 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()
|
D | TestAppView.java | 57 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/ |
D | smooth-scrolling.jd | 73 }.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/ |
D | NativeMedia.java | 86 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/ |
D | SceneGraphView.java | 53 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/ |
D | RsBenchView.java | 53 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/ |
D | RSTestView.java | 55 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/ |
D | RSTestView.java | 55 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/ |
D | RSTestView.java | 55 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/ |
D | FountainView.java | 52 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/ |
D | BallsView.java | 52 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/ |
D | ContentProviderRecord.java | 76 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/ |
D | RsRenderStatesView.java | 53 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/ |
D | MediaFrameworkTest.java | 105 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
|