/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
H A D | CameraPreviewView.java | 38 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 47 public void surfaceCreated(SurfaceHolder holder) { argument 56 public void surfaceDestroyed(SurfaceHolder holder) { argument
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
H A D | FallView.java | 36 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 37 super.surfaceChanged(holder, format, w, h);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
H A D | GalaxyView.java | 33 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 34 super.surfaceChanged(holder, format, w, h);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
H A D | GrassView.java | 33 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 34 super.surfaceChanged(holder, format, w, h);
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
H A D | GalaxyView.java | 25 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 26 super.surfaceChanged(holder, format, w, h); 30 mRS.setSurface(holder, w, h);
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
H A D | NoiseFieldView.java | 19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 20 super.surfaceChanged(holder, format, w, h); 25 mRS.setSurface(holder, w, h);
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
H A D | PhaseBeamView.java | 19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 20 super.surfaceChanged(holder, format, w, h); 25 mRS.setSurface(holder, w, h);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | AsyncResultHolderTests.java | 32 private <T> void setAfterGivenTime(final AsyncResultHolder<T> holder, final T value, argument 42 holder.set(value); 48 final AsyncResultHolder<Integer> holder = new AsyncResultHolder<Integer>(); 49 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); 54 final AsyncResultHolder<Integer> holder = new AsyncResultHolder<Integer>(); 55 setAfterGivenTime(holder, SET_VALUE, TIMEOUT_IN_MILLISECONDS + MARGIN_IN_MILLISECONDS); 56 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); 61 final AsyncResultHolder<Integer> holder = new AsyncResultHolder<Integer>(); 62 holder.set(SET_VALUE); 63 final int resultValue = holder [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ThumbnailLoadTask.java | 52 ThumbnailLoadTask task, final AttachmentBitmapHolder holder, 54 final int width = holder.getThumbnailWidth(); 55 final int height = holder.getThumbnailHeight(); 58 holder.setThumbnailToDefault(); 69 && (holder.bitmapSetToDefault() || 77 holder, width, height); 82 holder.setThumbnailToDefault(); 86 public ThumbnailLoadTask(AttachmentBitmapHolder holder, int width, int height) { argument 87 mHolder = holder; 51 setupThumbnailPreview( ThumbnailLoadTask task, final AttachmentBitmapHolder holder, final Attachment attachment, final Attachment prevAttachment) argument
|
H A D | NestedFolderTeaserView.java | 230 final FolderHolder holder = new FolderHolder(itemView, sendersTextView, countTextView); 232 attachOnClickListener(itemView, holder); 234 return holder; 237 private void attachOnClickListener(final View view, final FolderHolder holder) { argument 241 mListener.onFolderSelected(holder.getFolder()); 335 final FolderHolder holder = mFolderHolders.valueAt(i); 337 if (holder.getItemView().getParent() == null) { 341 unreadCount += holder.getFolder().unreadCount; 471 final FolderHolder holder = mFolderHolders.get(folder.id); 473 if (holder ! [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
H A D | WalkAroundWallpaper.java | 137 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 138 super.onSurfaceChanged(holder, format, width, height); 140 if (holder.isCreating()) { 143 mCamera.setPreviewDisplay(holder); 156 public void onSurfaceCreated(SurfaceHolder holder) { argument 157 super.onSurfaceCreated(holder);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
H A D | RenderScriptWallpaper.java | 75 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 76 super.onSurfaceChanged(holder, format, width, height); 78 mRs.setSurface(holder, width, height); 96 public void onSurfaceCreated(SurfaceHolder holder) { argument 97 super.onSurfaceCreated(holder); 105 public void onSurfaceDestroyed(SurfaceHolder holder) { argument 106 super.onSurfaceDestroyed(holder);
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
H A D | RenderScriptWallpaper.java | 79 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 80 super.onSurfaceChanged(holder, format, width, height); 82 mRs.setSurface(holder, width, height); 100 public void onSurfaceCreated(SurfaceHolder holder) { argument 101 super.onSurfaceCreated(holder); 109 public void onSurfaceDestroyed(SurfaceHolder holder) { argument 110 super.onSurfaceDestroyed(holder);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
H A D | RenderScriptWallpaper.java | 78 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 79 super.onSurfaceChanged(holder, format, width, height); 81 mRs.setSurface(holder, width, height); 104 public void onSurfaceCreated(SurfaceHolder holder) { argument 105 super.onSurfaceCreated(holder); 113 public void onSurfaceDestroyed(SurfaceHolder holder) { argument 114 super.onSurfaceDestroyed(holder);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
H A D | Visualization1.java | 121 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 122 super.onSurfaceChanged(holder, format, width, height); 130 public void onSurfaceCreated(SurfaceHolder holder) { argument 131 super.onSurfaceCreated(holder); 135 public void onSurfaceDestroyed(SurfaceHolder holder) { argument 136 super.onSurfaceDestroyed(holder); 163 final SurfaceHolder holder = getSurfaceHolder(); 164 final Rect frame = holder.getSurfaceFrame(); 170 c = holder.lockCanvas(); 177 if (c != null) holder [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMathUtils.java | 217 private static void concatMirrorMatrix(Matrix m, GeometryHolder holder) { argument 218 Mirror type = holder.mirror; 220 if (holder.rotation.value() == 90 221 || holder.rotation.value() == 270) { 225 if (holder.rotation.value() == 90 226 || holder.rotation.value() == 270) { 254 GeometryHolder holder = new GeometryHolder(); 255 unpackGeometry(holder, geometry); 256 return holder; 304 GeometryHolder holder 311 applyFullGeometryMatrix(Bitmap image, GeometryHolder holder) argument 372 getOriginalToScreen(GeometryHolder holder, boolean rotate, float originalWidth, float originalHeight, float viewWidth, float viewHeight) argument 401 drawTransformedCropped(GeometryHolder holder, Canvas canvas, Bitmap photo, int viewWidth, int viewHeight) argument 429 getFullGeometryMatrix(GeometryHolder holder, int bitmapWidth, int bitmapHeight) argument 440 getFullGeometryToScreenMatrix(GeometryHolder holder, int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) argument 457 getTrueCropRect(GeometryHolder holder, int bitmapWidth, int bitmapHeight) argument 468 getCropSelectionToScreenMatrix(RectF outCrop, GeometryHolder holder, int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLRootView.java | 599 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 601 super.surfaceChanged(holder, format, w, h); 605 public void surfaceCreated(SurfaceHolder holder) { argument 607 super.surfaceCreated(holder); 611 public void surfaceDestroyed(SurfaceHolder holder) { argument 613 super.surfaceDestroyed(holder);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
H A D | PolarClockWallpaper.java | 433 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 434 super.onSurfaceChanged(holder, format, width, height); 439 public void onSurfaceCreated(SurfaceHolder holder) { argument 440 super.onSurfaceCreated(holder); 444 public void onSurfaceDestroyed(SurfaceHolder holder) { argument 445 super.onSurfaceDestroyed(holder); 465 final SurfaceHolder holder = getSurfaceHolder(); 466 final Rect frame = holder.getSurfaceFrame(); 472 c = holder.lockCanvas(); 567 if (c != null) holder [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoUI.java | 736 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 741 public void surfaceCreated(SurfaceHolder holder) { argument 746 public void surfaceDestroyed(SurfaceHolder holder) { argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | ContactPhotoManager.java | 301 * as they come from the database. Each holder has a soft reference to the 523 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) { 524 holder.fresh = false; 534 BitmapHolder holder = mBitmapHolderCache.get(request.getKey()); 535 if (holder == null) { 541 if (holder.bytes == null) { 543 return holder.fresh; 546 Bitmap cachedBitmap = holder.bitmapRef == null ? null : holder.bitmapRef.get(); 548 if (holder 598 inflateBitmap(BitmapHolder holder, int requestedExtent) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
H A D | PhotoManager.java | 173 * as they come from the database. Each holder has a soft reference to the 398 final BitmapHolder holder = sBitmapHolderCache.get(request.getKey()); 400 if (holder != null && holder.bytes == null) { 401 onImageDrawn(request, holder.fresh); 403 return holder.fresh; 410 * Takes care of retrieving the Bitmap from both the decoded and holder caches. 515 private static void cacheBitmapHolder(final String cacheKey, final BitmapHolder holder) { argument 528 + (holder.bytes == null ? "<null>" : btk(holder [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmClockFragment.java | 818 ItemHolder holder = (ItemHolder) v.getTag(); 822 holder.footerFiller.setVisibility(position < getCount() - 1 ? View.GONE : View.VISIBLE); 976 // standard view holder optimization 977 final ItemHolder holder = new ItemHolder(); 978 holder.alarmItem = (LinearLayout) view.findViewById(R.id.alarm_item); 979 holder.clock = (TextTime) view.findViewById(R.id.digital_clock); 980 holder.onoff = (Switch) view.findViewById(R.id.onoff); 981 holder.onoff.setTypeface(mRobotoNormal); 982 holder.daysOfWeek = (TextView) view.findViewById(R.id.daysOfWeek); 983 holder 1293 setItemAlpha(ItemHolder holder, boolean enabled) argument 1302 updateDaysOfWeekButtons(ItemHolder holder, DaysOfWeek daysOfWeek) argument 1337 turnOffDayOfWeek(ItemHolder holder, int dayIndex) argument 1343 turnOnDayOfWeek(ItemHolder holder, int dayIndex) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | Settings.java | 853 HeaderViewHolder holder; 859 holder = new HeaderViewHolder(); 864 holder.title = (TextView) view; 870 holder.icon = (ImageView) view.findViewById(R.id.icon); 871 holder.title = (TextView) 873 holder.summary = (TextView) 875 holder.switch_ = (Switch) view.findViewById(R.id.switchWidget); 881 holder.icon = (ImageView) view.findViewById(R.id.icon); 882 holder.title = (TextView) 884 holder 960 updateCommonHeaderView(Header header, HeaderViewHolder holder) argument 980 setHeaderIcon(HeaderViewHolder holder, Drawable icon) argument [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | VideoEditorActivity.java | 219 // Prepare the surface holder 1188 public void surfaceCreated(SurfaceHolder holder) { argument 1197 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 1209 public void surfaceDestroyed(SurfaceHolder holder) { argument 1707 * @param surfaceHolder The surface holder
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | PhotoModule.java | 1217 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 1218 Log.v(TAG, "surfaceChanged:" + holder + " width=" + width + ". height=" 1223 public void surfaceCreated(SurfaceHolder holder) { argument 1224 Log.v(TAG, "surfaceCreated: " + holder); 1225 mCameraSurfaceHolder = holder; 1229 mCameraDevice.setPreviewDisplayAsync(holder); 1238 public void surfaceDestroyed(SurfaceHolder holder) { argument 1239 Log.v(TAG, "surfaceDestroyed: " + holder);
|