/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsPanelView.java | 149 ViewHolder holder = new ViewHolder(); in createView() local 150 holder.thumbnailView = convertView.findViewById(R.id.app_thumbnail); in createView() 151 holder.thumbnailViewImage = in createView() 155 updateThumbnail(holder, mRecentTasksLoader.getDefaultThumbnail(), false, false); in createView() 156 holder.iconView = (ImageView) convertView.findViewById(R.id.app_icon); in createView() 157 holder.iconView.setImageDrawable(mRecentTasksLoader.getDefaultIcon()); in createView() 158 holder.labelView = (TextView) convertView.findViewById(R.id.app_label); in createView() 159 holder.calloutLine = convertView.findViewById(R.id.recents_callout_line); in createView() 160 holder.descriptionView = (TextView) convertView.findViewById(R.id.app_description); in createView() 162 convertView.setTag(holder); in createView() [all …]
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 69 final SurfaceHolder holder = oldSurfaceView.getHolder(); in setSurfaceView() 70 holder.removeCallback(DisplaySinkService.this); in setSurfaceView() 80 final SurfaceHolder holder = surfaceView.getHolder(); in setSurfaceView() 81 holder.addCallback(DisplaySinkService.this); in setSurfaceView() 82 updateSurfaceFromUi(holder); in setSurfaceView() 106 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 111 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 112 updateSurfaceFromUi(holder); in surfaceChanged() 116 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument 120 private void updateSurfaceFromUi(SurfaceHolder holder) { in updateSurfaceFromUi() argument [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | SurfaceHolderTarget.java | 48 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 50 onSurfaceCreated(holder); 54 public void surfaceCreated (SurfaceHolder holder) { 55 onSurfaceCreated(holder); 59 public void surfaceDestroyed (SurfaceHolder holder) { 71 SurfaceHolder holder = ((SurfaceView)view).getHolder(); in onBindToView() local 72 if (holder == null) { in onBindToView() 76 setSurfaceHolder(holder); in onBindToView() 82 public void setSurfaceHolder(SurfaceHolder holder) { in setSurfaceHolder() argument 86 mSurfaceHolder = holder; in setSurfaceHolder() [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/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/hardware/camera2/impl/ |
D | CameraDevice.java | 545 final CaptureListenerHolder holder; in onCaptureStarted() local 549 holder = CameraDevice.this.mCaptureListenerMap.get(requestId); in onCaptureStarted() 552 if (holder == null) { in onCaptureStarted() 559 holder.getHandler().post( in onCaptureStarted() 563 holder.getListener().onCaptureStarted( in onCaptureStarted() 565 holder.getRequest(), in onCaptureStarted() 578 final CaptureListenerHolder holder; in onResultReceived() local 588 holder = CameraDevice.this.mCaptureListenerMap.get(requestId); in onResultReceived() 591 if (holder != null && !holder.isRepeating() && !quirkIsPartialResult) { in onResultReceived() 601 if (holder != null && holder.isRepeating() && !quirkIsPartialResult in onResultReceived() [all …]
|
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 115 BinderHolder holder = new BinderHolder(); in testConnect() local 118 CameraBinderTestUtils.USE_CALLING_UID, holder); in testConnect() 119 ICamera cameraUser = ICamera.Stub.asInterface(holder.getBinder()); in testConnect() 139 BinderHolder holder = new BinderHolder(); in testConnectPro() local 142 clientPackageName, CameraBinderTestUtils.USE_CALLING_UID, holder); in testConnectPro() 143 IProCameraUser cameraUser = IProCameraUser.Stub.asInterface(holder.getBinder()); in testConnectPro() 180 BinderHolder holder = new BinderHolder(); in testConnectDevice() local 183 clientPackageName, CameraBinderTestUtils.USE_CALLING_UID, holder); in testConnectDevice() 184 ICameraDeviceUser cameraUser = ICameraDeviceUser.Stub.asInterface(holder.getBinder()); in testConnectDevice()
|
/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/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/base/core/java/android/app/ |
D | NativeActivity.java | 264 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 266 mCurSurfaceHolder = holder; in surfaceCreated() 267 onSurfaceCreatedNative(mNativeHandle, holder.getSurface()); in surfaceCreated() 271 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 273 mCurSurfaceHolder = holder; in surfaceChanged() 274 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); in surfaceChanged() 278 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded() argument 280 mCurSurfaceHolder = holder; in surfaceRedrawNeeded() 281 onSurfaceRedrawNeededNative(mNativeHandle, holder.getSurface()); in surfaceRedrawNeeded() 285 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/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/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 127 SurfaceHolder holder = getHolder(); in SimpleSurfaceView() local 128 holder.addCallback(this); in SimpleSurfaceView() 133 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 138 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 140 Canvas canvas = holder.lockCanvas(); in surfaceChanged() 142 holder.unlockCanvasAndPost(canvas); in surfaceChanged() 146 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/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/base/services/java/com/android/server/am/ |
D | TaskRecord.java | 331 return info.subtasks.get(info.numSubThumbbails-1).holder.lastThumbnail; in getTaskTopThumbnailLocked() 376 ThumbnailHolder holder = null; in getTaskAccessInfoLocked() local 382 holder = ar.thumbHolder; in getTaskAccessInfoLocked() 383 if (holder != null) { in getTaskAccessInfoLocked() 384 thumbs.mainThumbnail = holder.lastThumbnail; in getTaskAccessInfoLocked() 404 if (ar.thumbHolder != holder && holder != null) { in getTaskAccessInfoLocked() 406 holder = ar.thumbHolder; in getTaskAccessInfoLocked() 408 sub.holder = holder; in getTaskAccessInfoLocked() 423 if (resumedActivity != null && resumedActivity.thumbHolder == sub.holder) { in getTaskAccessInfoLocked() 426 return sub.holder.lastThumbnail; in getTaskAccessInfoLocked()
|
/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/FountainFbo/src/com/example/android/rs/fountainfbo/ |
D | FountainFboView.java | 35 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 36 super.surfaceChanged(holder, format, w, h); in surfaceChanged() 40 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/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/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/Fountain/src/com/example/android/rs/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()
|