Searched refs:getHeight (Results 201 - 225 of 602) sorted by relevance

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiLayersActivity.java71 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
H A DPathOpsActivity.java80 canvas.translate(mSize * 0.2f, getHeight() / 2.0f);
H A DPosTextActivity.java62 canvas.drawLine(100.0f, 0.0f, 100.0f, getHeight(), mLargePaint);
H A DProjectionActivity.java67 final int h = getHeight();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java73 final int height = getHeight();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalHoverCardSwitcher.java71 mTmpRect.set(0, 0, childView.getWidth(), childView.getHeight());
H A DItemAlignmentFacetHelper.java75 alignPos += ((view == itemView ? p.getOpticalHeight(view) : view.getHeight())
H A DStreamingTextView.java101 (int) (bitmap.getHeight() * scaled), false);
270 canvas.drawBitmap(mTwoDot, dotLeft, y - mTwoDot.getHeight(), paint);
272 canvas.drawBitmap(mOneDot, dotLeft, y - mOneDot.getHeight(), paint);
/frameworks/base/core/java/android/hardware/radio/
H A DRadioMetadata.java309 if (bmp.getHeight() > maxBitmapSize || bmp.getWidth() > maxBitmapSize) {
403 float heightScale = maxSizeF / bmp.getHeight();
405 int height = (int) (bmp.getHeight() * scale);
/frameworks/base/core/java/android/text/method/
H A DTouch.java48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding);
169 ny = Math.min(ny, layout.getHeight() - (widget.getHeight() - padding));
/frameworks/base/core/java/android/transition/
H A DExplode.java63 int bottom = top + view.getHeight();
136 focalY = sceneRootY + (sceneRoot.getHeight() / 2)
166 int maxY = Math.max(focalY, sceneRoot.getHeight() - focalY);
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp168 rect.set(Rect(buffer->getWidth(), buffer->getHeight()));
183 bitmap.setInfo(SkImageInfo::Make(buffer->getWidth(), buffer->getHeight(),
188 if (buffer->getWidth() > 0 && buffer->getHeight() > 0) {
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfRenderer.java306 public int getHeight() { method in class:PdfRenderer.Page
357 || destClip.bottom > destination.getHeight()) {
379 : destination.getHeight();
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java47 assertEquals("height", 200, bm1.getHeight());
48 assertEquals("height", 200, bm2.getHeight());
49 assertEquals("height", 200, bm3.getHeight());
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java138 int h = mBitmap.getHeight() + mBorder * 2;
159 public int getHeight() { method in class:UploadedTexture
216 int bHeight = bitmap.getHeight();
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java50 y <= view.getRootView().getHeight());
69 + origin.getHeight() + ")",
70 y > origin.getHeight());
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java201 || bitmap.getHeight() < minHeight
219 final int height = frameSequence.getHeight();
424 return mFrameSequence.getHeight();
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestThreadManager.java325 mIntermediateBufferSize.getHeight());
446 long largestOutputArea = largestOutput.getHeight() * (long) largestOutput.getWidth();
449 long currArea = s.getWidth() * s.getHeight();
450 long bestArea = bestPreviewDimen.getWidth() * bestPreviewDimen.getHeight();
459 mIntermediateBufferSize.getHeight());
480 smallestSupportedJpegSize.getWidth(), smallestSupportedJpegSize.getHeight());
580 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ?
581 jpegSize.getHeight() : maxConfiguredJpegHeight;
595 supportedJpegSize.getHeight() >= maxConfiguredJpegHeight) {
624 float aAspect = a.getWidth() / (float) a.getHeight();
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java147 configurationDuration.getHeight() == config.getSize().getHeight()) {
1301 d.getHeight() == config.getSize().getHeight()) {
1364 configurationDuration.getHeight() == size.getHeight()) {
1490 "stall:%d], ", size.getWidth(), size.getHeight(), formatToString(format),
1511 "stall:%d], ", size.getWidth(), size.getHeight(), formatToString(format),
1529 size.getHeight(), formatToString(format), format));
1568 size.getHeight(), rang
[all...]
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java369 mHandleHeight = handle.getHeight();
535 (position > (mVertical ? getHeight() : getWidth()) / 2 &&
569 (mVertical ? getHeight() - mHandleHeight : getWidth() - mHandleWidth);
615 frame.bottom - deltaY + mContent.getHeight());
645 frame.right - deltaX + mContent.getWidth(), getHeight());
703 if (mAnimationPosition >= mBottomOffset + (mVertical ? getHeight() : getWidth()) - 1) {
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java136 .translationY(-mActionBarTop.getHeight())
140 .translationY(mActionBarBottom.getHeight())
544 if (mHideOnContentScrollReference <= mActionBarTop.getHeight()) {
612 final int topHeight = mActionBarTop.getHeight();
618 final int bOffset = (int) (mActionBarBottom.getHeight() * fOffset);
657 return finalY > mActionBarTop.getHeight();
H A DRotarySelector.java205 mBackgroundHeight = mBackground.getHeight();
282 final int arrowH = mArrowShortLeftAndRight.getHeight();
307 canvas.drawRect(0, 0, width, getHeight(), mPaint);
310 final int height = getHeight();
508 final int height = getHeight();
698 int h = d.getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java144 public float getHeight() { method in class:ExpandHelper.ViewScaler
235 if (DEBUG) Log.d(TAG, " inside (" + v.getWidth() + ", " + v.getHeight() + ")");
236 boolean inside = (x > 0f && y > 0f && x < v.getWidth() & y < v.getHeight());
510 mOldHeight = mScaler.getHeight();
529 float currentHeight = mScaler.getHeight();
531 float h = mScaler.getHeight();
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraOps.java142 int leftArea = lhs.getHeight() * lhs.getWidth();
143 int rightArea = lhs.getHeight() * lhs.getWidth();
147 mImageReader = ImageReader.newInstance(largest.getWidth(), largest.getHeight(),
297 float outputAspect = (float) outputSize.getWidth() / outputSize.getHeight();
300 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight();
494 Log.v(TAG, " Target " + mImageReader.getWidth() + "," + mImageReader.getHeight());
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingToolbarLayout.java400 setMinimumHeight(mToolbar.getHeight());
534 drawable.setBounds(0, 0, getWidth(), getHeight());
868 if (getHeight() - insetTop + verticalOffset >= child.getHeight()) {
881 if (getHeight() + verticalOffset < getScrimTriggerOffset() + insetTop) {
893 final int expandRange = getHeight() - ViewCompat.getMinimumHeight(

Completed in 531 milliseconds

1234567891011>>