/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) { 139 + "x" + bitmap.getHeight() + " to frame of size " + dimensions[0] + "x" 161 (int) srcRect.top * srcImage.getHeight(), 163 (int) srcRect.bottom * srcImage.getHeight()); 165 (int) dstRect.top * srcImage.getHeight(), 167 (int) dstRect.bottom * srcImage.getHeight()); 171 Bitmap dstBitmap = Bitmap.createBitmap(dstImage.getWidth(), dstImage.getHeight(), config);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalGridView.java | 284 || mTempBitmapLow.getHeight() != getHeight()) { 285 mTempBitmapLow = Bitmap.createBitmap(mLowFadeShaderLength, getHeight(), 294 || mTempBitmapHigh.getHeight() != getHeight()) { 298 && mTempBitmapLow.getHeight() == getHeight()) { 302 mTempBitmapHigh = Bitmap.createBitmap(mHighFadeShaderLength, getHeight(), 331 highEdge - (mFadingHighEdge ? mHighFadeShaderLength : 0), getHeight()); 337 mTempRect.bottom = getHeight(); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilterTest.java | 81 bitmap.getHeight()); 87 int top = (faceRect.top+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE; 88 int bottom = (faceRect.bottom+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE; 94 } else if (top > bitmap.getHeight()) { 95 top = bitmap.getHeight(); 102 if (bottom > bitmap.getHeight()) { 103 bottom = bitmap.getHeight(); 137 if (top < bitmap.getHeight()) { 147 if (bottom < bitmap.getHeight()) { 160 outputBitmap.getWidth(), outputBitmap.getHeight()); [all...] |
/frameworks/base/libs/hwui/ |
H A D | LayerCache.cpp | 83 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(), 85 mSize -= layer->getWidth() * layer->getHeight() * 4; 111 mSize -= layer->getWidth() * layer->getHeight() * 4; 113 LAYER_LOGD("Reusing layer %dx%d", layer->getWidth(), layer->getHeight()); 144 const uint32_t size = layer->getWidth() * layer->getHeight() * 4; 158 victim->layer.getHeight());
|
H A D | Layer.cpp | 35 getWidth(), getHeight()) 105 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) { 119 uint32_t oldHeight = getHeight(); 215 ALOGD(" Allocate layer: %dx%d", getWidth(), getHeight()); 219 glTexImage2D(renderTarget, 0, GL_RGBA, getWidth(), getHeight(), 0, 229 const float height = layer.getHeight(); 263 renderer->setViewport(layer.getWidth(), layer.getHeight()); 282 renderer->setViewport(layer.getWidth(), layer.getHeight());
|
H A D | RenderBufferCache.cpp | 95 buffer->getWidth(), buffer->getHeight()); 158 buffer->getWidth(), buffer->getHeight()); 164 buffer->getWidth(), buffer->getHeight(), size, mMaxSize);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | BaselineButtonsTest.java | 74 assertEquals("Layout incorrect height", pauseHeight, mLayout.getHeight()); 75 assertEquals("Pause incorrect height", pauseHeight, mPause.getHeight()); 76 assertEquals("Prev incorrect height", prevHeight, mPrev.getHeight()); 77 assertEquals("Next incorrect height", nextHeight, mNext.getHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | AutoScrollView.java | 35 int height = getHeight();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | ExposureFilter.java | 63 inputImage.getHeight(), 66 inputImage.getHeight(), 76 underOutFrame.setValue(underExposedPixels*inputImage.getWidth()*inputImage.getHeight()); 91 overOutFrame.setValue(overExposedPixels*inputImage.getWidth()*inputImage.getHeight());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ColorFiltersActivity.java | 78 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); 81 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); 89 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); 92 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight());
|
/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 102 Size srcSize = new Size(src.getWidth(), src.getHeight()); 103 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); 142 for (int row = 0; row < effectivePlaneSize.getHeight(); row++) { 143 if (row == effectivePlaneSize.getHeight() - 1) { 225 return new Size(image.getWidth(), image.getHeight()); 227 return new Size(image.getWidth() / 2, image.getHeight() / 2); 231 return new Size(image.getWidth(), image.getHeight()); 233 return new Size(image.getWidth(), image.getHeight() / 2); 245 return new Size(image.getWidth(), image.getHeight());
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | ImageUtils.java | 63 int maxDimension = Math.max(image.getWidth(), image.getHeight()); 88 BufferedImage temp = new BufferedImage(goldenImage.getWidth(), goldenImage.getHeight(), 96 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight()); 156 goldenImage.getWidth() + "x" + goldenImage.getHeight() + 157 "vs" + image.getWidth() + "x" + image.getHeight(); 158 } else if (Math.abs(goldenImage.getHeight() - image.getHeight()) >= 2) { 160 goldenImage.getWidth() + "x" + goldenImage.getHeight() + 161 "vs" + image.getWidth() + "x" + image.getHeight(); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCacheTest.java | 59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max); 67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfShortTallShortTest.java | 42 mListView.getChildAt(1).getHeight() > mListView.getHeight());
|
H A D | ListItemFocusablesCloseTest.java | 40 mListBottom = mListView.getHeight() - mListView.getListPaddingBottom(); 57 first.getHeight() < mListView.getHeight());
|
H A D | ListOfThinItemsTest.java | 44 mListView.getSelectedView().getHeight() < mListView.getVerticalFadingEdgeLength()); 52 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom(); 88 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListTouchBottomGravityTest.java | 72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); 91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom());
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | RequestRectangleVisibleWithInternalScrollTest.java | 78 mScrollView.getHeight() 79 - mTextBlob.getHeight()
|
H A D | ScrollViewButtonsAndLabelsTest.java | 52 mScreenBottom = origin[1] + mScrollView.getHeight(); 84 int buttonBottom = buttonLoc[1] + firstButtonOffScreen.getHeight(); 103 mLinearLayout.getHeight(), lastButton.getBottom()); 114 int buttonBottom = buttonLoc[1] + lastButton.getHeight(); 180 int screenHeight = mScrollView.getHeight();
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | TallTextAboveButtonTest.java | 48 mTopText.getHeight() > mScrollView.getHeight());
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | LargeBitmap.java | 54 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight()) 67 public int getHeight() { method in class:LargeBitmap 68 checkRecycled("getHeight called on recycled large bitmap"); 75 * getWidth() or getHeight() is called.
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 122 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE); 151 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE); 183 mPixelBuffer = PixelBuffer::create(mFormat, getWidth(), getHeight()); 192 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, getWidth(), getHeight(), 0, 210 uint32_t height = dirtyRect.getHeight(); 258 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > getHeight()) { 295 if (getHeight() - glyphH >= glyphH) { 298 roundedUpW, getHeight() - glyphH - TEXTURE_BORDER_SIZE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardPreviewContainer.java | 38 canvas.clipRect(0, getHeight() - getPaddingBottom(), getWidth(), getHeight());
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | BitmapView.java | 59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight());
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
H A D | HelloComputeNDK.java | 42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(), 52 mBitmapIn.getWidth(), mBitmapIn.getHeight(),
|