/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsPanelView.java | 147 ViewHolder holder = new ViewHolder(); in createView() local 148 holder.thumbnailView = convertView.findViewById(R.id.app_thumbnail); in createView() 149 holder.thumbnailViewImage = in createView() 153 updateThumbnail(holder, mRecentTasksLoader.getDefaultThumbnail(), false, false); in createView() 154 holder.iconView = (ImageView) convertView.findViewById(R.id.app_icon); in createView() 155 holder.iconView.setImageBitmap(mRecentTasksLoader.getDefaultIcon()); in createView() 156 holder.labelView = (TextView) convertView.findViewById(R.id.app_label); in createView() 157 holder.calloutLine = convertView.findViewById(R.id.recents_callout_line); in createView() 158 holder.descriptionView = (TextView) convertView.findViewById(R.id.app_description); in createView() 160 convertView.setTag(holder); in createView() [all …]
|
/frameworks/base/graphics/java/android/renderscript/ |
D | RSSurfaceView.java | 74 SurfaceHolder holder = getHolder(); in init() local 75 holder.addCallback(this); in init() 83 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 84 mSurfaceHolder = holder; in surfaceCreated() 92 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 106 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 109 mRS.setSurface(holder, w, h); in surfaceChanged()
|
/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/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
|
/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/core/java/android/app/ |
D | NativeActivity.java | 261 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 263 mCurSurfaceHolder = holder; in surfaceCreated() 264 onSurfaceCreatedNative(mNativeHandle, holder.getSurface()); in surfaceCreated() 268 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 270 mCurSurfaceHolder = holder; in surfaceChanged() 271 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); in surfaceChanged() 275 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded() argument 277 mCurSurfaceHolder = holder; in surfaceRedrawNeeded() 278 onSurfaceRedrawNeededNative(mNativeHandle, holder.getSurface()); in surfaceRedrawNeeded() 282 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
D | LoadedApk.java | 631 HashMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> holder in forgetReceiverDispatcher() local 633 if (holder == null) { in forgetReceiverDispatcher() 634 holder = new HashMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher>(); in forgetReceiverDispatcher() 635 mUnregisteredReceivers.put(context, holder); in forgetReceiverDispatcher() 641 holder.put(r, rd); in forgetReceiverDispatcher() 647 HashMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> holder in forgetReceiverDispatcher() local 649 if (holder != null) { in forgetReceiverDispatcher() 650 rd = holder.get(r); in forgetReceiverDispatcher() 896 HashMap<ServiceConnection, LoadedApk.ServiceDispatcher> holder in forgetServiceDispatcher() local 898 if (holder == null) { in forgetServiceDispatcher() [all …]
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 246 MotionEventHolder holder = MotionEventHolder.obtain(event, policyFlags); in batchMotionEvent() local 247 holder.next = mEventQueue; in batchMotionEvent() 248 mEventQueue.previous = holder; in batchMotionEvent() 249 mEventQueue = holder; in batchMotionEvent() 386 MotionEventHolder holder = sPool.acquire(); in obtain() local 387 if (holder == null) { in obtain() 388 holder = new MotionEventHolder(); in obtain() 390 holder.event = MotionEvent.obtain(event); in obtain() 391 holder.policyFlags = policyFlags; in obtain() 392 return holder; in obtain()
|
/frameworks/opt/net/voip/src/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/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()
|
/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/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/rs/java/tests/RsTest_14/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/rs/java/tests/RsTest_11/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/rs/java/tests/RsTest/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/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/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/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 63 ContentProviderHolder holder = activityManager.getContentProviderExternal( in getSystemLongPressTime() local 65 if (holder == null) { in getSystemLongPressTime() 68 provider = holder.provider; in getSystemLongPressTime()
|
/frameworks/rs/java/tests/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/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.java | 30 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface() local 31 sur = holder.getSurface(); in eglCreateWindowSurface()
|
/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/services/java/com/android/server/am/ |
D | ContentProviderRecord.java | 80 ContentProviderHolder holder = new ContentProviderHolder(info); in newHolder() local 81 holder.provider = provider; in newHolder() 82 holder.noReleaseNeeded = noReleaseNeeded; in newHolder() 83 holder.connection = conn; in newHolder() 84 return holder; in newHolder()
|