/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | MultiLayersActivity.java | 71 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
|
H A D | PathOpsActivity.java | 80 canvas.translate(mSize * 0.2f, getHeight() / 2.0f);
|
H A D | PosTextActivity.java | 62 canvas.drawLine(100.0f, 0.0f, 100.0f, getHeight(), mLargePaint);
|
H A D | ProjectionActivity.java | 67 final int h = getHeight();
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | TextViewWithCircularIndicator.java | 73 final int height = getHeight();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 71 mTmpRect.set(0, 0, childView.getWidth(), childView.getHeight());
|
H A D | ItemAlignmentFacetHelper.java | 75 alignPos += ((view == itemView ? p.getOpticalHeight(view) : view.getHeight())
|
H A D | StreamingTextView.java | 101 (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 D | RadioMetadata.java | 309 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 D | Touch.java | 48 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 D | Explode.java | 63 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 D | android_view_GraphicBuffer.cpp | 168 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 D | PdfRenderer.java | 306 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 D | BitmapTest.java | 47 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 D | UploadedTexture.java | 138 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 D | ViewAsserts.java | 50 y <= view.getRootView().getHeight()); 69 + origin.getHeight() + ")", 70 y > origin.getHeight());
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequenceDrawable.java | 201 || bitmap.getHeight() < minHeight 219 final int height = frameSequence.getHeight(); 424 return mFrameSequence.getHeight();
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 325 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 D | StreamConfigurationMap.java | 147 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 D | SlidingDrawer.java | 369 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 D | ActionBarOverlayLayout.java | 136 .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 D | RotarySelector.java | 205 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 D | ExpandHelper.java | 144 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 D | CameraOps.java | 142 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 D | CollapsingToolbarLayout.java | 400 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(
|