HomeSort by relevance Sort by last modified time
    Searched refs:thumbnail (Results 1 - 25 of 197) sorted by null

1 2 3 4 5 6 7 8

  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
PictureData.java 24 Bitmap thumbnail; field in class:PictureData
26 public PictureData(int resourceId, String description, Bitmap thumbnail) {
29 this.thumbnail = thumbnail;
BitmapUtils.java 64 Bitmap thumbnail = getThumbnail(bitmap, 200); local
66 pictures.add(new PictureData(resourceId, description, thumbnail));
85 * Create and return a thumbnail image given the original source bitmap and a max
101 Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth, scaledHeight, true); local
103 return thumbnail;
  /cts/tests/tests/app/src/android/app/cts/
ActivityManagerRunningTaskInfoTest.java 34 mRunningTaskInfo.thumbnail = null;
58 assertNull(values.thumbnail);
61 // test thumbnail is not null
62 mRunningTaskInfo.thumbnail = Bitmap.createBitmap(480, 320,
69 assertNotNull(values.thumbnail);
70 assertEquals(320, values.thumbnail.getHeight());
71 assertEquals(480, values.thumbnail.getWidth());
72 assertEquals(Bitmap.Config.RGB_565, values.thumbnail.getConfig());
86 assertNull(values.thumbnail);
89 // test thumbnail is not nul
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksAdapterItem.java 23 public BitmapDrawable thumbnail; field in class:BrowserBookmarksAdapterItem
BrowserBookmarksAdapter.java 96 if (item.thumbnail == null || !item.has_thumbnail) {
99 thumb.setImageDrawable(item.thumbnail);
111 Bitmap thumbnail = item.thumbnail != null ? item.thumbnail.getBitmap() : null; local
112 thumbnail = BrowserBookmarksPage.getBitmap(c,
113 BookmarksLoader.COLUMN_INDEX_THUMBNAIL, thumbnail);
114 item.has_thumbnail = thumbnail != null;
115 if (thumbnail != null
116 && (item.thumbnail == null || item.thumbnail.getBitmap() != thumbnail))
    [all...]
  /external/chromium_org/chrome/browser/resources/ntp4/
most_visited_page.css 30 /* filler mode: hide everything except the thumbnail --- leave a grey rectangle
102 .thumbnail {
111 * to scale a thumbnail larger than this size. */
116 .filler .thumbnail {
123 .thumbnail-shield {
132 .thumbnail-shield {
137 .most-visited:focus .thumbnail,
138 .most-visited:hover .thumbnail {
142 .most-visited:focus .thumbnail-shield,
143 .most-visited:hover .thumbnail-shield
    [all...]
suggestions_page.css 86 .suggestions:focus .thumbnail,
87 .suggestions:hover .thumbnail {
91 .suggestions:focus .thumbnail-shield,
92 .suggestions:hover .thumbnail-shield,
93 .suggestions:active .thumbnail-shield {
99 /* The thumbnail gets lighter when clicked, but not when the click is on the
101 .suggestions:active .close-button:not(:active) + .thumbnail {
105 /* The thumbnail gets a shadow when clicked, but not when the click is on the
107 .suggestions:active .close-button:not(:active) + .thumbnail .thumbnail-shield
    [all...]
new_tab_theme.css 101 .most-visited:focus:not(.filler) .thumbnail-wrapper,
102 .most-visited:hover:not(.filler) .thumbnail-wrapper {
106 .thumbnail-wrapper {
107 /* This shows through at the (rounded) thumbnail's corners. */
111 .filler .thumbnail {
  /packages/apps/Gallery2/src/com/android/photos/drawables/
DataUriThumbnailDrawable.java 31 byte[] thumbnail = null;
35 thumbnail = exif.getThumbnail();
38 return thumbnail;
  /external/chromium_org/chrome/browser/history/
top_sites_database.h 42 // Set a thumbnail for a URL. |url_rank| is the position of the URL
45 // thumbnail and rank. Shift the ranks of other URLs if necessary.
48 const Images& thumbnail);
54 // Get a thumbnail for a given page. Returns true iff we have the thumbnail.
55 bool GetPageThumbnail(const GURL& url, Images* thumbnail);
76 // Upgrades the thumbnail table to version 3, returning true if the
83 const Images& thumbnail);
88 // Updates thumbnail of a URL that's already in the database.
91 const Images& thumbnail);
    [all...]
top_sites_database.cc 24 // url URL of the sites for which we have a thumbnail.
25 // url_rank Index of the URL in that thumbnail, 0-based. The thumbnail
28 // title The title to display under that thumbnail.
31 // boring_score How "boring" that thumbnail is. See ThumbnailScore.
32 // good_clipping True if the thumbnail was clipped from the bottom, keeping
34 // at_top True if the thumbnail was captured at the top of the
36 // last_updated The time at which this thumbnail was last updated.
37 // load_completed True if the thumbnail was captured after the page load was
39 // last_forced If this is a forced thumbnail, records the last time i
469 Images thumbnail; local
    [all...]
top_sites_backend.h 48 // Sets the thumbnail.
51 const Images& thumbnail);
80 // Sets the thumbnail.
83 const Images& thumbnail);
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperListAdapter.java 105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail);
112 if (holder.thumbnail != null) {
113 holder.thumbnail.setImageDrawable(wallpaperInfo.thumbnail);
118 if (holder.thumbnail == null) {
119 holder.title.setCompoundDrawablesWithIntrinsicBounds(null, wallpaperInfo.thumbnail,
128 public Drawable thumbnail; field in class:LiveWallpaperListAdapter.LiveWallpaperInfo
135 ImageView thumbnail; field in class:LiveWallpaperListAdapter.ViewHolder
199 Bitmap thumbnail = Bitmap.createBitmap(thumbWidth, thumbHeight local
    [all...]
  /frameworks/support/v4/jellybean/android/support/v4/app/
ActivityOptionsCompatJB.java 40 Bitmap thumbnail, int startX, int startY) {
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY));
  /external/chromium_org/chrome/browser/media/
desktop_media_list.h 29 // The thumbnail for the source.
30 gfx::ImageSkia thumbnail; member in struct:DesktopMediaList::Source
36 // thumbnail are updated once per second. If called after StartUpdating() then
  /external/chromium_org/chrome/browser/thumbnails/
thumbnail_service.h 24 // bridge facilitating switch from TopSites as the thumbnail source to a more
28 // Sets the given thumbnail for the given URL. Returns true if the thumbnail
30 // that our current thumbnail was superior to the given one.
32 const gfx::Image& thumbnail) = 0;
36 // process of creating a thumbnail from tab contents. The lifetime of these
41 // Gets a thumbnail for a given page. Returns true iff we have the thumbnail.
43 // If an exact thumbnail URL match fails, |prefix_match| specifies whether or
44 // not to try harder by matching the query thumbnail URL as URL prefix (a
    [all...]
thumbnail_service_impl.h 27 const gfx::Image& thumbnail) OVERRIDE;
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/
MostVisitedSites.java 34 * Interface for receiving a thumbnail for a most visited site.
38 * Callback method for fetching thumbnail of a most visited URL.
41 * @param thumbnail The bitmap thumbnail for the requested URL.
44 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail);
93 * Fetches thumbnail bitmap for a url returned by getMostVisitedURLs.
101 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail) {
104 callback.onMostVisitedURLsThumbnailAvailable(thumbnail);
  /development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/
WindowAnimations.java 46 final ImageView thumbnail = (ImageView) findViewById(R.id.thumbnail); local
90 // representations. Here, we scale up from a thumbnail image of the final sub-activity
91 thumbnail.setOnClickListener(new View.OnClickListener() {
94 BitmapDrawable drawable = (BitmapDrawable) thumbnail.getDrawable();
98 thumbnail, bm, 0, 0).toBundle();
  /frameworks/base/services/core/java/com/android/server/wm/
AppWindowAnimator.java 61 // Special surface for thumbnail animation.
62 SurfaceControl thumbnail; field in class:AppWindowAnimator
70 // This flag indicates that the destruction of the thumbnail surface is synchronized with
71 // another animation, so do not pre-emptively destroy the thumbnail surface when the animation
74 // This is the thumbnail surface that has been bestowed upon this animator, and when the
75 // surface for this animator's animation is complete, we will destroy the thumbnail surface
147 if (thumbnail != null) {
148 thumbnail.destroy();
149 thumbnail = null;
197 if (WindowManagerService.SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail,
    [all...]
  /external/chromium_org/chrome/browser/search/suggestions/
suggestions_store_unittest.cc 34 EXPECT_EQ(expected.suggestions(i).thumbnail(),
35 actual.suggestions(i).thumbnail());
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
TaskDescription.java 91 public void setThumbnail(Drawable thumbnail) {
92 mThumbnail = thumbnail;
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectBrowser.java 94 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle());
95 if (thumbnail != null) {
96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length);
98 ImageView thumbView = (ImageView)view.findViewById(R.id.thumbnail);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
Task.java 123 public Bitmap thumbnail; field in class:Task
184 public void notifyTaskDataLoaded(Bitmap thumbnail, Drawable applicationIcon) {
186 this.thumbnail = thumbnail;
195 thumbnail = defaultThumbnail;
  /external/chromium_org/pdf/
thumbnail_control.cc 186 pp::ImageData* thumbnail = NULL; local
191 thumbnail = image_cache_[visible_pages_[i].index];
197 if (thumbnail == NULL) {
198 thumbnail = new pp::ImageData(owner()->GetInstance(),
202 engine_->PaintThumbnail(thumbnail, visible_pages_[i].index);
208 (thumbnail->size().width() - page_number.size().width()) / 2,
209 (thumbnail->size().height() - page_number.size().height()) / 2);
213 thumbnail, origin, kOpaqueAlpha);
216 image_cache_[visible_pages_[i].index] = thumbnail;
224 AlphaBlend(*thumbnail, draw_page_rc, image_data
    [all...]

Completed in 386 milliseconds

1 2 3 4 5 6 7 8