/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 151 public float getHeight() { method in class:ExpandHelper.ViewScaler 243 if (DEBUG) Log.d(TAG, " inside (" + v.getWidth() + ", " + v.getHeight() + ")"); 244 boolean inside = (x > 0f && y > 0f && x < v.getWidth() & y < v.getHeight()); 524 mOldHeight = mScaler.getHeight(); 562 float currentHeight = mScaler.getHeight();
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | PinnedStackController.java | 202 dpToPx(screenEdgeInsetsDp.getHeight(), mTmpMetrics)); 252 final int top = (int) (stackBounds.centerY() - size.getHeight() / 2f); 253 stackBounds.set(left, top, left + size.getWidth(), top + size.getHeight()); 299 defaultBounds.set(0, 0, size.getWidth(), size.getHeight()); 303 Gravity.apply(mDefaultStackGravity, size.getWidth(), size.getHeight(), insetBounds,
|
H A D | TaskSnapshotController.java | 188 if (buffer.getWidth() == 0 || buffer.getHeight() == 0) { 191 + buffer.getHeight()); 271 if (buffer == null || buffer.getWidth() <= 1 || buffer.getHeight() <= 1) {
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
H A D | IconCompat.java | 515 dr.setBounds(0, 0, icon.getWidth(), icon.getHeight()); 528 int h = icon.getHeight(); 584 .append(((Bitmap) mObj1).getHeight()); 791 adaptiveIconBitmap.getHeight())); 819 -(adaptiveIconBitmap.getHeight() - size) / 2);
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
H A D | AppCompatBaseAutoSizeTest.java | 367 autoSizeView.setHeight(autoSizeView.getHeight() / 4); 407 drawable.setBounds(0, 0, autoSizeView.getWidth() / 3, autoSizeView.getHeight() / 3); 429 autoSizeView.getHeight() / 3); 455 autoSizeView.setHeight(autoSizeView.getHeight() * 2); 463 drawable.setBounds(0, 0, autoSizeView.getWidth() / 4, autoSizeView.getHeight() / 4); 495 autoSizeView.getWidth() / 3, autoSizeView.getHeight() / 3, 496 autoSizeView.getWidth() / 3, autoSizeView.getHeight() / 3); 517 autoSizeView.getWidth() / 3, autoSizeView.getHeight() / 3, 518 autoSizeView.getWidth() / 3, autoSizeView.getHeight() / 3); 631 autoSizeView.setMaxHeight(autoSizeView.getHeight() / [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | LinearLayoutManagerTest.java | 104 int height = recyclerView.getHeight(); 242 holder.itemView.setMinimumHeight((mAttachedRv.getHeight() 243 + mAttachedRv.getHeight() / (2 * visibleChildCount)) / visibleChildCount); 328 holder.itemView.setMinimumHeight((mAttachedRv.getHeight() 329 + mAttachedRv.getHeight() / (2 * visibleChildCount)) / visibleChildCount); 590 holder.itemView.setMinimumHeight((mAttachedRv.getHeight() 591 + mAttachedRv.getHeight() / (2 * visibleChildCount)) / visibleChildCount); 730 maxSize = mRecyclerView.getHeight(); 828 maxSize = mRecyclerView.getHeight(); 1074 layoutParams.height = mRecyclerView.getHeight() / [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 682 if((mCurrentDimX != b.getWidth()) || (mCurrentDimY != b.getHeight())) { 994 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888); 1708 Bitmap newBitmap = Bitmap.createBitmap(data.getWidth(), data.getHeight(), Bitmap.Config.ARGB_8888); 1715 validate2DRange(xoff, yoff, data.getWidth(), data.getHeight()); 2775 tb.setY(b.getHeight()); 2805 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888); 3090 int height = b.getHeight(); 3165 int height = xpos.getHeight(); 3167 xneg.getWidth() != height || xneg.getHeight() != height || 3168 ypos.getWidth() != height || ypos.getHeight() ! [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | WindowDecorActionBar.java | 645 public int getHeight() { method in class:WindowDecorActionBar 646 return mContainerView.getHeight(); 770 float startingY = -mContainerView.getHeight(); 786 mSplitView.setTranslationY(mSplitView.getHeight()); 831 float endingY = -mContainerView.getHeight(); 847 mSplitView.getHeight())); 861 final int height = getHeight();
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 263 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); 597 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight()); 662 int height = slider.tab.getHeight(); 663 int viewHeight = getHeight(); 717 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight() 728 // onLayout(true, getLeft(), getTop(), getLeft() + getWidth(), getTop() + getHeight()); 748 int deltaY = (int) y - handle.getTop() - (handle.getHeight() / 2);
|
H A D | AutoScrollHelper.java | 469 VERTICAL, event.getY(), v.getHeight(), mTarget.getHeight()); 907 if (lastView.getBottom() <= target.getHeight()) {
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 88 float bottom = top + image.getHeight(); 91 0, 0, image.getWidth(), image.getHeight(), 139 final int h = canvasDelegate.mBitmap.getImage().getHeight(); 349 Math.max(strokeWidth, bounds.getHeight())); 390 image.getHeight(), (int) dstLeft, (int) dstTop, (int) dstRight, 691 int h = image.getHeight(); 701 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
|
H A D | RoundRectangle.java | 118 public double getHeight() { method in class:RoundRectangle 149 double y1 = y0 + getHeight(); 216 double y1 = y0 + getHeight();
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioMetadata.java | 483 if (bmp.getHeight() > maxBitmapSize || bmp.getWidth() > maxBitmapSize) { 594 float heightScale = maxSizeF / bmp.getHeight(); 596 int height = (int) (bmp.getHeight() * scale);
|
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 255 * Must be within the [0, bitmap.getHeight()) range. 415 if (scaledWidth == bitmap.getWidth() && scaledHeight == bitmap.getHeight()) { 419 Rect src = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); 509 if (hotSpotY < 0 || hotSpotY >= bitmap.getHeight()) {
|
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 285 * found using {@link Image#getHeight}.</p> 289 public int getHeight() { method in class:ImageReader 846 public int getHeight() { method in class:ImageReader.SurfaceImage 853 height = ImageReader.this.getHeight();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 332 canvas.drawCircle(mUserIcon.getWidth() * 0.5f, mUserIcon.getHeight() * 0.5f, 347 final float badgeTop = mBitmap.getHeight() - badgeDiameter; 393 final float iconCY = mUserIcon.getHeight() * 0.5f;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ScrimView.java | 163 if (mExcludedRect.bottom < getHeight()) { 165 canvas.clipRect(0, mExcludedRect.bottom, getWidth(), getHeight()); 334 int bottom = Math.min(area.bottom, getHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBouncer.java | 212 if (mKeyguardView.getHeight() != 0 && mKeyguardView.getHeight() != mStatusBarHeight) { 354 mKeyguardView.setTranslationY(fraction * mKeyguardView.getHeight());
|
H A D | StatusIconContainer.java | 105 float midY = getHeight() / 2.0f; 130 canvas.drawRect(getPaddingStart(), 0, getWidth() - getPaddingEnd(), getHeight(), paint); 135 mUnderflowStart, 0, mUnderflowStart + mUnderflowWidth, getHeight(), paint);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | RenderingJitter.java | 138 getHeight() - mGraphScale * (jitterUs / 1000.0f); 140 getHeight() - mGraphScale * (jitterUsAvg / 1000.0f); 151 int h = getHeight();
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGLToGL_test.cpp | 58 ASSERT_EQ(texWidth, buf->getHeight()); 62 ASSERT_EQ(texHeight, buf->getHeight()); 77 ASSERT_EQ(texHeight, buf->getHeight());
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MainActivity.java | 96 int sh = mImgView.getHeight(); 197 int sh = mImgView.getHeight(); 256 mDisplayedImage.getHeight());
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MainActivity.java | 96 int sh = mImgView.getHeight(); 197 int sh = mImgView.getHeight(); 256 mDisplayedImage.getHeight());
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/drawable/ |
H A D | IconCompatTest.java | 65 assertEquals(size, bitmap.getHeight()); 66 assertEquals(bitmap.getWidth(), bitmap.getHeight()); 81 int h = bitmap.getHeight();
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 697 if (bmp.getHeight() > maxBitmapSize || bmp.getWidth() > maxBitmapSize) { 879 float heightScale = maxSizeF / bmp.getHeight(); 881 int height = (int) (bmp.getHeight() * scale);
|