/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 86 Bitmap preview = decodePreview(path, previewSize); local 87 if (preview.getWidth() <= GL_SIZE_LIMIT && preview.getHeight() <= GL_SIZE_LIMIT) { 88 mPreview = new BitmapTexture(preview); 91 "Failed to create preview of apropriate size! " 94 preview.getWidth(), preview.getHeight()));
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 243 for (AttachmentPreview preview : previews) { 244 mAttachmentPreviews.put(preview.attachmentIdentifier, preview); 250 * Save the preview for an attachment 253 public void set(Attachment attachment, Bitmap preview) { 257 attachmentIdentifier, new AttachmentPreview(attachment, preview)); 262 * Returns a saved preview that was previously set 271 return attachmentPreview.preview;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetsContainerView.java | 200 // Get the widget preview as the drag representation 204 // If the ImageView doesn't have a drawable yet, the widget preview hasn't been loaded and 211 Bitmap preview; local 227 preview = getWidgetPreviewLoader().generateWidgetPreview(mLauncher, 240 scale = bounds.width() / (float) preview.getWidth(); 244 preview = Utilities.createIconBitmap(icon, mLauncher); 246 scale = ((float) mLauncher.getDeviceProfile().iconSizePx) / preview.getWidth(); 252 new PendingItemPreviewProvider(v, createItemInfo, preview)); 255 mDragController.startDrag(image, preview, this, createItemInfo,
|
/external/dng_sdk/source/ |
dng_validate.cpp | 293 // Build the preview list. 304 // Skip preview if writing a compresssed main image to save space 315 : "Build preview time"); 317 // Render a preview sized image. 336 // Don't write the preview if it is same size as thumbnail. 351 AutoPtr<dng_preview> preview (useCompressedPreview ? 355 // Setup up preview info. 357 preview->fInfo.fApplicationName .Set ("dng_validate"); 358 preview->fInfo.fApplicationVersion.Set (kDNGValidateVersion); 360 preview->fInfo.fSettingsName.Set ("Default") [all...] |
dng_host.h | 69 // If we need the image data, can it be read at preview quality? 79 // What is the preferred size for a preview image? This can 85 // What is the maximum size for a preview image? Zero if there 192 /// Setter for flag determining whether image should be preview quality, 194 /// \param preview If true, rendered images are for preview. 196 void SetForPreview (bool preview) 198 fForPreview = preview; 201 /// Getter for flag determining whether image should be preview quality. 202 /// Preview quality images may be rendered more quickly. Current DNG SD [all...] |
/packages/apps/WallpaperPicker/src/com/android/photos/ |
BitmapRegionTileSource.java | 314 Bitmap preview = source.getPreviewBitmap(); local 315 if (preview != null && 316 preview.getWidth() <= GL_SIZE_LIMIT && preview.getHeight() <= GL_SIZE_LIMIT) { 317 mPreview = new BitmapTexture(preview); 320 "Failed to create preview of apropriate size! " 323 preview == null ? -1 : preview.getWidth(), 324 preview == null ? -1 : preview.getHeight())) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
DragPreviewProvider.java | 35 * A utility class to generate preview bitmap for dragging. 45 // The padding added to the drag view during the preview generation. 161 public float getScaleAndPosition(Bitmap preview, int[] outPos) { 164 outPos[0] = Math.round(outPos[0] - (preview.getWidth() - scale * mView.getWidth()) / 2); 165 outPos[1] = Math.round(outPos[1] - (1 - scale) * preview.getHeight() / 2 - previewPadding / 2);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
LiveWallpaperInfo.java | 45 Intent preview = new Intent(WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER); local 46 preview.putExtra(WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT, 48 a.startActivityForResultSafely(preview,
|
/external/v8/test/mjsunit/es6/ |
mirror-iterators.js | 14 var preview = mirror.preview(opt_limit); 15 assertArrayEquals(expected, preview); 17 // Check that iterator has not changed after taking preview.
|
/external/piex/src/ |
piex_types.h | 54 // 'preview_length' which are used to obtain the JPEG compressed preview image. 80 // Optional data to find the preview and thumbnail image to handle them 84 Image preview; member in struct:piex::PreviewImageData
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SingleFrameTextureViewTestActivity.java | 52 TextView preview = new TextView(this); local 53 preview.setText("This is a preview"); 54 preview.setBackgroundColor(Color.WHITE); 55 mPreview = preview;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
PresetPreference.java | 53 final SubtitleView previewText = (SubtitleView) view.findViewById(R.id.preview);
|
/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));
|
/development/testrunner/ |
runtest.py | 114 parser.add_option("-n", "--skip_execute", dest="preview", default=False, 116 help="Do not execute, just preview commands") 287 if not self._options.preview: 320 if not self._options.preview: 401 if not self._options.preview: 478 if not self._options.preview: 485 if self._options.preview: 496 elif not self._options.preview: 507 if not self._options.preview: 510 self._adb.RuntimeReset(preview_only=self._options.preview) [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
RemotePrintDocument.java | 198 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { 214 if (!mUpdateSpec.hasSameConstraints(attributes, preview)) { 228 mDocumentInfo, oldAttributes, attributes, preview, mCommandResultCallback); 260 mUpdateSpec.update(attributes, preview, pages); 492 boolean preview; field in class:RemotePrintDocument.UpdateSpec 495 public void update(PrintAttributes attributes, boolean preview, 498 this.preview = preview; 504 preview = false; 508 public boolean hasSameConstraints(PrintAttributes attributes, boolean preview) { [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
VideoCallFragment.java | 57 * Surface ID for the preview surface. 86 * The {@link FrameLayout} containing the preview surface. 601 * Adjusts the location of the video preview view by the specified offset. 603 * @param shiftUp {@code true} if the preview should shift up, {@code false} if it should shift 645 * @return {@code True} if the preview video surface has been created. 664 * {@link android.view.Surface} on which a preview of the outgoing video for a video call is 673 * Changes the dimensions of the preview surface. Called when the dimensions change due to a 683 TextureView preview = sPreviewSurface.getTextureView(); local 685 if (preview == null ) { 690 ViewGroup.LayoutParams params = preview.getLayoutParams() 728 TextureView preview = sPreviewSurface.getTextureView(); local [all...] |
/development/ndk/platforms/android-3/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|
/development/testrunner/test_defs/ |
host_test.py | 81 preview: if true, do not execute, display commands only 107 if not options.preview:
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportPreviewActivity.java | 29 mText = (TextView) findViewById(R.id.preview);
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
mt9t013.h | 104 int preview; member in struct:mt9t013_init
|