/packages/apps/Settings/src/com/android/settings/accessibility/ |
EdgeTypePreference.java | 56 final SubtitleView preview = (SubtitleView) view.findViewById(R.id.preview); local 58 preview.setForegroundColor(DEFAULT_FOREGROUND_COLOR); 59 preview.setBackgroundColor(DEFAULT_BACKGROUND_COLOR); 62 preview.setTextSize(DEFAULT_FONT_SIZE * density); 65 preview.setEdgeType(value); 66 preview.setEdgeColor(DEFAULT_EDGE_COLOR);
|
/external/dng_sdk/source/ |
dng_preview.cpp | 54 const dng_preview &preview, 64 const dng_preview &preview, 70 preview.fInfo.fApplicationName, 74 preview.fInfo.fApplicationVersion, 78 preview.fInfo.fSettingsName, 81 , fSettingsDigest (preview.fInfo.fSettingsDigest) 88 preview.fInfo.fColorSpace) 91 preview.fInfo.fDateTime, 95 preview.fInfo.fRawToPreviewGain) 98 preview.fInfo.fCacheVersion [all...] |
dng_preview.h | 84 dng_image_preview (const dng_image_preview &preview); 86 dng_image_preview & operator= (const dng_image_preview &preview); 126 dng_jpeg_preview (const dng_jpeg_preview &preview); 128 dng_jpeg_preview & operator= (const dng_jpeg_preview &preview); 166 dng_raw_preview (const dng_raw_preview &preview); 168 dng_raw_preview & operator= (const dng_raw_preview &preview); 204 dng_mask_preview (const dng_mask_preview &preview); 206 dng_mask_preview & operator= (const dng_mask_preview &preview); 232 const dng_preview & Preview (uint32 index) const 237 void Append (AutoPtr<dng_preview> &preview); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewManager.java | 132 * preview managers to refresh themselves to the latest revision when they 189 for (RenderPreview preview : mPreviews) { 190 preview.disposeThumbnail(); 192 RenderPreview preview = mCanvas.getPreview(); local 193 if (preview != null) { 194 preview.disposeThumbnail(); 215 * Returns whether there are any manual preview items (provided the current 218 * @return true if there are items in the manual preview list 241 for (RenderPreview preview : old) { 242 preview.dispose() 467 RenderPreview preview = iterator.next(); local 588 RenderPreview preview = mCanvas.getPreview(); local 699 RenderPreview preview = RenderPreview.create(this, configuration); local 772 RenderPreview preview = RenderPreview.create(this, parent); local 957 RenderPreview preview = RenderPreview.create(this, parent); local 1060 RenderPreview preview = RenderPreview.create(this, config); local 1094 RenderPreview preview = RenderPreview.create(this, config); local 1178 RenderPreview preview = mCanvas.getPreview(); local 1493 RenderPreview preview = getPreview(mousePos); local 1613 private RenderPreview preview; field in class:RenderPreviewManager.SwapAnimation [all...] |
RenderPreviewList.java | 136 * configuration preview list 181 RenderPreview preview = RenderPreview.create(manager, configuration); local 183 preview.setDescription(description); 184 previews.add(preview); 190 void remove(@NonNull RenderPreview preview) { 191 ConfigurationDescription description = preview.getDescription(); 201 void add(@NonNull RenderPreview preview) { 202 Configuration configuration = preview.getConfiguration(); 206 description.displayName = preview.getDisplayName(); 208 preview.setDescription(description) [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
NativeCameraDeviceTest.java | 49 // Init preview surface to a guaranteed working size 56 // Init preview surface to a guaranteed working size 64 private static native boolean testCameraDeviceSessionOpenAndCloseNative(Surface preview); 65 private static native boolean testCameraDeviceSimplePreviewNative(Surface preview);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
WidgetPreviewLoader.java | 90 * Generates the widget preview on {@link AsyncTask#THREAD_POOL_EXECUTOR}. Must be 140 @Thunk void writeToDb(WidgetCacheKey key, long[] versions, Bitmap preview) { 148 values.put(CacheDb.COLUMN_PREVIEW_BITMAP, Utilities.flattenBitmap(preview)); 168 * 1. Any preview generated for an old package version is removed 169 * 2. Any preview for an absent package is removed 235 * Reads the preview bitmap from the DB or null if the preview is not in the DB. 266 Log.w(TAG, "Error loading preview from DB", e); 287 * Generates the widget preview from either the {@link AppWidgetManagerCompat} or cache 292 * @param maxPreviewWidth width of the preview on either workspace or tra [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperActivity.java | 55 Intent preview = new Intent(this, LiveWallpaperPreview.class); local 56 preview.putExtra(LiveWallpaperPreview.EXTRA_LIVE_WALLPAPER_INFO, info); 57 startActivityForResult(preview, REQUEST_PREVIEW);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
RGBZ.java | 33 * The RGBZ always has a preview image, which represents the latest rendering of the RGBZ. 34 * The preview is encoded as the normal jpeg content for client compatibility, 43 private Bitmap preview; field in class:RGBZ 55 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); 56 if (preview == null) { 61 bitmap = setAlphaChannel(preview, depthBitmap); 74 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); 75 if (preview == null) { 80 bitmap = setAlphaChannel(preview, depthBitmap);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WidgetPreviewLoader.java | 232 Bitmap preview = null; local 235 preview = readFromDb(name, unusedBitmap); 238 if (preview != null) { 240 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview)); 242 return preview; 246 preview = generatedPreview; 247 if (preview != unusedBitmap) { 252 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview)); 264 return preview; 357 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()); 148 void applyPreview(FastBitmapDrawable preview, int index) { 151 if (preview != null) { 153 image.setImageDrawable(preview); 157 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
DrawingPreviewPlacerView.java | 48 public void addPreview(final AbstractDrawingPreview preview) { 49 if (mPreviews.indexOf(preview) < 0) { 50 mPreviews.add(preview);
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
RGBZ.java | 16 * The RGBZ always has a preview image, which represents the latest rendering of the RGBZ. 17 * The preview is encoded as the normal jpeg content for client compatibility, 28 private Bitmap preview; field in class:RGBZ 40 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); 41 if (preview == null) { 46 this.bitmap = setAlphaChannel(preview, this.depthBitmap);
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
CameraPreviewActivity.java | 67 // Get the rotation of the screen to adjust the preview image accordingly. 71 // Create the Preview view and set it as the content of this Activity. 73 FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview); local 74 preview.addView(mPreview);
|
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
CameraPreviewActivity.java | 67 // Get the rotation of the screen to adjust the preview image accordingly. 71 // Create the Preview view and set it as the content of this Activity. 73 FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview); local 74 preview.addView(mPreview);
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
CameraPreviewActivity.java | 67 // Get the rotation of the screen to adjust the preview image accordingly. 71 // Create the Preview view and set it as the content of this Activity. 73 FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview); local 74 preview.addView(mPreview);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 65 * Returns true if the attachment should be rendered as a tile. with a large image preview. 204 // preview fills up at least 1 dimension 215 // preview is small. just center 246 public Bitmap preview; field in class:AttachmentTile.AttachmentPreview 256 dest.writeParcelable(preview, 0); 274 preview = in.readParcelable(null); 277 public AttachmentPreview(Attachment attachment, Bitmap preview) { 279 this.preview = preview; 284 void set(Attachment attachment, Bitmap preview); [all...] |
/cts/tests/camera/libctscamera2jni/ |
dng-validate-jni.cpp | 228 // Build the preview list. 235 // Skip preview if writing a compresssed main image to save space 243 : "Build preview time"); 245 // Render a preview sized image. 258 // Don't write the preview if it is same size as thumbnail. 271 AutoPtr<dng_preview> preview (useCompressedPreview ? 275 // Setup up preview info. 277 preview->fInfo.fApplicationName.Set("dng_validate"); 278 preview->fInfo.fApplicationVersion.Set(kDNGValidateVersion); 280 preview->fInfo.fSettingsName.Set("Default") [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutDragPreviewProvider.java | 82 public float getScaleAndPosition(Bitmap preview, int[] outPos) { 92 outPos[0] += Math.round(scale * iconLeft + (scale * iconSize - preview.getWidth()) / 2 + 94 outPos[1] += Math.round((scale * mView.getHeight() - preview.getHeight()) / 2
|
/external/piex/src/ |
piex.cc | 226 // Retrieves the preview image offset and length from the camera settings and 272 camera_settings_ifd.Get(kPreviewOffset, &preview_image_data->preview.offset); 273 preview_image_data->preview.offset += makernote_offset; 274 camera_settings_ifd.Get(kPreviewLength, &preview_image_data->preview.length); 333 // Parse the Fuji RAW header to get the offset and length of the preview 428 // Find the jpeg compressed thumbnail and preview image. 429 Image preview; local 438 preview = temp_image; 445 // Try to find the largest thumbnail/preview. 451 if (temp_image > preview & [all...] |
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
CameraPreviewFragment.java | 80 // Get the rotation of the screen to adjust the preview image accordingly. 84 // Create the Preview view and set it as the content of this Activity. 86 FrameLayout preview = (FrameLayout) root.findViewById(R.id.camera_preview); local 87 preview.addView(mPreview);
|
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
CameraPreviewFragment.java | 80 // Get the rotation of the screen to adjust the preview image accordingly. 84 // Create the Preview view and set it as the content of this Activity. 86 FrameLayout preview = (FrameLayout) root.findViewById(R.id.camera_preview); local 87 preview.addView(mPreview);
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
CameraPreviewFragment.java | 80 // Get the rotation of the screen to adjust the preview image accordingly. 84 // Create the Preview view and set it as the content of this Activity. 86 FrameLayout preview = (FrameLayout) root.findViewById(R.id.camera_preview); local 87 preview.addView(mPreview);
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetPreview.java | 29 * Shows a preview of the TinyPlanet on the screen while editing. 34 * preview size. 38 * Called when the preview size has changed. 40 * @param sizePx the size in pixels of the square preview area 66 public void setBitmap(Bitmap preview, Lock lock) { 67 mPreview = preview;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
PendingItemPreviewProvider.java | 39 public PendingItemPreviewProvider(View view, PendingAddItemInfo addInfo, Bitmap preview) { 42 mPreviewBitmap = preview; 67 // Don't clip alpha values for the drag outline if we're using the default widget preview
|