/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooActivity.java | 94 if (option.getWidth() >= width && option.getHeight() >= height) { 115 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - 116 (long) rhs.getWidth() * rhs.getHeight()); 254 largestSize.getHeight(), ImageFormat.JPEG, /*maxImages*/2); 262 mSurfaceView.getWidth() + 'x' + mSurfaceView.getHeight()); 270 optimalSize.getHeight()); 419 mCapture.getWidth() + 'x' + mCapture.getHeight());
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 341 final int bottomEdge = getHeight() - getPaddingBottom(); 355 return (int) (MAX_SCROLL_FACTOR * getHeight()); 424 int childHeight = child.getHeight(); 425 return getHeight() < childHeight + getPaddingTop() + getPaddingBottom(); 813 mEdgeGlowTop.onPull((float) deltaY / getHeight(), 819 mEdgeGlowBottom.onPull((float) deltaY / getHeight(), 1009 child.getHeight() - (getHeight() - getPaddingBottom() - getPaddingTop())); 1109 int height = getHeight(); 1145 int height = getHeight(); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableView.java | 115 * {@link View#getHeight()}, as we want to avoid layouting during scrolling and expanding. 145 return getHeight(); 152 return getHeight(); 161 return getHeight(); 209 return getHeight(); 368 return super.hasOverlappingRendering() && getActualHeight() <= getHeight();
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | AppBarWithToolbarTest.java | 50 final int originalAppbarBottom = appbarOnScreenXY[1] + mAppBar.getHeight(); 53 final int appbarHeight = mAppBar.getHeight(); 151 Rect rect = new Rect(0, 0, child.getWidth(), child.getHeight()); 184 Rect rect = new Rect(0, 0, child.getWidth(), child.getHeight()); 195 assertEquals(originalScrollingXY[1] - mAppBar.getHeight(), newScrollingXY[1]);
|
/frameworks/support/percent/tests/java/android/support/percent/ |
H A D | PercentRelativeRtlTest.java | 114 mContainerHeight = mPercentRelativeLayout.getHeight(); 152 final int childHeight = childToTest.getHeight(); 177 final int childHeight = childToTest.getHeight(); 208 final int childHeight = childToTest.getHeight(); 238 final int childHeight = childToTest.getHeight();
|
/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/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 173 getFormat().getHeight() != bitmap.getHeight()) { 191 getFormat().getHeight(),
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | GrainFilter.java | 158 inputFormat.getHeight() / 2, 175 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 176 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | CropRectFilter.java | 105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 106 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | DocumentaryFilter.java | 123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 125 mHeight = inputFormat.getHeight();
|
H A D | FisheyeFilter.java | 115 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 116 updateFrameSize(inputFormat.getWidth(), inputFormat.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/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MediaStoreSaver.java | 124 float scaleY = height / source.getHeight(); 130 source.getHeight(), matrix, 137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight());
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatPopupWindow.java | 93 yoff -= anchor.getHeight(); 103 yoff -= anchor.getHeight(); 112 yoff -= anchor.getHeight();
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | DividerItemDecoration.java | 116 parent.getHeight() - parent.getPaddingBottom()); 140 bottom = parent.getHeight() - parent.getPaddingBottom(); 145 bottom = parent.getHeight();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 84 final float height = getHeight(); 127 float cropBottom = cropTop + getHeight() / scale; 144 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/support/v7/recyclerview/tests/src/android/support/v7/util/ |
H A D | TouchUtils.java | 38 final int viewHeight = v.getHeight(); 69 final int viewHeight = v.getHeight(); 96 final int viewHeight = v.getHeight(); 133 final int viewHeight = v.getHeight(); 174 final int viewHeight = v.getHeight(); 187 final int viewHeight = v.getHeight();
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MeteringRectangle.java | 119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative"); 176 public int getHeight() { method in class:MeteringRectangle
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfShortShortTallShortShortTest.java | 47 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight();
|
H A D | ListWithOffScreenNextSelectableTest.java | 63 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom(); 82 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
|
/frameworks/base/graphics/java/android/graphics/ |
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 | 235 public int getHeight() { method in class:NinePatch 236 return mBitmap.getHeight();
|
/frameworks/base/libs/hwui/ |
H A D | DeferredLayerUpdater.cpp | 35 mHeight = mLayer->layer.getHeight(); 99 || mHeight != static_cast<int>(buffer->getHeight());
|
H A D | LayerRenderer.cpp | 53 const float height = mLayer->layer.getHeight(); 163 const float texY = 1.0f / float(mLayer->getHeight()); 164 const float height = mLayer->layer.getHeight(); 209 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) { 222 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 311 ATRACE_FORMAT("Destroy %ux%u HW Layer", layer->getWidth(), layer->getHeight()); 313 layer->getWidth(), layer->getHeight(), layer->getFbo());
|
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 176 int height = bitmap.getHeight(); 220 if (source.getWidth() < source.getHeight()) { 223 scale = height / (float) source.getHeight(); 366 int deltaY = source.getHeight() - targetHeight; 384 deltaYHalf + Math.min(targetHeight, source.getHeight())); 400 float bitmapHeightF = source.getHeight(); 425 source.getWidth(), source.getHeight(), scaler, true); 435 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
|