Searched refs:getWidth (Results 26 - 50 of 350) sorted by relevance

1234567891011>>

/frameworks/base/opengl/java/android/opengl/
H A DETC1.java130 public static native int getWidth(Buffer header); method in class:ETC1
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBigGradientActivity.java47 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), p);
H A DClipRegionActivity.java82 mClipPath.addCircle(mClipPosition * getWidth(), getHeight() / 2.0f,
83 getWidth() / 4.0f, Path.Direction.CW);
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisible.java69 rect.set(0, 0, topBlob.getWidth(), topBlob.getHeight());
85 rect.set(0, 0, bottomBlob.getWidth(), bottomBlob.getHeight());
/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java162 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
187 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DCircleView.java82 int viewWidth = getWidth();
88 mXCenter = getWidth() / 2;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) {
127 int width = getFormat().getWidth();
137 int width = getFormat().getWidth();
229 if (getFormat().getWidth() != bitmap.getWidth() ||
244 Bitmap result = Bitmap.createBitmap(getFormat().getWidth(),
H A DNativeFrame.java174 } else if (getFormat().getWidth() != bitmap.getWidth() ||
192 Bitmap result = Bitmap.createBitmap(getFormat().getWidth(),
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java231 int width = srcImage.getWidth();
282 g.fillRect(0, 0, image.getWidth(), image.getHeight());
296 return delegate.mImage.getWidth();
318 return delegate.mImage.getWidth();
513 image1.getWidth() != image2.getWidth() ||
519 int w = image1.getWidth();
569 int w = image.getWidth();
575 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
[all...]
/frameworks/base/core/java/android/view/
H A DTextureView.java325 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
328 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
365 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
385 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight());
402 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
454 mLayer.update(getWidth(), getHeight(), mOpaque);
533 return getBitmap(getWidth(), getHeight());
/frameworks/base/libs/hwui/
H A DLayer.cpp75 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) {
86 uint32_t oldWidth = getWidth();
156 const float width = layer.getWidth();
175 renderer->setViewport(layer.getWidth(), layer.getHeight());
190 renderer->setViewport(layer.getWidth(), layer.getHeight());
H A DRenderBufferCache.cpp95 buffer->getWidth(), buffer->getHeight());
158 buffer->getWidth(), buffer->getHeight());
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DGrainFilter.java162 FrameFormat noiseFormat = ImageFormat.create(inputFormat.getWidth() / 2,
180 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
181 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DCropRectFilter.java110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
111 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
H A DDocumentaryFilter.java126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
127 mWidth = inputFormat.getWidth();
H A DImageStitcher.java78 mInputWidth = format.getWidth();
101 if ((format.getWidth() != mInputWidth) ||
H A DLomoishFilter.java190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
191 mWidth = inputFormat.getWidth();
H A DSharpenFilter.java118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
119 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DToPackedGrayFilter.java87 int w = inputFormat.getWidth();
122 int ow = outputFormat.getWidth();
H A DVignetteFilter.java140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
141 mWidth = inputFormat.getWidth();
/frameworks/base/core/jni/android/graphics/
H A DPicture.cpp73 static int getWidth(JNIEnv* env, jobject jpic) { function in class:android::SkPictureGlue
100 {"getWidth", "()I", (void*) SkPictureGlue::getWidth},
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java187 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth()
196 public int getWidth() { method in class:BitmapRegionDecoder
198 checkRecycled("getWidth called on recycled region decoder");
214 * getWidth() or getHeight() is called.
H A DNinePatch.java137 public int getWidth() { method in class:NinePatch
138 return mBitmap.getWidth();
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java180 int width = bitmap.getWidth();
225 if (source.getWidth() < source.getHeight()) {
226 scale = width / (float) source.getWidth();
370 int deltaX = source.getWidth() - targetWidth;
388 deltaXHalf + Math.min(targetWidth, source.getWidth()),
404 float bitmapWidthF = source.getWidth();
430 source.getWidth(), source.getHeight(), scaler, true);
439 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java123 bounds.set(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight());
125 bounds.union(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight());

Completed in 526 milliseconds

1234567891011>>