Searched defs:image (Results 1 - 25 of 121) sorted by last modified time

12345

/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DContentRecommendation.java400 * Returns the Bitmap containing the recommendation image.
402 * @return A Bitmap containing the recommendation image.
420 * Returns a Content URI that can be used to retrieve the background image for this
423 * @return A Content URI pointing to the recommendation background image.
791 * Sets the recommendation image.
793 * @param image A Bitmap containing the recommendation image.
796 public Builder setContentImage(Bitmap image) { argument
797 mBuilderContentImage = checkNotNull(image);
817 * Sets the Content URI that will be used to retrieve the background image fo
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DDepthImage.java23 import com.android.rs.refocus.image.RangeInverseDepthTransform;
24 import com.android.rs.refocus.image.RangeLinearDepthTransform;
58 public static DepthImage createFromXMPMetadata(Context context, Uri image) argument
60 InputStream input = context.getContentResolver().openInputStream(image);
H A DRGBZ.java26 import com.android.rs.refocus.image.RangeInverseDepthTransform;
31 * An RGBZ image, where Z stands for depth, i.e. a color+depth image.
32 * The RGBZ always has a preview image, which represents the latest rendering of the RGBZ.
66 * Creates an RGBZ from uris to an image and a depthmap.
68 * @param uriImage The uri name of the image
85 public RGBZ(Bitmap image, DepthImage depthImage) { argument
86 preview = image;
96 Bitmap image = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage));
97 if (image
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DImageBuffersForRenderScriptd1new.java15 * A class that manages the image buffers that interface between Java and Render
42 * @param image an input (padded) RGBD image
48 public ImageBuffersForRenderScriptd1new(Bitmap image, int margin, argument
50 super(image, margin, renderScript);
86 * sets up the input image.
101 // At this point, {@code inAllocation} contains input RGBD image in Java.
102 // {@code g_sharp_image} is a global pointer that points the focus image in
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
H A DImageBuffersForRenderScriptF32.java15 * A class that manages the image buffers that interface between Java and Render
35 * @param image an input (padded) RGBD image
41 public ImageBuffersForRenderScriptF32(Bitmap image, int margin, argument
43 super(image, margin, renderScript);
63 * sets up the input image.
79 // At this point, {@code inAllocation} contains input RGBD image in Java.
80 // {@code g_sharp_image} is a global pointer that points the focus image in
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/image/
H A DRangeInverseDepthTransform.java1 package com.android.rs.refocus.image;
H A DRangeLinearDepthTransform.java1 package com.android.rs.refocus.image;
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraOps.java200 public ImageSaver(Image image, String fileName, ContentResolver contentResolver) { argument
201 mImage = image;
H A DMediaStoreSaver.java33 * Utility class to save images into android image database
41 Bitmap image,
44 final Bitmap source = image;
63 values.put(Images.Media.MIME_TYPE, "image/jpeg");
64 // Add the date meta data to ensure the image is added at the front of the gallery
40 insertImage(ContentResolver contentResolver, Bitmap image, String title, String description) argument
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java34 float[] mPointsXY; // polygon point in original image coordnates
36 int mCutOffsetX; // image coords of the cut (mPointsXY - mPasteOffX + mCutOffsetX)
37 int mCutOffsetY; // image coords of the cut (mPointsXY - mPasteOffY + mCutOffsetY)
50 throw new RuntimeException("ROI to close to the edge of the image");
75 public Rect findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) { argument
81 Allocation aImage = Allocation.createFromBitmap(mRs, image);
84 findRegion.invoke_findRegion(border_coords, aImage, image.getWidth(), image.getHeight(), ret);
H A DHealing.java37 float[] mPointsXY; // polygon point in original image coordnates
38 int mCutOffsetX; // image coords of the cut (mPointsXY - mPasteOffX + mCutOffsetX)
39 int mCutOffsetY; // image coords of the cut (mPointsXY - mPasteOffY + mCutOffsetY)
74 * @param image
76 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) { argument
85 Bitmap dest_bitmap = createMutableBitmap(image, mRoiBounds.left, mRoiBounds.top,
88 Bitmap src_bitmap = createMutableBitmap(image, mCutOffsetX, mCutOffsetY,
107 c.drawBitmap(image, 0, 0, null);
110 heal_orig(healing, rs, image, output);
120 * @param image
122 heal_orig(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) argument
189 createMutableBitmap(Bitmap image, int x, int y, int width, int height) argument
[all...]
H A DRegion.java34 int mCutOffsetX; // image coords of the cut (mPointsXY - mPasteOffX + mCutOffsetX)
35 int mCutOffsetY; // image coords of the cut (mPointsXY - mPasteOffY + mCutOffsetY)
39 float[] mPointsXY; // polygon point in original image coordnates
101 public Drawable findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) { argument
102 Rect mRoiBounds = mFindRegion.findMatch(findRegion, mRs, image);
147 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) { argument
148 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
157 * @param image
159 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) { argument
165 h.heal(healing, rs, image, outpu
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraOps.java216 public ImageSaver(Image image, String fileName, Context context,int mode) { argument
217 mImage = image;
H A DMediaStoreSaver.java33 * Utility class to save images into android image database
41 Bitmap image,
44 final Bitmap source = image;
63 values.put(Images.Media.MIME_TYPE, "image/jpeg");
64 // Add the date meta data to ensure the image is added at the front of the gallery
40 insertImage(ContentResolver contentResolver, Bitmap image, String title, String description) argument
H A DViewfinderProcessor.java254 MediaStoreSaver.insertImage(cr, b, "canny", "canny filtered image");
261 public static void processImage(Bitmap image, Context context, int mMode) { argument
263 int width = image.getWidth();
264 int height = image.getHeight();
267 img_alloc = Allocation.createFromBitmap(mRs, image);
316 img_alloc.copyTo(image);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java40 float[] mPointsXY; // polygon point in original image coordnates
41 Rect mSearchRange; // range to search in (original image coordinates
44 int mCutOffsetX; // image coords of the cut (mPointsXY - mPasteOffX + mCutOffsetX)
45 int mCutOffsetY; // image coords of the cut (mPointsXY - mPasteOffY + mCutOffsetY)
60 throw new RuntimeException("ROI to close to the edge of the image");
84 public Rect findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) { argument
99 findRegion.set_image(Allocation.createFromBitmap(mRs, image));
H A DHealing.java37 float[] mPointsXY; // polygon point in original image coordnates
38 int mCutOffsetX; // image coords of the cut (mPointsXY - mPasteOffX + mCutOffsetX)
39 int mCutOffsetY; // image coords of the cut (mPointsXY - mPasteOffY + mCutOffsetY)
74 * @param image
76 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) { argument
90 Bitmap destBitmap = createMutableBitmap(image, mRoiBounds.left, mRoiBounds.top,
95 Bitmap src = createMutableBitmap(image, mCutOffsetX, mCutOffsetY,
140 c.drawBitmap(image, 0, 0, null);
145 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) { argument
146 Bitmap ret = Bitmap.createBitmap(image,
[all...]
H A DRegion.java43 int mCutOffsetX; // image coords of the cut (mPointsXY - mPasteOffX + mCutOffsetX)
44 int mCutOffsetY; // image coords of the cut (mPointsXY - mPasteOffY + mCutOffsetY)
48 float[] mPointsXY; // polygon point in original image coordnates
110 public Drawable findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) { argument
111 Rect mRoiBounds = mFindRegion.findMatch(findRegion, mRs, image);
156 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) { argument
157 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
166 * @param image
168 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) { argument
174 h.heal(healing, rs, image, outpu
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DArtistic1.java17 package com.android.rs.image;
H A DBWFilter.java17 package com.android.rs.image;
H A DBlend.java17 package com.android.rs.image;
H A DBlur25.java17 package com.android.rs.image;
H A DBlur25G.java17 package com.android.rs.image;
H A DColorCube.java17 package com.android.rs.image;
H A DColorMatrix.java17 package com.android.rs.image;

Completed in 626 milliseconds

12345