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

1234567891011>>

/frameworks/support/palette/src/androidTest/java/androidx/palette/graphics/
H A DBucketTests.java73 b.setRegion(0, 0, sample.getWidth(), sample.getHeight());
83 b.setRegion(0, 0, sample.getWidth() / 2, sample.getHeight() / 2);
93 b.setRegion(sample.getWidth() / 2, sample.getHeight() / 2,
94 sample.getWidth(), sample.getHeight());
139 .setRegion(0, bitmap.getHeight() / 2, bitmap.getWidth(), bitmap.getHeight())
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
H A DPercentFrameTest.java46 mContainerHeight = mPercentFrameLayout.getHeight();
54 int childHeight = childToTest.getHeight();
67 int childHeight = childToTest.getHeight();
80 int childHeight = childToTest.getHeight();
131 int childHeight = childToTest.getHeight();
150 int childHeight = childToTest.getHeight();
H A DPercentRelativeRtlTest.java112 mContainerHeight = mPercentRelativeLayout.getHeight();
153 final int childHeight = childToTest.getHeight();
181 final int childHeight = childToTest.getHeight();
215 final int childHeight = childToTest.getHeight();
248 final int childHeight = childToTest.getHeight();
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DBoxInsetLayoutTest.java95 int parentBottom = boxParent.getTop() + boxParent.getHeight();
159 int parentBottom = boxParent.getTop() + boxParent.getHeight();
161 int parentHeight = boxParent.getHeight();
169 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child1.getHeight()))));
183 .check(screenTop(is(equalTo(parentBottom - desiredPadding - child2.getHeight()))))
200 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1))))
203 closeTo((parentHeight / 2 + child3.getHeight() / 2), 1))));
215 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1))))
218 closeTo((parentHeight / 2 + child4.getHeight() / 2), 1))));
266 int parentBottom = boxParent.getTop() + boxParent.getHeight();
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java668 mPopupWindow.getWidth(), mPopupWindow.getHeight());
719 y = contentRectOnScreen.top - mPopupWindow.getHeight();
742 mPopupWindow.getHeight();
808 final int targetHeight = mOverflowPanelSize.getHeight();
810 final int startHeight = mContentContainer.getHeight();
842 startY - (mContentContainer.getHeight() - startHeight));
910 final int targetHeight = mMainPanelSize.getHeight();
911 final int startHeight = mContentContainer.getHeight();
912 final float bottom = mContentContainer.getY() + mContentContainer.getHeight();
919 mContentContainer.setY(bottom - mContentContainer.getHeight());
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2RecordingTest.java397 videoSz.getHeight() > maxPreviewSize.getHeight())) {
554 videoSz.getHeight() > maxPreviewSize.getHeight())) {
582 candidateSize.getHeight() <= videoSz.getHeight()) {
590 candidateSize.getHeight() <= videoSz.getHeight() &&
607 videoSz.getHeight() <= maxPreviewSize.getHeight()) {
[all...]
/frameworks/base/core/java/android/view/
H A DTextureView.java364 mSurface.setDefaultBufferSize(getWidth(), getHeight());
367 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
386 mSurface.setDefaultBufferSize(getWidth(), getHeight());
390 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight());
407 mSurface.setDefaultBufferSize(getWidth(), getHeight());
458 mLayer.prepare(getWidth(), getHeight(), mOpaque);
538 return getBitmap(getWidth(), getHeight());
/frameworks/base/core/java/android/widget/
H A DScrollView.java226 final int bottomEdge = getHeight() - mPaddingBottom;
300 int childHeight = child.getHeight();
301 return getHeight() < childHeight + mPaddingTop + mPaddingBottom;
707 mEdgeGlowTop.onPull((float) deltaY / getHeight(),
713 mEdgeGlowBottom.onPull((float) deltaY / getHeight(),
855 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop;
864 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop;
918 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop));
1020 int height = getHeight();
[all...]
/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/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSFragment.java109 int y = loc[1] + edit.getHeight() / 2;
304 ? translationScaleY * mHeader.getHeight()
314 + mFooter.getHeight();
332 mQsBounds.bottom = mQSPanel.getHeight();
357 getView().animate().y(-mHeader.getHeight())
399 return getView().getHeight();
418 return mHeader.getHeight();
424 getView().setY(-mHeader.getHeight());
439 getView().setY(-mHeader.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());
/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/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DBitmapUploadActivity.java75 || mBitmap.getHeight() != bitmapSize) {
83 mRect.set(0, 0, getWidth(), getHeight());
145 float height = uploadRoot.getHeight();
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraOps.java143 int leftArea = lhs.getHeight() * lhs.getWidth();
144 int rightArea = lhs.getHeight() * lhs.getWidth();
152 Log.v(TAG,"max big "+max.getWidth()+" x "+max.getHeight());
155 if (s.getHeight() == 720) {
160 Log.v(TAG,"BIG wil be "+big.getWidth()+" x "+big.getHeight());
161 mImageReader = ImageReader.newInstance(big.getWidth(), big.getHeight(),
234 "," + mImage.getHeight());
332 double aspectDelta = Math.abs(maxSize.getWidth() / maxSize.getHeight() - TARGET_ASPECT);
336 aspectDelta = Math.abs(maxSize.getWidth() / maxSize.getHeight() - TARGET_ASPECT);
339 if (aspectDelta > Math.abs(candidateSize.getWidth() / candidateSize.getHeight()
[all...]
H A DMediaStoreSaver.java124 float scaleY = height / source.getHeight();
130 source.getHeight(), matrix,
137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight());
/frameworks/rs/tests/java_api/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/emoji/core/src/androidTest/java/androidx/emoji/text/
H A DEmojiSpanTest.java72 when(metadata.getHeight()).thenReturn(dimensionY);
79 assertEquals((int) (dimensionY * expectedRatio), span.getHeight());
87 when(metadata.getHeight()).thenReturn((short) 10);
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
H A DEglWindowSurface.java109 mHeight = getHeight();
118 mHeight = getHeight();
207 public int getHeight() { method in class:EglWindowSurface
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDividerItemDecoration.java123 parent.getHeight() - parent.getPaddingBottom());
148 bottom = parent.getHeight() - parent.getPaddingBottom();
153 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/transition/src/androidTest/java/androidx/transition/
H A DChangeImageTransformTest.java97 int imageViewHeight = mImageView.getHeight();
111 int imageViewHeight = mImageView.getHeight();
125 int imageViewHeight = mImageView.getHeight();
147 int imageViewHeight = mImageView.getHeight();
169 int imageViewHeight = mImageView.getHeight();
185 int imageViewHeight = mImageView.getHeight();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DTouchUtils.java36 final int viewHeight = v.getHeight();
67 final int viewHeight = v.getHeight();
94 final int viewHeight = v.getHeight();
131 final int viewHeight = v.getHeight();
177 final int viewHeight = v.getHeight();
190 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

Completed in 434 milliseconds

1234567891011>>