/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/tests/src/com/example/android/swiperefreshmultipleviews/tests/ |
SampleTests.java | 79 Math.round(mSwipeRefreshLayout.getHeight() * 0.4f)); 102 Math.round(mSwipeRefreshLayout.getHeight() * 0.4f));
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
BitmapHelper.java | 35 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight()); 37 (int) (src.getWidth() * scaleFactor), (int) (src.getHeight() * scaleFactor), false);
|
/external/deqp/framework/common/ |
tcuBilinearImageCompare.cpp | 91 deUint32 y1 = y0+1; //de::min(y0+1, (deUint32)(access.getHeight()-1)); 94 DE_ASSERT(y1 < (deUint32)access.getHeight()); 125 const deUint32 y2 = (deUint32)de::min(y+1, reference.getHeight()-1); 180 !de::inBounds(v, 0, (reference.getHeight()-1)<<NUM_SUBPIXEL_BITS)) 201 for (int y = 0; y < reference.getHeight(); y++) 222 reference.getHeight() == result.getHeight() && 226 reference.getHeight() == errorMask.getHeight() &&
|
/external/deqp/framework/opengl/simplereference/ |
sglrContext.cpp | 38 int height = src.getHeight(); 73 int height = src.getHeight();
|
/external/deqp/modules/internal/ |
ditImageIOTests.cpp | 57 m_testCtx.getLog() << TestLog::Message << "Loaded " << texture.getWidth() << "x" << texture.getHeight() << "x" << texture.getDepth() << " image with format " << texture.getFormat() << TestLog::EndMessage; 61 TCU_CHECK(texture.getAccess().getSlicePitch() == texture.getAccess().getRowPitch()*texture.getAccess().getHeight());
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/assets/loaders/resolvers/ |
ResolutionFileResolver.java | 60 if (Gdx.graphics.getWidth() > Gdx.graphics.getHeight()) {
61 width = Gdx.graphics.getHeight();
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/etc1/ |
ETC1Compressor.java | 45 Pixmap tmp = new Pixmap(pixmap.getWidth(), pixmap.getHeight(), Format.RGB888);
46 tmp.drawPixmap(pixmap, 0, 0, 0, 0, pixmap.getWidth(), pixmap.getHeight());
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
FacedCubemapData.java | 132 public int getHeight () {
134 if (data[CubemapSide.PositiveZ.index] != null && (tmp = data[CubemapSide.PositiveZ.index].getHeight()) > height)
136 if (data[CubemapSide.NegativeZ.index] != null && (tmp = data[CubemapSide.NegativeZ.index].getHeight()) > height)
138 if (data[CubemapSide.PositiveX.index] != null && (tmp = data[CubemapSide.PositiveX.index].getHeight()) > height)
140 if (data[CubemapSide.NegativeX.index] != null && (tmp = data[CubemapSide.NegativeX.index].getHeight()) > height)
166 Pixmap tmp = new Pixmap(pixmap.getWidth(), pixmap.getHeight(), data[i].getFormat());
169 tmp.drawPixmap(pixmap, 0, 0, 0, 0, pixmap.getWidth(), pixmap.getHeight());
177 pixmap.getHeight(), 0, pixmap.getGLFormat(), pixmap.getGLType(), pixmap.getPixels());
|
/external/proguard/src/proguard/gui/splash/ |
BufferedSprite.java | 117 bufferGraphics.fillRect(0, 0, bufferImage.getWidth(null), bufferImage.getHeight(null)); 123 bufferGraphics.fillRect(0, 0, bufferImage.getWidth(null), bufferImage.getHeight(null));
|
/frameworks/base/core/java/android/transition/ |
CircularPropagation.java | 85 epicenterY = Math.round(loc[1] + (sceneRoot.getHeight() / 2) 89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
FakeShadowView.java | 64 outline.setRect(0, 0, getWidth(), mFakeShadow.getHeight()); 82 mFakeShadow.setTranslationY(shadowYEnd - mFakeShadow.getHeight());
|
/frameworks/base/rs/java/android/renderscript/ |
RSTextureView.java | 155 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight()); 180 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapsRectActivity.java | 57 final float half = mBitmap1.getHeight() / 2.0f; 72 canvas.translate(0.0f, mBitmap1.getHeight());
|
ClipOutlineActivity.java | 72 int h = getHeight() / 2; 75 mRect.offset((int) (mClipPosition * w), getHeight() / 4);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
SnackbarTestWithFAB.java | 61 assertEquals(originalFabPosition[1] - snackbar.getView().getHeight(), fabPosition[1]); 87 assertEquals(originalFabPosition[1] - snackbar.getView().getHeight(), fabPosition[1]);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
BitmapHelper.java | 37 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight()); 39 (int) (src.getWidth() * scaleFactor), (int) (src.getHeight() * scaleFactor), false);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerCachedBordersTest.java | 54 final int expectedSizeSum = vertical ? recyclerView.getWidth() : recyclerView.getHeight(); 61 childrenSizeSum += vertical ? child.getWidth() : child.getHeight();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ViewUtil.java | 66 outline.setOval(0, 0, view.getWidth(), view.getHeight()); 80 outline.setRect(0, 0, view.getWidth(), view.getHeight());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
IconUtilities.java | 64 int h = bitmap.getHeight(); 66 int fxh = fxBitmap.getHeight();
|
ImageFilterFx.java | 65 int h = bitmap.getHeight(); 88 int fxh = mFxBitmap.getHeight();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
Buffer.java | 53 && mBitmap.getHeight() == bitmap.getHeight()) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapTileProvider.java | 39 mImageHeight = bitmap.getHeight(); 43 || bitmap.getHeight() > maxBackupSize) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
BitmapDownloader.java | 295 key.getCacheKey(), key.getBitmapConfig(), bitmap.getHeight()); 301 if (currentBitmap.getWidth() >= bitmap.getWidth() && currentBitmap.getHeight() 302 >= bitmap.getHeight()) { 314 if (key.getHeight() != BitmapWorkerOptions.MAX_IMAGE_DIMENSION_PX) { 317 getBucketKey(key.getCacheKey(), key.getBitmapConfig(), key.getHeight()); 326 if (bitmap.getHeight() >= key.getHeight()) { 336 if (SIZE_BUCKET[i] >= key.getHeight()) {
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationCloning.java | 81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500); 88 0f, getHeight() - ball2.getHeight()).setDuration(500); 91 getHeight() - ball2.getHeight(), 0f).setDuration(500);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
BitmapFontAlignmentTest.java | 98 float height = logoSprite.getHeight();
112 float height = logoSprite.getHeight();
130 float height = logoSprite.getHeight();
150 float height = logoSprite.getHeight();
170 float height = logoSprite.getHeight();
188 float height = logoSprite.getHeight();
|