/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 64 mPaste = new int[this.mRoiBounds.width() * this.mRoiBounds.height()]; 65 img.getPixels(mPaste, 0, mRoiBounds.width(), 66 mRoiBounds.left, mRoiBounds.top, mRoiBounds.width(), mRoiBounds.height()); 108 builderF32.setX(mSearchRange.width()); 118 options.setX(0, mSearchRange.width() - mRoiBounds.width()); 124 Log.v(TAG, "noSearch " + mRoiBounds.width() + ", " + mRoiBounds.height()); 129 mRoiBounds.width(), mRoiBounds.height()); 150 int mWidth = (((int) (8 + mRect.width())) & ~3); // bounding rectangle that is a power of 8 172 Bitmap bitmap = Bitmap.createBitmap(rec.width(), re [all...] |
H A D | Healing.java | 50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); 79 floatImage.setX(mRoiBounds.width()); 91 mRoiBounds.width(), mRoiBounds.height()); 96 mRoiBounds.width(), mRoiBounds.height()); 109 options.setX(1, mRoiBounds.width() - 1); 133 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(), 136 Rect undoRect = new Rect(0, 0, mRoiBounds.width(), mRoiBounds.height()); 145 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) { argument 146 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
|
H A D | Region.java | 156 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) {
argument 157 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Blur25.java | 67 int width = mInPixelsAllocation.getType().getX(); 77 tb.setX(width); 83 mScript.set_width(width);
|
H A D | Blur25G.java | 64 int width = mInPixelsAllocation.getType().getX(); 68 tb.setX(width);
|
H A D | Grain.java | 59 int width = mInPixelsAllocation.getType().getX(); 62 int noiseW = findHighBit(width);
|
H A D | Mandelbrot.java | 88 int width = mOutPixelsAllocation.getType().getX(); 92 mScript.set_gDimX(width);
|
H A D | threshold.rs | 21 int width; 102 if ((x > radius) && (x < (width - radius))) { 110 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Blur25.java | 63 int width = mInPixelsAllocation.getType().getX(); 73 tb.setX(width); 79 mScript.set_width(width);
|
H A D | Blur25G.java | 58 int width = mInPixelsAllocation.getType().getX(); 62 tb.setX(width);
|
H A D | Grain.java | 59 int width = mInPixelsAllocation.getType().getX(); 62 int noiseW = findHighBit(width);
|
H A D | IPControls.java | 75 public final int width; field in class:IPControls.Resolutions 79 width = w; 111 if (Resolutions.values()[ct].width <= (int)(md * 1.2)) { 204 intent.putExtra("resolution X", mResolution.width); 241 float pr = (1920.f / mResolution.width) * (1080.f / mResolution.height);
|
H A D | ImageProcessingActivity2.java | 229 throw new RuntimeException("unhandled bitmap width."); 777 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 782 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | Mandelbrot.java | 82 int width = mOutPixelsAllocation.getType().getX(); 86 mScript.set_gDimX(width);
|
H A D | threshold.rs | 21 int width; 102 if ((x > radius) && (x < (width - radius))) { 110 int validX = rsClamp((int)x + r, (int)0, (int)(width - 1));
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Blur25.java | 67 int width = mInPixelsAllocation.getType().getX(); 77 tb.setX(width); 83 mScript.set_width(width);
|
H A D | Blur25G.java | 64 int width = mInPixelsAllocation.getType().getX(); 68 tb.setX(width);
|
H A D | Grain.java | 64 int width = mInPixelsAllocation.getType().getX(); 67 int noiseW = findHighBit(width);
|
H A D | IPControlsJB.java | 77 public final int width; field in class:IPControlsJB.Resolutions 81 width = w; 112 if (Resolutions.values()[ct].width <= (int)(md * 1.2)) { 207 intent.putExtra("resolution X", mRes.width); 242 float pr = (1920.f / mRes.width) * (1080.f / mRes.height);
|
H A D | ImageProcessingActivityJB.java | 740 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 745 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | Mandelbrot.java | 82 int width = mOutPixelsAllocation.getType().getX(); 86 mScript.set_gDimX(width);
|
H A D | threshold.rs | 21 int width; 102 if ((x > radius) && (x < (width - radius))) { 110 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 139 int width, int height) { 141 mPreviewTexWidth = width; 148 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 205 if (lhs.width < rhs.width) return -1; 206 if (lhs.width > rhs.width) return 1; 222 Integer.toString(mPreviewSizes.get(i).width) + " x " + 271 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth; 285 p.setPreviewSize(mPreviewSize.width, mPreviewSiz 138 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument [all...] |
H A D | RsYuv.java | 68 void reset(int width, int height) { argument 73 android.util.Log.v("cpa", "reset " + width + ", " + height); 75 mWidth = width; 127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc_copy.java | 59 int width = random.nextInt(512); 60 int arr_len = width; 67 typeBuilder.setX(width); 98 int width = random.nextInt(512); 99 int arr_len = width; 109 typeBuilder.setX(width); 140 int width = random.nextInt(512); 141 int arr_len = width; 151 typeBuilder.setX(width); 182 int width [all...] |