/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaAdapter.java | 109 ViewHolder holder = null; in bindView() local 115 holder = (ViewHolder) view.getTag(); in bindView() 118 if (holder == null) { in bindView() 119 holder = new ViewHolder(); in bindView() 120 view.setTag(holder); in bindView() 121 holder.title = (TextView) view.findViewById(R.id.title); in bindView() 122 holder.when = (TextView) view.findViewById(R.id.when); in bindView() 123 holder.where = (TextView) view.findViewById(R.id.where); in bindView() 124 holder.textContainer = (LinearLayout) in bindView() 126 holder.selectedMarker = view.findViewById(R.id.selected_marker); in bindView() [all …]
|
D | AgendaByDayAdapter.java | 174 ViewHolder holder = null; in getView() local 182 holder = (ViewHolder) tag; in getView() 183 holder.julianDay = row.mDay; in getView() 187 if (holder == null) { in getView() 190 holder = new ViewHolder(); in getView() 192 holder.dayView = (TextView) agendaDayView.findViewById(R.id.day); in getView() 193 holder.dateView = (TextView) agendaDayView.findViewById(R.id.date); in getView() 194 holder.julianDay = row.mDay; in getView() 195 holder.grayed = false; in getView() 196 agendaDayView.setTag(holder); in getView() [all …]
|
D | AgendaListView.java | 145 AgendaByDayAdapter.ViewHolder holder = (AgendaByDayAdapter.ViewHolder) o; in updatePastEvents() local 146 if (holder.julianDay <= todayJulianDay && !holder.grayed) { in updatePastEvents() 153 AgendaAdapter.ViewHolder holder = (AgendaAdapter.ViewHolder) o; in updatePastEvents() local 154 if (!holder.grayed && ((!holder.allDay && holder.startTimeMilli <= now) || in updatePastEvents() 155 (holder.allDay && holder.julianDay <= todayJulianDay))) { in updatePastEvents()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppViewHolder.java | 29 AppViewHolder holder = new AppViewHolder(); in createOrRecycle() local 30 holder.rootView = convertView; in createOrRecycle() 31 holder.appName = (TextView) convertView.findViewById(R.id.app_name); in createOrRecycle() 32 holder.appIcon = (ImageView) convertView.findViewById(R.id.app_icon); in createOrRecycle() 33 holder.appSize = (TextView) convertView.findViewById(R.id.app_size); in createOrRecycle() 34 holder.disabled = (TextView) convertView.findViewById(R.id.app_disabled); in createOrRecycle() 35 holder.checkBox = (CheckBox) convertView.findViewById(R.id.app_on_sdcard); in createOrRecycle() 36 convertView.setTag(holder); in createOrRecycle() 37 return holder; in createOrRecycle()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 527 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) { in refreshCache() 528 holder.fresh = false; in refreshCache() 538 BitmapHolder holder = mBitmapHolderCache.get(request.getKey()); in loadCachedPhoto() local 539 if (holder == null) { in loadCachedPhoto() 545 if (holder.bytes == null) { in loadCachedPhoto() 547 return holder.fresh; in loadCachedPhoto() 550 Bitmap cachedBitmap = holder.bitmapRef == null ? null : holder.bitmapRef.get(); in loadCachedPhoto() 552 if (holder.bytes.length < 8 * 1024) { in loadCachedPhoto() 554 inflateBitmap(holder, request.getRequestedExtent()); in loadCachedPhoto() 555 cachedBitmap = holder.bitmap; in loadCachedPhoto() [all …]
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
D | Visualization1.java | 121 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() argument 122 super.onSurfaceChanged(holder, format, width, height); in onSurfaceChanged() 130 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() argument 131 super.onSurfaceCreated(holder); in onSurfaceCreated() 135 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed() argument 136 super.onSurfaceDestroyed(holder); in onSurfaceDestroyed() 163 final SurfaceHolder holder = getSurfaceHolder(); in drawFrame() local 164 final Rect frame = holder.getSurfaceFrame(); in drawFrame() 170 c = holder.lockCanvas(); in drawFrame() 177 if (c != null) holder.unlockCanvasAndPost(c); in drawFrame()
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
D | RenderScriptWallpaper.java | 78 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() argument 79 super.onSurfaceChanged(holder, format, width, height); in onSurfaceChanged() 81 mRs.setSurface(holder, width, height); in onSurfaceChanged() 104 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() argument 105 super.onSurfaceCreated(holder); in onSurfaceCreated() 113 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed() argument 114 super.onSurfaceDestroyed(holder); in onSurfaceDestroyed()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
D | RenderScriptWallpaper.java | 75 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() argument 76 super.onSurfaceChanged(holder, format, width, height); in onSurfaceChanged() 78 mRs.setSurface(holder, width, height); in onSurfaceChanged() 96 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() argument 97 super.onSurfaceCreated(holder); in onSurfaceCreated() 105 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed() argument 106 super.onSurfaceDestroyed(holder); in onSurfaceDestroyed()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppPicker.java | 118 AppViewHolder holder = AppViewHolder.createOrRecycle(mInflater, convertView); in getView() local 119 convertView = holder.rootView; in getView() 121 holder.appName.setText(info.label); in getView() 123 holder.appIcon.setImageDrawable(info.info.loadIcon(getPackageManager())); in getView() 124 holder.appSize.setText(info.info.packageName); in getView() 126 holder.appIcon.setImageDrawable(null); in getView() 127 holder.appSize.setText(""); in getView() 129 holder.disabled.setVisibility(View.GONE); in getView() 130 holder.checkBox.setVisibility(View.GONE); in getView()
|
D | UsageStats.java | 161 AppViewHolder holder; in getView() local 171 holder = new AppViewHolder(); in getView() 172 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name); in getView() 173 holder.launchCount = (TextView) convertView.findViewById(R.id.launch_count); in getView() 174 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time); in getView() 175 convertView.setTag(holder); in getView() 179 holder = (AppViewHolder) convertView.getTag(); in getView() 186 holder.pkgName.setText(label); in getView() 187 holder.launchCount.setText(String.valueOf(pkgStats.launchCount)); in getView() 188 holder.usageTime.setText(String.valueOf(pkgStats.usageTime)+" ms"); in getView()
|
D | Settings.java | 605 HeaderViewHolder holder; in getView() local 611 holder = new HeaderViewHolder(); in getView() 616 holder.title = (TextView) view; in getView() 622 holder.icon = (ImageView) view.findViewById(R.id.icon); in getView() 623 holder.title = (TextView) in getView() 625 holder.summary = (TextView) in getView() 627 holder.switch_ = (Switch) view.findViewById(R.id.switchWidget); in getView() 634 holder.icon = (ImageView) view.findViewById(R.id.icon); in getView() 635 holder.title = (TextView) in getView() 637 holder.summary = (TextView) in getView() [all …]
|
D | TrustedCredentialsSettings.java | 190 ViewHolder holder; in getView() local 194 holder = new ViewHolder(); in getView() 195 holder.mSubjectPrimaryView = (TextView) in getView() 197 holder.mSubjectSecondaryView = (TextView) in getView() 199 holder.mCheckBox = (CheckBox) view.findViewById(R.id.trusted_credential_status); in getView() 200 view.setTag(holder); in getView() 202 holder = (ViewHolder) view.getTag(); in getView() 205 holder.mSubjectPrimaryView.setText(certHolder.mSubjectPrimary); in getView() 206 holder.mSubjectSecondaryView.setText(certHolder.mSubjectSecondary); in getView() 208 holder.mCheckBox.setChecked(!certHolder.mDeleted); in getView() [all …]
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | RenderScriptWallpaper.java | 79 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() argument 80 super.onSurfaceChanged(holder, format, width, height); in onSurfaceChanged() 82 mRs.setSurface(holder, width, height); in onSurfaceChanged() 100 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() argument 101 super.onSurfaceCreated(holder); in onSurfaceCreated() 109 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed() argument 110 super.onSurfaceDestroyed(holder); in onSurfaceDestroyed()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperListAdapter.java | 99 ViewHolder holder; in getView() local 103 holder = new ViewHolder(); in getView() 104 holder.title = (TextView) convertView.findViewById(R.id.title); in getView() 105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail); in getView() 106 convertView.setTag(holder); in getView() 108 holder = (ViewHolder) convertView.getTag(); in getView() 112 if (holder.thumbnail != null) { in getView() 113 holder.thumbnail.setImageDrawable(wallpaperInfo.thumbnail); in getView() 116 if (holder.title != null && wallpaperInfo.info != null) { in getView() 117 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager)); in getView() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance(); in onReceive() local 41 if (holder.tryOpen(cameraId) == null) return; in onReceive() 44 holder.keep(); in onReceive() 45 holder.release(); in onReceive()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance(); in onReceive() local 41 if (holder.tryOpen(cameraId) == null) return; in onReceive() 44 holder.keep(); in onReceive() 45 holder.release(); in onReceive()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
D | WalkAroundWallpaper.java | 137 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() argument 138 super.onSurfaceChanged(holder, format, width, height); in onSurfaceChanged() 140 if (holder.isCreating()) { in onSurfaceChanged() 143 mCamera.setPreviewDisplay(holder); in onSurfaceChanged() 156 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() argument 157 super.onSurfaceCreated(holder); in onSurfaceCreated()
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
D | CameraPreviewView.java | 38 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument 47 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument 56 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
D | NoiseFieldView.java | 19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 20 super.surfaceChanged(holder, format, w, h); in surfaceChanged() 25 mRS.setSurface(holder, w, h); in surfaceChanged()
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
D | PhaseBeamView.java | 19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 20 super.surfaceChanged(holder, format, w, h); in surfaceChanged() 25 mRS.setSurface(holder, w, h); in surfaceChanged()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 291 ViewHolder holder; in getView() local 295 holder = new ViewHolder(); in getView() 296 holder.mAliasTextView = (TextView) view.findViewById(R.id.cert_item_alias); in getView() 297 holder.mSubjectTextView = (TextView) view.findViewById(R.id.cert_item_subject); in getView() 298 holder.mRadioButton = (RadioButton) view.findViewById(R.id.cert_item_selected); in getView() 299 view.setTag(holder); in getView() 301 holder = (ViewHolder) view.getTag(); in getView() 306 holder.mAliasTextView.setText(alias); in getView() 310 new CertLoader(adapterPosition, holder.mSubjectTextView).execute(); in getView() 312 holder.mSubjectTextView.setText(subject); in getView() [all …]
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
D | GalaxyView.java | 25 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 26 super.surfaceChanged(holder, format, w, h); in surfaceChanged() 30 mRS.setSurface(holder, w, h); in surfaceChanged()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
D | PolarClockWallpaper.java | 433 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() argument 434 super.onSurfaceChanged(holder, format, width, height); in onSurfaceChanged() 439 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() argument 440 super.onSurfaceCreated(holder); in onSurfaceCreated() 444 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed() argument 445 super.onSurfaceDestroyed(holder); in onSurfaceDestroyed() 465 final SurfaceHolder holder = getSurfaceHolder(); in drawFrame() local 466 final Rect frame = holder.getSurfaceFrame(); in drawFrame() 472 c = holder.lockCanvas(); in drawFrame() 567 if (c != null) holder.unlockCanvasAndPost(c); in drawFrame()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
D | GalaxyView.java | 33 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 34 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | GrassView.java | 33 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument 34 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
|