/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PixelPerfectTest.java | 45 cam.setToOrtho(false, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
50 cam.setToOrtho(false, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
BaseG3dHudTest.java | 71 hudHeight = hud.getHeight();
102 rotateCheckBox.setPosition(hudWidth - rotateCheckBox.getWidth(), gridCheckBox.getHeight());
119 if (window.getHeight() > hudHeight) {
123 window.setY(y < 0 ? hudHeight - (window.getHeight() - (y + 1)) : y);
167 hudHeight = hud.getHeight();
188 if (getTapCount() == 2 && getHeight() - y <= getPadTop() && y < getHeight() && x > 0 && x < getWidth())
203 expandHeight = getHeight();
|
/external/llvm/unittests/ADT/ |
ImmutableMapTest.cpp | 25 EXPECT_EQ(0u, S.getHeight()); 47 EXPECT_EQ(3U, S2.getHeight());
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/ |
HwuiPictureView.java | 63 if (p.getWidth() > 0 && p.getHeight() > 0) { 65 Bitmap bm = Bitmap.createBitmap(p.getWidth(), p.getHeight(),
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/ |
BirdTest.java | 55 assertEquals(bird.getHome().getHeight(), parsed.getHome().getHeight());
|
/frameworks/base/core/tests/coretests/src/android/view/ |
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/ |
ListOfShortTallShortTest.java | 42 mListView.getChildAt(1).getHeight() > mListView.getHeight());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
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/ |
RequestRectangleVisibleWithInternalScrollTest.java | 78 mScrollView.getHeight() 79 - mTextBlob.getHeight()
|
ScrollViewButtonsAndLabelsTest.java | 53 mScreenBottom = origin[1] + mScrollView.getHeight(); 86 int buttonBottom = buttonLoc[1] + firstButtonOffScreen.getHeight(); 105 mLinearLayout.getHeight(), lastButton.getBottom()); 116 int buttonBottom = buttonLoc[1] + lastButton.getHeight(); 182 int screenHeight = mScrollView.getHeight();
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
TallTextAboveButtonTest.java | 48 mTopText.getHeight() > mScrollView.getHeight());
|
/frameworks/base/graphics/java/android/graphics/ |
LargeBitmap.java | 54 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight()) 67 public int getHeight() { 68 checkRecycled("getHeight called on recycled large bitmap"); 75 * getWidth() or getHeight() is called.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardPreviewContainer.java | 38 canvas.clipRect(0, getHeight() - getPaddingBottom(), getWidth(), getHeight());
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
BitmapView.java | 59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight());
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
HelloComputeNDK.java | 41 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(), 51 mBitmapIn.getWidth(), mBitmapIn.getHeight(),
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
ForwardingImageReader.java | 38 public int getHeight() { 39 return mDelegate.getHeight();
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
BitmapUtility.java | 44 int h = img.getHeight(); 65 Bitmap b2 = Bitmap.createBitmap(b, 0, 0,b.getWidth(),b.getHeight(), mat, true);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 39 mHeight = mBitmap.getHeight(); 100 mHeight = mBitmap.getHeight();
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetImageView.java | 78 mDstRectF.set(0, 0, getWidth(), scale * mBitmap.getHeight()); 84 mBitmap.getHeight());
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/ |
LogoUtilsTest.java | 49 assertEquals(15, newBitmap.getHeight()); 63 assertEquals(8, newBitmap.getHeight()); 75 assertEquals(8, newBitmap.getHeight()); 85 assertEquals(32, newBitmap.getHeight()); 93 assertEquals(10, newBitmap.getHeight()); 139 assertEquals(b1.getHeight(), b2.getHeight()); 141 for (int y = 0; y < b1.getHeight(); y++) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/ |
ConfirmationViewHandler.java | 183 Log.d(TAG, " contentHeight: " + mContent.getHeight()); 192 if (mContent.getPaddingBottom() != mButtonBarContainer.getHeight()) { 194 mContent.getPaddingRight(), mButtonBarContainer.getHeight()); 196 Log.d(TAG, " set mContent.PaddingBottom: " + mButtonBarContainer.getHeight()); 200 mButtonBarContainer.setTranslationY(mButtonBarContainer.getHeight()); 264 final int screenHeight = mRoot.getHeight(); 266 final int buttonBarHeight = mButtonBarContainer.getHeight(); 267 final int contentHeight = mContent.getHeight() - buttonBarHeight; 299 final int contentHeight = mContent.getHeight() + topMargin; 300 final int screenHeight = mRoot.getHeight(); [all...] |
/frameworks/support/percent/tests/java/android/support/percent/ |
PercentRelativeTest.java | 72 mContainerHeight = mPercentRelativeLayout.getHeight(); 80 final int childHeight = childToTest.getHeight(); 101 final int childHeight = childToTest.getHeight(); 122 final int childHeight = childToTest.getHeight(); 143 final int childHeight = childToTest.getHeight();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlideshowView.java | 69 mCurrentTexture.getWidth(), mCurrentTexture.getHeight(), 73 mCurrentTexture.getHeight(), mCurrentTexture.getWidth(), 105 -mPrevTexture.getHeight() / 2); 115 -mCurrentTexture.getHeight() / 2); 140 int viewHeight = getHeight();
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 195 mBitmapDisplayed.getBitmap().getHeight()); 205 int viewHeight = getHeight(); 211 deltaY = getHeight() - rect.bottom; 261 float viewHeight = getHeight(); 264 float h = bitmap.getHeight(); 302 float fh = (float) mBitmapDisplayed.getHeight() / (float) mThisHeight; 342 float cy = getHeight() / 2F; 349 float cy = getHeight() / 2F; 372 float cy = getHeight() / 2F; 384 float cy = getHeight() / 2F [all...] |
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 122 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE); 151 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE); 180 mPixelBuffer = PixelBuffer::create(mFormat, getWidth(), getHeight()); 194 uint32_t height = dirtyRect.getHeight(); 242 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > getHeight()) { 279 if (getHeight() - glyphH >= glyphH) { 282 roundedUpW, getHeight() - glyphH - TEXTURE_BORDER_SIZE);
|