/frameworks/base/core/java/com/android/internal/util/ |
ImageUtils.java | 133 int originalHeight = drawable.getIntrinsicHeight(); 135 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && 139 if (originalHeight <= 0 || originalWidth <= 0) { 146 (float) maxHeight / (float) originalHeight); 149 int scaledHeight = (int) (ratio * originalHeight);
|
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/ |
NDKHelper.java | 127 int originalHeight = getBitmapHeight(bitmap); 129 int height = nextPOT(originalHeight); 130 if (originalWidth != width || originalHeight != height)
|
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/ |
NDKHelper.java | 127 int originalHeight = getBitmapHeight(bitmap); 129 int height = nextPOT(originalHeight); 130 if (originalWidth != width || originalHeight != height)
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
TextureDownloadTest.java | 75 final int originalHeight = pixmap.getHeight();
84 image = new TextureRegion(new Texture(potPixmap), 0, 0, originalWidth, originalHeight);
|
TextureAtlasTest.java | 60 System.out.println("badlogicSmall original size: " + region.originalWidth + ", " + region.originalHeight);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
TextureAtlas.java | 88 public int originalHeight;
173 region.originalHeight = Integer.parseInt(tuple[1]);
265 atlasRegion.originalHeight = region.originalHeight;
281 region.originalHeight = height;
379 if (region.packedWidth == region.originalWidth && region.packedHeight == region.originalHeight) {
485 public int originalHeight;
499 originalHeight = height;
513 originalHeight = region.originalHeight;
[all...] |
BitmapFont.java | 685 offsetY = atlasRegion.originalHeight - atlasRegion.packedHeight - atlasRegion.offsetY; [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
TexturePacker.java | 342 writer.write(" orig: " + rect.originalWidth + ", " + rect.originalHeight + "\n");
343 writer.write(" offset: " + rect.offsetX + ", " + (rect.originalHeight - rect.regionHeight - rect.offsetY) + "\n");
384 public int offsetX, offsetY, originalWidth, originalHeight;
394 originalHeight = rect.originalHeight;
405 rect.originalHeight = originalHeight;
416 public int offsetX, offsetY, regionWidth, regionHeight, originalWidth, originalHeight;
439 originalHeight = source.getHeight();
484 originalHeight = rect.originalHeight; [all...] |
ImageProcessor.java | 159 int originalWidth = width, originalHeight = height;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskCompressImageToJpeg.java | 429 * @param originalHeight the height of the original image captured from the 434 private Size getImageSizeForOrientation(int originalWidth, int originalHeight, 438 return new Size(originalWidth, originalHeight); 441 return new Size(originalHeight, originalWidth); 444 return new Size(originalWidth, originalHeight);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 228 final int originalHeight; 234 originalHeight = displayContent.mBaseDisplayHeight; 238 originalHeight = displayInfo.logicalHeight; 242 mWidth = originalHeight; 246 mHeight = originalHeight; 251 mOriginalHeight = originalHeight; [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
DrawableDownloader.java | 85 public BitmapItem(int originalWidth, int originalHeight) { 87 mOriginalHeight = originalHeight;
|
/external/clang/www/analyzer/scripts/ |
expandcollapse.js | 57 var originalHeight = expandableDiv.offsetHeight; 111 CellsInfo[groupCount][cellCount] = { 'height' : originalHeight,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 374 float originalHeight, float viewWidth, float viewHeight) { 381 (int) originalHeight, (int) viewWidth, (int) viewHeight);
|
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTestBase.java | [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraZslImpl.java | [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Utils.java | 667 double originalHeight = originalBitmap.getHeight(); 673 scaleY = newHeight / originalHeight; 676 newHeight = (int)Math.round(originalHeight * scale); [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PhotoModule.java | 828 int originalHeight = original.getHeight(); 832 if (originalWidth > originalHeight) { 836 newWidth = (int) (originalHeight / targetAspectRatio); 837 newHeight = originalHeight; 840 int yOffset = (originalHeight - newHeight)/2; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 682 int originalHeight = mTextView.getHeight(); 684 setMaxHeight(originalHeight + 1); 685 assertEquals(originalHeight, mTextView.getHeight()); 687 setMaxHeight(originalHeight - 1); 688 assertEquals(originalHeight - 1, mTextView.getHeight()); 694 assertEquals(originalHeight, mTextView.getHeight()); 696 setMinHeight(originalHeight + 1); 697 assertEquals(originalHeight + 1, mTextView.getHeight()); 699 setMinHeight(originalHeight - 1); 700 assertEquals(originalHeight, mTextView.getHeight()) [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
CallCardFragment.java | [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Skin.java | 265 if (region.rotate || region.packedWidth != region.originalWidth || region.packedHeight != region.originalHeight)
289 else if (region.rotate || region.packedWidth != region.originalWidth || region.packedHeight != region.originalHeight)
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteControllerDialog.java | [all...] |
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/media/ |
MochiKit.packed.js | [all...] |
/prebuilts/sdk/current/support/v7/mediarouter/libs/ |
android-support-v7-mediarouter.jar | |
/prebuilts/tools/common/m2/repository/xhtmlrenderer/xhtmlrenderer/R8rc1/ |
xhtmlrenderer-R8rc1.jar | |