/frameworks/base/services/java/com/android/server/display/ |
OverlayDisplayWindow.java | 64 private final int mHeight; 101 mHeight = height; 108 mName, mWidth, mHeight, mDensityDpi); 192 mTextureView.getLayoutParams().height = mHeight; 234 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalHeight / mHeight); 239 int height = (int)(mHeight * scale);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
DisplaySourceService.java | 175 private final int mHeight; 182 mHeight = height; 188 MediaFormat format = MediaFormat.createVideoFormat("video/avc", mWidth, mHeight); 201 DISPLAY_NAME, mWidth, mHeight, mDensityDpi, surface, 0);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 62 private int mHeight = 480; 169 yuvBuilder.setY(mHeight); 176 mBitmap = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888); 219 mWidth, mHeight
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
RsBenchRS.java | 47 int mHeight; 61 mHeight = height;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
UriImage.java | 56 private int mHeight; 178 mHeight = decoder.getHeight(); 253 if (mWidth != 0 && mHeight != 0) { 255 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorHueView.java | 45 private float mHeight; 161 mHeight = h; 162 mDotY = mHeight / 2; 175 mRect.bottom = mHeight;
|
ColorOpacityView.java | 47 private float mHeight; 149 mHeight = h; 150 mDotY = mHeight / 2; 170 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mCheckPaint); 171 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mBarPaint1);
|
ColorRectView.java | 63 private int mHeight; 101 y = Math.max(Math.min(y, mHeight - mBorder), mBorder); 104 float sat = 1 - (mDotY - mBorder) / (mHeight - 2 * mBorder); 109 double hue = Math.PI * 2 * (mDotX - mBorder) / (mHeight - 2 * mBorder); 123 mHeight = h; 152 0, mBorder, 0, mHeight - mBorder, colors, null, Shader.TileMode.CLAMP); 155 0, mBorder, 0, mHeight - mBorder, colors2, null, Shader.TileMode.CLAMP); 167 rect.bottom = mHeight - mBorder; 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2)); 185 mDotY = (float) ((1 - sat) * (mHeight - 2 * mBorder) + mBorder) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectPickerAdapter.java | 247 private int mHeight; 259 mHeight = height; 277 mHeight, 280 final Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, 288 (mHeight - previewBitmap.getHeight()) / 2, 303 result = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
MovieMediaItem.java | 44 private final int mHeight; 105 mHeight = mediaItem.getHeight(); 354 return mHeight;
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoCarousel.java | 59 private int mHeight; 212 if (width < mWidth && height < mHeight) { 279 mHeight = bottom - top; 282 mOrientation = (mWidth > mHeight ? LANDSCAPE : PORTRAIT); 284 mLongSide = (int) Math.max(mWidth, mHeight); 285 mShortSide = (int) Math.min(mWidth, mHeight);
|
/cts/tests/src/android/opengl/cts/ |
CompressedTextureLoader.java | 53 mHeight = height; 69 public int getHeight() { return mHeight; } 90 private int mHeight; 125 int mHeight; // height of surface to be created 155 header.mHeight = headerBuffer.getInt(); 253 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3; 255 Texture tex = new Texture(header.mWidth, header.mHeight, 319 int mHeight; 364 header.mHeight = headerBuffer.getInt(); 428 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3 [all...] |
CompressedTextureSurfaceView.java | 136 int mHeight; 256 GLES20.glViewport(0, 0, mWidth, mHeight); 267 mHeight = height;
|
/cts/tests/tests/media/src/android/media/cts/ |
PresentationSyncTest.java | 49 private int mHeight; 91 mHeight = output.getHeight(); 92 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); 212 mHeight = output.getHeight(); 213 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); 387 startY = (num / 16) * (mHeight / 4); 399 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); 417 mHeight = height;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 193 mLabels.beginDrawing(gl, mWidth, mHeight); 219 mNumericSprite.draw(gl, x, 0, mWidth, mHeight); 242 mHeight = h; 260 private int mHeight;
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
OverlayDisplayWindow.java | 58 protected final int mHeight; 67 mHeight = height; 140 if (mWidth > mHeight) { 141 height = mHeight * width / mWidth; 143 width = mWidth * height / mHeight; 251 if (mWidth * height < mHeight * width) { 255 mTextureView.getLayoutParams().width = mHeight * width / height; 256 mTextureView.getLayoutParams().height = mHeight; 290 mTextureView.getLayoutParams().height = mHeight; 332 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); [all...] |
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
VideoCapture.java | 30 public int mHeight = 0; 178 mCurrentCapability.mHeight = matchedHeight; 240 return mCurrentCapability.mHeight;
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameRenderer.java | 40 private int mHeight; 68 mHeight = gameHeight; 204 DrawableBitmap.beginDrawing(gl, mWidth, mHeight); 270 //mHeight = h; 273 float scaleY = (float)h / mHeight; 275 final int viewportHeight = (int)(mHeight * scaleY); 286 float ratio = (float) mWidth / mHeight;
|
TiledVertexGrid.java | 29 private int mHeight; 45 mHeight = height; 190 final int vertTileCount = (int)Math.ceil((float)mHeight / mTileHeight);
|
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 79 private int mHeight; 162 mHeight = height;
|
/frameworks/base/libs/hwui/ |
OpenGLRenderer.h | [all...] |
/frameworks/base/media/java/android/media/ |
ImageReader.java | 106 mHeight = height; 154 return mHeight; 511 private final int mHeight; 583 return ImageReader.this.mHeight;
|
MediaScanner.java | 440 private int mHeight; 511 mHeight = 0; 647 mHeight = parseSubstring(value, 0, 0); 739 mHeight = mBitmapOptions.outHeight; 774 if (mWidth > 0 && mHeight > 0) { 776 map.put(MediaStore.MediaColumns.HEIGHT, mHeight); 777 resolution = mWidth + "x" + mHeight; [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaItem.java | 756 int mHeight = 64; 773 while(tmp < mHeight) {
|
MediaVideoItem.java | 40 private final int mHeight; 169 mHeight = properties.height; 446 return mHeight; 461 return mHeight; 512 mFilename,timeMs,mWidth,mHeight);
|