/frameworks/base/native/android/ |
H A D | native_window.cpp | 61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, argument 65 err = native_window_set_buffers_user_dimensions(window, width, height); 68 if (width && height) {
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | CubeRenderer.java | 85 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 86 gl.glViewport(0, 0, width, height); 94 float ratio = (float) width / height;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | TextViewWithCircularIndicator.java | 72 final int width = getWidth(); 74 int radius = Math.min(width, height) / 2; 75 canvas.drawCircle(width / 2, height / 2, radius, mCirclePaint);
|
/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);
|
/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);
|
/frameworks/av/include/media/stagefright/ |
H A D | YUVImage.h | 56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height); 60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer); 68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height); 70 int32_t width() const {return mWidth;} function in class:android::YUVImage 73 // Returns true if pixel is the range [0, width-1] x [0, height-1] 78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1]. 84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1]. 147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1]. 167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
|
/frameworks/av/media/libmedia/ |
H A D | IRemoteDisplayClient.cpp | 41 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) 46 data.writeInt32(width); 81 uint32_t width = data.readInt32(); local 85 onDisplayConnected(surfaceTexture, width, height, flags, session); 40 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 89 mVideoWidth = videoSize.width; 92 if (OK == mInitCheck && !trySettingVideoSize(videoSize.width, videoSize.height)) { 125 int32_t width, int32_t height) { 143 int32_t pictureWidth = supportedSizes[i].width; 146 if ((pictureWidth == width) && (pictureHeight == height)) { 153 ALOGV("Video size (%d, %d) is supported", width, height); 155 params.setVideoSize(width, height); 157 params.setPreviewSize(width, height); 162 ALOGE("Failed to set preview size to %dx%d", width, height); 124 trySettingVideoSize( int32_t width, int32_t height) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | findhalfpel.cpp | 34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height, 80 Int width = video->currVop->width; /* padding */ local 102 else if (imin >= width - 1) 113 else if (imin >= width - 16) 195 Int width = video->currVop->width; /* , padding */ local 222 else if (imin >= width - 1) 231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVImage.cpp | 26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { argument 28 mWidth = width; 31 size_t numberOfBytes = bufferSize(yuvFormat, width, height); 39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { argument 41 mWidth = width; 50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { argument 51 int32_t numberOfPixels = width*height; 204 int32_t width = srcRect.width(); local 236 size_t numberOfYBytesPerRow = (size_t) width; 286 int32_t width = srcRect.width(); local [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | IDisplayManager.aidl | 69 int width, int height, int densityDpi, in Surface surface, int flags); 73 int width, int height, int densityDpi);
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 32 OffscreenBuffer* BakedOpRenderer::startTemporaryLayer(uint32_t width, uint32_t height) { argument 35 OffscreenBuffer* buffer = mRenderState.layerPool().get(mRenderState, width, height); 36 startRepaintLayer(buffer, Rect(width, height)); 74 offscreenBuffer->texture.width(), 104 const uint32_t width = area.getWidth(); local 106 OffscreenBuffer* buffer = mRenderState.layerPool().get(mRenderState, width, height); 107 if (!area.isEmpty() && width != 0 && height != 0) { 112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); 117 void BakedOpRenderer::startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) { argument 120 setViewport(width, heigh 161 setViewport(uint32_t width, uint32_t height) argument [all...] |
/frameworks/base/libs/hwui/renderstate/ |
H A D | Scissor.h | 31 bool set(GLint x, GLint y, GLint width, GLint height);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | EmbeddedContentContainer.java | 25 public void onSizeChanged(int width, int height); argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 78 public void setSize(int width, int height) { argument 79 mWidth = width; 81 mTextureWidth = width > 0 ? Utils.nextPowerOf2(width) : 0; 107 // Returns the width rounded to the next power of 2.
|
H A D | GLCanvas.java | 27 // [x, x+width) * [y, y+height) 36 // who only want to draw on the GLCanvas. Both width and height must be 38 public abstract void setSize(int width, int height); argument 90 public abstract void fillRect(float x, float y, float width, float height, int color); argument 94 BasicTexture texture, int x, int y, int width, int height); 204 * Gets the bounds given by x, y, width, and height as well as the internal 211 * @param width The width of the input rectangle. 214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument 93 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | UinputBridge.java | 34 private static native long nativeOpen(String name, String uniqueId, int width, int height, argument 44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) argument 46 if (width < 1 || height < 1) { 55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.h | 36 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | ColorFilter_Delegate.java | 61 public void applyFilter(Graphics2D g, int width, int height) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | GreedyLineBreaker.java | 41 float width = 0, printedWidth = 0; 57 // update the current line width 59 width += p.width; 61 printedWidth = width; 64 width = mTabStops.width(width); 94 printedWidth = width = 0; 108 // this does not handle penalties with width [all...] |
/frameworks/native/include/android/ |
H A D | bitmap.h | 67 /** The bitmap width in pixels. */ 68 uint32_t width; member in struct:__anon1287
|
/frameworks/native/include/gui/ |
H A D | GraphicBufferAlloc.h | 36 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t width,
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferAlloc.cpp | 47 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t width, argument 52 data.writeUint32(width); 100 uint32_t width = data.readUint32(); local 106 createGraphicBuffer(width, height, format, usage, &error);
|
/frameworks/support/percent/src/android/support/percent/ |
H A D | PercentFrameLayout.java | 67 * You can also make one dimension be a fraction of the other by setting only width or height and 74 * This will make the aspect ratio 16:9 (1.78:1) with the width fixed at 300dp and height adjusted 126 public LayoutParams(int width, int height) { argument 127 super(width, height); 130 public LayoutParams(int width, int height, int gravity) { argument 131 super(width, height, gravity);
|