Searched refs:width (Results 101 - 125 of 1274) sorted by last modified time

1234567891011>>

/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java64 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 DHealing.java50 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 DRegion.java156 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 DBlur25.java67 int width = mInPixelsAllocation.getType().getX();
77 tb.setX(width);
83 mScript.set_width(width);
H A DBlur25G.java64 int width = mInPixelsAllocation.getType().getX();
68 tb.setX(width);
H A DGrain.java59 int width = mInPixelsAllocation.getType().getX();
62 int noiseW = findHighBit(width);
H A DMandelbrot.java88 int width = mOutPixelsAllocation.getType().getX();
92 mScript.set_gDimX(width);
H A Dthreshold.rs21 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 DBlur25.java63 int width = mInPixelsAllocation.getType().getX();
73 tb.setX(width);
79 mScript.set_width(width);
H A DBlur25G.java58 int width = mInPixelsAllocation.getType().getX();
62 tb.setX(width);
H A DGrain.java59 int width = mInPixelsAllocation.getType().getX();
62 int noiseW = findHighBit(width);
H A DIPControls.java75 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 DImageProcessingActivity2.java229 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 DMandelbrot.java82 int width = mOutPixelsAllocation.getType().getX();
86 mScript.set_gDimX(width);
H A Dthreshold.rs21 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 DBlur25.java67 int width = mInPixelsAllocation.getType().getX();
77 tb.setX(width);
83 mScript.set_width(width);
H A DBlur25G.java64 int width = mInPixelsAllocation.getType().getX();
68 tb.setX(width);
H A DGrain.java64 int width = mInPixelsAllocation.getType().getX();
67 int noiseW = findHighBit(width);
H A DIPControlsJB.java77 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 DImageProcessingActivityJB.java740 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
745 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
H A DMandelbrot.java82 int width = mOutPixelsAllocation.getType().getX();
86 mScript.set_gDimX(width);
H A Dthreshold.rs21 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 DCameraPreviewActivity.java139 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 DRsYuv.java68 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 DUT_alloc_copy.java59 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...]

Completed in 1572 milliseconds

1234567891011>>