/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewManager.java | 131 * preview managers to refresh themselves to the latest revision when they 188 for (RenderPreview preview : mPreviews) { 189 preview.disposeThumbnail(); 191 RenderPreview preview = mCanvas.getPreview(); local 192 if (preview != null) { 193 preview.disposeThumbnail(); 214 * Returns whether there are any manual preview items (provided the current 217 * @return true if there are items in the manual preview list 240 for (RenderPreview preview : old) { 241 preview.dispose() 466 RenderPreview preview = iterator.next(); local 587 RenderPreview preview = mCanvas.getPreview(); local 698 RenderPreview preview = RenderPreview.create(this, configuration); local 771 RenderPreview preview = RenderPreview.create(this, parent); local 956 RenderPreview preview = RenderPreview.create(this, parent); local 1059 RenderPreview preview = RenderPreview.create(this, config); local 1093 RenderPreview preview = RenderPreview.create(this, config); local 1177 RenderPreview preview = mCanvas.getPreview(); local 1492 RenderPreview preview = getPreview(mousePos); local 1612 private RenderPreview preview; field in class:RenderPreviewManager.SwapAnimation [all...] |
RenderPreviewList.java | 135 * configuration preview list 180 RenderPreview preview = RenderPreview.create(manager, configuration); local 182 preview.setDescription(description); 183 previews.add(preview); 189 void remove(@NonNull RenderPreview preview) { 190 ConfigurationDescription description = preview.getDescription(); 200 void add(@NonNull RenderPreview preview) { 201 Configuration configuration = preview.getConfiguration(); 205 description.displayName = preview.getDisplayName(); 207 preview.setDescription(description) [all...] |
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
previewable_contents_controller.h | 15 // the notion of an "active" view vs. a "preview" tab contents view. 21 // The "preview" can be set using |-showPreview:| and |-hidePreview|. When a 22 // preview is set, the active view is hidden (but stays in the view hierarchy). 23 // When the preview is removed, the active view is reshown. 29 // The preview TabContents. Will be NULL if no preview is currently showing. 35 // Sets the current preview and installs its TabContentsView into the view 36 // hierarchy. Hides the active view. |preview| must not be NULL. 37 - (void)showPreview:(TabContents*)preview; 39 // Closes the current preview and shows the active view [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
WidgetPreviewLoader.java | 202 Bitmap preview = null; local 205 preview = readFromDb(name, unusedBitmap); 208 if (preview != null) { 210 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview)); 212 return preview; 216 preview = generatedPreview; 217 if (preview != unusedBitmap) { 222 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview)); 234 return preview; 324 private void writeToDb(Object o, Bitmap preview) { [all...] |
PagedViewWidget.java | 97 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable(); local 99 mInfo != null && preview != null && preview.getBitmap() != null) { 100 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap()); 149 void applyPreview(FastBitmapDrawable preview, int index) { 152 if (preview != null) { 154 image.setImageDrawable(preview); 158 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2;
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Preview.cpp | 32 /* following code implement the preview mode's image capture & display logic of this class*/ 37 // Preview Callback 61 LOGW(" Setting NULL preview window "); 62 /* TODO: Current preview window will be invalidated. 293 if (mDisplayBuf.preview.buf.mp != NULL) { 294 delete[] mDisplayBuf.preview.buf.mp; 295 mDisplayBuf.preview.buf.mp = NULL; 378 if (mDisplayBuf.preview.buf.mp != NULL) { 379 delete[] mDisplayBuf.preview.buf.mp; 380 mDisplayBuf.preview.buf.mp = NULL [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Preview.cpp | 32 /* following code implement the preview mode's image capture & display logic of this class*/ 37 // Preview Callback 61 ALOGW(" Setting NULL preview window "); 62 /* TODO: Current preview window will be invalidated. 265 ALOGE("%s: unmapping Preview Buffer", __func__); 307 if (mDisplayBuf.preview.buf.mp != NULL) { 308 delete[] mDisplayBuf.preview.buf.mp; 309 mDisplayBuf.preview.buf.mp = NULL; 398 if (mDisplayBuf.preview.buf.mp != NULL) { 399 delete[] mDisplayBuf.preview.buf.mp [all...] |
QCameraHWI_Preview_7x27A.cpp | 35 /* following code implement the preview mode's image capture & display logic of this class*/ 40 // Preview Callback 64 ALOGW(" Setting NULL preview window "); 65 /* TODO: Current preview window will be invalidated. 367 /* get preview size, by qury mm_camera*/ 398 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; 399 if (!mDisplayBuf.preview.buf.mp) { 402 memset(mDisplayBuf.preview.buf.mp, 0, 429 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; 430 mDisplayBuf.preview.buf.mp[i].frame_offset = mHalCamCtrl->mPreviewMemory.addr_offset[i] [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
FileRetriever.java | 65 File preview = MediaCache.getInstance().getCachedFile(contentUri, MediaSize.Preview); local 66 if (preview != null) { 67 // Just downsample the preview, it is faster. 68 return MediaCacheUtils.downsample(preview, imageSize, tempFile); 81 && !MediaCacheUtils.needsDownsample(bitmap, MediaSize.Preview) 83 // Opportunistically save preview 85 mediaCache.insertIntoCache(contentUri, MediaSize.Preview, tempFile);
|
/external/chromium/chrome/browser/ui/views/frame/ |
contents_container.h | 31 // Makes the preview view the active view and nulls out the old active view. 36 // Sets the preview view. This does not delete the old. 37 void SetPreview(views::View* preview, TabContents* preview_tab_contents); 44 // Returns the bounds of the preview. If the preview isn't active this 45 // retuns the bounds the preview would be shown at. 54 // Removes the fade. This is done implicitly when the preview is made active. 89 // preview overlap the bookmark bar on the new tab page.
|
contents_container.cc | 67 void ContentsContainer::SetPreview(views::View* preview, 69 if (preview == preview_) 74 preview_ = preview;
|
/external/chromium/chrome/browser/ |
aeropeek_manager.h | 37 // This bitmap is used for creating thumbnail and preview images. 49 virtual bool GetTabPreview(int tab_id, SkBitmap* preview) = 0; 58 // a user can preview the contents of a tab (AeroPeek), choose a tab, close 135 virtual bool GetTabPreview(int tab_id, SkBitmap* preview); 183 // When we create a preview bitmap, we use these values for preventing from 190 // preview image can use transparent colors only in the frame area. 195 // content area" when creating a preview image.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
PreviewPlacerView.java | 46 public void addPreview(final AbstractDrawingPreview preview) { 47 mPreviews.add(preview);
|
GestureTrailsPreview.java | 37 * Draw gesture trail preview graphics during gesture. 68 final GestureTrailsPreview preview = getOuterInstance(); local 69 if (preview == null) return; 72 preview.getDrawingView().invalidate(); 152 * Draws the preview 153 * @param canvas The canvas where the preview is drawn. 178 * Set the position of the preview. 179 * @param tracker The new location of the preview is based on the points in PointerTracker.
|
/packages/apps/Camera/src/com/android/camera/ |
CaptureAnimManager.java | 45 private float mX; // The center of the whole view including preview and review. 52 /* preview: camera preview view. 87 case 0: // Preview is on the left. 90 case 90: // Preview is below. 93 case 180: // Preview on the right. 96 case 270: // Preview is above. 103 public boolean drawAnimation(GLCanvas canvas, CameraScreenNail preview, 136 preview.directDraw(canvas, (int) mX, (int) mY,
|
SwitchAnimManager.java | 27 * An image of the previous camera zooms in and fades out. The preview of the 45 // know how much the preview is scaled and scale the review the same amount. 46 // For example, the preview is not full screen in film strip mode. 70 // preview: camera preview view. 71 // review: snapshot of the preview before switching the camera. 73 int height, CameraScreenNail preview, RawTexture review) { 78 // Calculate the position and the size of the preview. 90 // Calculate how much preview is scaled. 107 // Draw the preview [all...] |
/packages/apps/Gallery2/src/com/android/camera/ |
SwitchAnimManager.java | 27 * An image of the previous camera zooms in and fades out. The preview of the 45 // know how much the preview is scaled and scale the review the same amount. 46 // For example, the preview is not full screen in film strip mode. 70 // preview: camera preview view. 71 // review: snapshot of the preview before switching the camera. 73 int height, CameraScreenNail preview, RawTexture review) { 78 // Calculate the position and the size of the preview. 90 // Calculate how much preview is scaled. 107 // Draw the preview [all...] |
CaptureAnimManager.java | 54 private float mX; // The center of the whole view including preview and review. 78 /* preview: camera preview view. 124 case 0: // Preview is on the left. 128 case 90: // Preview is below. 132 case 180: // Preview on the right. 136 case 270: // Preview is above. 144 public boolean drawAnimation(GLCanvas canvas, CameraScreenNail preview, 190 preview.directDraw(canvas, (int) mX, (int) mY, mDrawWidth, mDrawHeight); 193 preview.directDraw(canvas, (int) mX, (int) mY, mDrawWidth, mDrawHeight) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.h | 41 void SetPreview(TabContentsWrapper* preview); 79 // traverse to the preview contents. 86 // unless there is a preview contents. 89 // The current preview contents (for instant). If non-NULL, it will be
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
HistoryAdapter.java | 195 ImageView preview = (ImageView) view.findViewById(R.id.preview); local 201 preview.setImageBitmap(bmp); 203 preview.setImageResource(android.R.color.transparent);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
MasterImage.java | 160 Bitmap preview = mLoader.getOriginalBitmapSmall(); local 161 if (preview != null) { 162 float s = Math.min(preview.getWidth(), preview.getHeight()); 164 int w = (int) (preview.getWidth() * f); 165 int h = (int) (preview.getHeight() * f); 166 Bitmap historyPreview = Bitmap.createScaledBitmap(preview, w, h, true); 417 // History preview images
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperPreview.java | 62 Log.w(LOG_TAG, "Failure showing preview", new Throwable()); 65 Intent preview = new Intent(activity, LiveWallpaperPreview.class); local 66 preview.putExtra(EXTRA_LIVE_WALLPAPER_INTENT, intent); 67 preview.putExtra(EXTRA_LIVE_WALLPAPER_SETTINGS, info.getSettingsActivity()); 68 preview.putExtra(EXTRA_LIVE_WALLPAPER_PACKAGE, info.getPackageName()); 69 activity.startActivityForResult(preview, code);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
NotificationStudioActivity.java | 85 MaxHeightScrollView preview = (MaxHeightScrollView) findViewById(R.id.preview_scroller); local 86 if (preview == null) 88 final int margin = ((ViewGroup.MarginLayoutParams) preview.getLayoutParams()).bottomMargin; 89 preview.addOnLayoutChangeListener(new OnLayoutChangeListener(){ 92 // animate preview height changes 109 // limit the max height for preview, leave room for editors + soft keyboard 116 preview.setMaxHeight((int)(dm.heightPixels * pct));
|
/external/chromium/chrome/browser/resources/file_manager/css/ |
file_manager.css | 177 /* The right-column 'Preview' column container. */ 178 .preview-container { 314 /* The filename text in the preview pane. */ 315 .preview-filename { 325 /* The preview image. */ 326 .preview-img { 332 .preview-img[src=''] { 337 .preview-img.multiple-selected { 342 .preview-img.transparent-background { 343 /* ../images/preview-background.png * [all...] |
/bionic/libc/kernel/common/linux/ |
mt9t013.h | 100 int preview; member in struct:mt9t013_init
|