/frameworks/base/graphics/java/android/renderscript/ |
H A D | RSTextureView.java | 162 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight()); 187 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapsRectActivity.java | 57 final float half = mBitmap1.getHeight() / 2.0f; 72 canvas.translate(0.0f, mBitmap1.getHeight());
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) { 128 int height = getFormat().getHeight(); 138 int height = getFormat().getHeight(); 230 getFormat().getHeight() != bitmap.getHeight()) { 245 getFormat().getHeight(),
|
H A D | NativeFrame.java | 175 getFormat().getHeight() != bitmap.getHeight()) { 193 getFormat().getHeight(),
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 119 int height = Math.round(bitmap.getHeight() * scale); 121 && height == bitmap.getHeight()) return bitmap; 142 int srcHeight = bitmap.getHeight(); 151 int h = bitmap.getHeight(); 160 int height = Math.round(scale * bitmap.getHeight()); 182 int h = source.getHeight();
|
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 325 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 328 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); 365 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 385 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight()); 402 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 454 mLayer.update(getWidth(), getHeight(), mOpaque); 533 return getBitmap(getWidth(), getHeight());
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 237 reconfigure(width, getHeight(), getConfig()); 269 reconfigure(getWidth(), getHeight(), config); 590 final int height = src.getHeight(); 612 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight()); 667 if (y + height > source.getHeight()) { 673 height == source.getHeight() && (m == null || m.isIdentity())) { 1057 public final int getHeight() { method in class:Bitmap 1074 return scaleFromDensity(getHeight(), mDensity, canvas.mDensity); 1090 return scaleFromDensity(getHeight(), mDensity, metrics.densityDpi); 1112 return scaleFromDensity(getHeight(), mDensit [all...] |
H A D | BitmapRegionDecoder.java | 186 || rect.top >= getHeight()) 202 public int getHeight() { method in class:BitmapRegionDecoder 204 checkRecycled("getHeight called on recycled region decoder"); 212 * getWidth() or getHeight() is called.
|
H A D | NinePatch.java | 196 public int getHeight() { method in class:NinePatch 197 return mBitmap.getHeight();
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 203 final int bottomEdge = getHeight() - mPaddingBottom; 276 int childHeight = child.getHeight(); 277 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; 650 mEdgeGlowTop.onPull((float) deltaY / getHeight()); 655 mEdgeGlowBottom.onPull((float) deltaY / getHeight()); 788 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; 796 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; 842 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); 944 int height = getHeight(); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListTouchManyTest.java | 90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); 108 mListView.getHeight() - mListView.getListPaddingBottom())) { 136 mListView.getHeight() - mListView.getListPaddingBottom())) {
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | GrainFilter.java | 163 inputFormat.getHeight() / 2, 180 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 181 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | CropRectFilter.java | 110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 111 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | DocumentaryFilter.java | 126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 128 mHeight = inputFormat.getHeight();
|
H A D | ImageStitcher.java | 79 mInputHeight = format.getHeight(); 102 (format.getHeight() != mInputHeight)) {
|
H A D | LomoishFilter.java | 190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 192 mHeight = inputFormat.getHeight();
|
H A D | SharpenFilter.java | 118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 119 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | ToPackedGrayFilter.java | 88 int h = inputFormat.getHeight(); 123 int oh = outputFormat.getHeight();
|
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
H A D | ImfBaseTestCase.java | 127 origHeight = rootView.getHeight(); 133 newHeight = rootView.getHeight(); 136 newHeight = rootView.getHeight();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 85 final float height = getHeight(); 128 float cropBottom = cropTop + getHeight() / scale; 145 updateMinScale(getWidth(), getHeight(), source, true); 193 if (getWidth() == 0 || getHeight() == 0) { 303 } else if (edges.bottom < getHeight()) { 304 adjustment[1] = (edges.bottom - getHeight()) / scale;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Picture.cpp | 79 static int getHeight(JNIEnv* env, jobject jpic) { function in class:android::SkPictureGlue 102 {"getHeight", "()I", (void*) SkPictureGlue::getHeight},
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfShortShortTallShortShortTest.java | 45 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight();
|
H A D | ListWithOffScreenNextSelectableTest.java | 61 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom(); 80 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
|
/frameworks/base/libs/hwui/ |
H A D | RenderBufferCache.cpp | 95 buffer->getWidth(), buffer->getHeight()); 158 buffer->getWidth(), buffer->getHeight());
|
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 181 int height = bitmap.getHeight(); 225 if (source.getWidth() < source.getHeight()) { 228 scale = height / (float) source.getHeight(); 371 int deltaY = source.getHeight() - targetHeight; 389 deltaYHalf + Math.min(targetHeight, source.getHeight())); 405 float bitmapHeightF = source.getHeight(); 430 source.getWidth(), source.getHeight(), scaler, true); 440 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
|