Searched refs:getHeight (Results 51 - 75 of 424) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java162 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
187 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapsRectActivity.java57 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 DGLFrame.java120 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 DNativeFrame.java175 getFormat().getHeight() != bitmap.getHeight()) {
193 getFormat().getHeight(),
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java119 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 DTextureView.java325 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 DBitmap.java237 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 DBitmapRegionDecoder.java186 || 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 DNinePatch.java196 public int getHeight() { method in class:NinePatch
197 return mBitmap.getHeight();
/frameworks/base/core/java/android/widget/
H A DScrollView.java203 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 DListTouchManyTest.java90 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 DGrainFilter.java163 inputFormat.getHeight() / 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) {
128 mHeight = inputFormat.getHeight();
H A DImageStitcher.java79 mInputHeight = format.getHeight();
102 (format.getHeight() != mInputHeight)) {
H A DLomoishFilter.java190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
192 mHeight = inputFormat.getHeight();
H A DSharpenFilter.java118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
119 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DToPackedGrayFilter.java88 int h = inputFormat.getHeight();
123 int oh = outputFormat.getHeight();
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java127 origHeight = rootView.getHeight();
133 newHeight = rootView.getHeight();
136 newHeight = rootView.getHeight();
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java85 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 DPicture.cpp79 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 DListOfShortShortTallShortShortTest.java45 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight();
H A DListWithOffScreenNextSelectableTest.java61 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
80 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
/frameworks/base/libs/hwui/
H A DRenderBufferCache.cpp95 buffer->getWidth(), buffer->getHeight());
158 buffer->getWidth(), buffer->getHeight());
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java181 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);

Completed in 437 milliseconds

1234567891011>>