Searched refs:getHeight (Results 101 - 125 of 785) sorted by relevance

1234567891011>>

/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java94 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 DNestedScrollView.java341 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 DExpandableView.java115 * {@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 DAppBarWithToolbarTest.java50 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 DPercentRelativeRtlTest.java114 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 DListTouchManyTest.java90 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 DNativeFrame.java173 getFormat().getHeight() != bitmap.getHeight()) {
191 getFormat().getHeight(),
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DGrainFilter.java158 inputFormat.getHeight() / 2,
175 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
176 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DCropRectFilter.java105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
106 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
H A DDocumentaryFilter.java123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
125 mHeight = inputFormat.getHeight();
H A DFisheyeFilter.java115 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 DImfBaseTestCase.java127 origHeight = rootView.getHeight();
133 newHeight = rootView.getHeight();
136 newHeight = rootView.getHeight();
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java124 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 DAppCompatPopupWindow.java93 yoff -= anchor.getHeight();
103 yoff -= anchor.getHeight();
112 yoff -= anchor.getHeight();
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java116 parent.getHeight() - parent.getPaddingBottom());
140 bottom = parent.getHeight() - parent.getPaddingBottom();
145 bottom = parent.getHeight();
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java84 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 DTouchUtils.java38 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 DMeteringRectangle.java119 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 DListOfShortShortTallShortShortTest.java47 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight();
H A DListWithOffScreenNextSelectableTest.java63 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
82 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
/frameworks/base/graphics/java/android/graphics/
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.java235 public int getHeight() { method in class:NinePatch
236 return mBitmap.getHeight();
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp35 mHeight = mLayer->layer.getHeight();
99 || mHeight != static_cast<int>(buffer->getHeight());
H A DLayerRenderer.cpp53 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 DThumbnailUtils.java176 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);

Completed in 4416 milliseconds

1234567891011>>