/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 105 int height = getHeight(); 110 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT; 116 if (width == 0 && height == 0 && !isFullyWrapContent) { 143 // Calculate the max image width / height to use while ignoring WRAP_CONTENT dimens. 145 int maxHeight = wrapHeight ? 0 : height;
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 139 size.height = -1; 190 mVideoSize.height = -1; 232 * Check to see whether the requested video width and height is one 235 * @param height the video frame height in pixels 237 * @return true if the dimension (width and height) is supported. 240 int32_t width, int32_t height, 246 height == supportedSizes[i].height) { 303 * (width and height) an 239 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument 316 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument 392 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 61 int32_t height, 68 mHeight(height), 354 struct android_ycbcr *ycbcr, int32_t width, int32_t height) { 361 for (size_t y = height; y > 0; --y) { 368 for (size_t y = height >> 1; y > 0; --y) { 378 for (size_t y = height >> 1; y > 0; --y) { 395 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) { 397 int32_t outYsize = width * height; 408 for (int32_t i = height >> 1; i > 0; --i) { 426 const uint8_t *src, size_t width, size_t height, size_ 54 SoftVideoEncoderOMXComponent( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const CodecProfileLevel *profileLevels, size_t numProfileLevels, int32_t width, int32_t height, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument 352 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument 394 ConvertYUV420SemiPlanarToYUV420Planar( const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) argument 424 ConvertRGB32ToPlanar( uint8_t *dstY, size_t dstStride, size_t dstVStride, const uint8_t *src, size_t width, size_t height, size_t srcStride, bool bgr) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | MultiPaneChallengeLayout.java | 188 private int getVirtualHeight(LayoutParams lp, int height, int heightUsed) { argument 189 int virtualHeight = height; 202 return height; 204 return Math.min(virtualHeight - heightUsed, height); 216 final int height = MeasureSpec.getSize(heightSpec); 217 setMeasuredDimension(width, height); 219 final int insetHeight = height - mInsets.top - mInsets.bottom; 338 final int height = b - t; 339 final int insetHeight = height - mInsets.top - mInsets.bottom; 356 child.layout(0, 0, width, height); 367 layoutWithGravity(int width, int height, View child, Rect padding, boolean adjustPadding) argument 553 LayoutParams(int width, int height) argument [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height()); 194 mActiveArray.height() / mCurrentZoomRatio, 0, mActiveArray.height())); 196 (mActiveArray.height() - mCropRectangle.height()) / 2); 237 return (mExifThumbnailSize.width() == 0 && mExifThumbnailSize.height() == 0) || 240 mExifThumbnailSize.height() == defaultThumbnailSize.getHeight()); 284 mExifThumbnailSize.width(), mExifThumbnailSize.height())); 310 mCropRectangle.height() * oldTop, 0, mCropRectangle.height() [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 186 int height = icon.getIntrinsicHeight(); 190 height *= scale; 192 if (height > mMaxIconSize) { 193 final float scale = (float) mMaxIconSize / height; 194 height = mMaxIconSize; 197 icon.setBounds(0, 0, width, height); 266 final int height = getHeight(); 267 final int midy = screenPos[1] + height / 2; 274 if (midy < displayFrame.height()) { 276 cheatSheet.setGravity(Gravity.TOP | Gravity.END, referenceX, height); [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | OverlayDisplayWindow.java | 96 int width, int height, int densityDpi, int gravity, boolean secure, 101 mHeight = height; 192 mTextureView.getLayoutParams().height = mHeight; 239 int height = (int)(mHeight * scale); 241 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale); 243 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height)); 249 + ", width=" + width + ", height=" + height); 258 mWindowParams.height = height; 95 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, boolean secure, Listener listener) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ActionMenuItemView.java | 190 int height = icon.getIntrinsicHeight(); 194 height *= scale; 196 if (height > mMaxIconSize) { 197 final float scale = (float) mMaxIconSize / height; 198 height = mMaxIconSize; 201 icon.setBounds(0, 0, width, height); 249 final int height = getHeight(); 250 final int midy = screenPos[1] + height / 2; 257 if (midy < displayFrame.height()) { 259 cheatSheet.setGravity(Gravity.TOP | GravityCompat.END, referenceX, height); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 346 public void setSize(int width, int height) { argument 348 mHeight = height; 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 355 mScreenHeight = height; 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 486 public void drawRect(float x, float y, float width, float height, GLPaint paint) { argument 487 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint); 491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument 493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); 496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument 554 draw(ShaderParameter[] params, int type, int count, float x, float y, float width, float height) argument 566 setMatrix(ShaderParameter[] params, float x, float y, float width, float height) argument 575 fillRect(float x, float y, float width, float height, int color) argument 582 drawTexture(BasicTexture texture, int x, int y, int width, int height) argument 993 getBounds(Rect bounds, int x, int y, int width, int height) argument [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.h | 51 void setScreenSize(uint32_t width, uint32_t height) { argument 53 mScreenHeight = height; 104 // Returns the font's glyph height. This is the full pixel height of the
|
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 43 fprintf(stderr, " -t height in pixels (default: 144)\n"); 55 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 57 mHeight(height), 61 mSize((width * height * 3) / 2) { 162 int height = 144; local 218 height = atoi(optarg); 269 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 284 enc_meta->setInt32(kKeyHeight, height); 288 enc_meta->setInt32(kKeySliceHeight, height);
|
/frameworks/av/media/libstagefright/include/ |
H A D | avc_utils.h | 42 int32_t *width, int32_t *height, 67 const uint8_t *data, size_t size, int32_t *width, int32_t *height);
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityContainer.aidl | 29 void setSurface(in Surface surface, int width, int height, int density);
|
H A D | IUiAutomationConnection.aidl | 40 Bitmap takeScreenshot(int width, int height);
|
H A D | IWallpaperManager.aidl | 62 * minimum width and height for the wallpaper. 64 void setDimensionHints(in int width, in int height); 72 * Returns the desired minimum height for the wallpaper.
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableHighSpeedVideoConfiguration.java | 32 * <p>Data is stored as {@code (width, height, fpsMin, fpsMax)} tuples (int32).</p> 57 int height = buffer.getInt(); 61 return new HighSpeedVideoConfiguration(width, height, fpsMin, fpsMax);
|
H A D | MarshalQueryableSize.java | 48 int height = buffer.getInt(); 50 return new Size(width, height);
|
H A D | MarshalQueryableSizeF.java | 50 float height = buffer.getFloat(); 52 return new SizeF(width, height);
|
H A D | MarshalQueryableStreamConfiguration.java | 32 * <p>Data is stored as {@code (format, width, height, input?)} tuples (int32).</p> 56 int height = buffer.getInt(); 59 return new StreamConfiguration(format, width, height, input);
|
H A D | MarshalQueryableStreamConfigurationDuration.java | 32 * Data is stored as {@code (format, width, height, durationNs)} tuples (int64). 65 int height = (int)buffer.getLong(); 68 return new StreamConfigurationDuration(format, width, height, durationNs);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | HighSpeedVideoConfiguration.java | 41 * @param height image height, in pixels (positive) 46 * if width/height/fpsMin were not positive or fpsMax less than 60 51 final int width, final int height, final int fpsMin, final int fpsMax) { 57 mHeight = checkArgumentPositive(height, "height must be positive"); 73 * Return the height of the high speed video configuration. 75 * @return height > 0 102 * @return a Size with positive width and height 50 HighSpeedVideoConfiguration( final int width, final int height, final int fpsMin, final int fpsMax) argument
|
H A D | StreamConfiguration.java | 50 * @param height image height, in pixels (positive) 54 * if width/height were not positive 61 final int format, final int width, final int height, final boolean input) { 64 mHeight = checkArgumentPositive(height, "height must be positive"); 91 * Return the height of the stream configuration. 93 * @return height > 0 102 * @return a Size with positive width and height 60 StreamConfiguration( final int format, final int width, final int height, final boolean input) argument
|
H A D | StreamConfigurationDuration.java | 44 * @param height image height, in pixels (positive) 48 * if width/height were not positive, or durationNs was negative 56 final int format, final int width, final int height, final long durationNs) { 59 mHeight = checkArgumentPositive(height, "height must be positive"); 86 * Return the height of the stream configuration duration 88 * @return height > 0 97 * @return a Size with positive width and height 55 StreamConfigurationDuration( final int format, final int width, final int height, final long durationNs) argument
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 90 public void resize(int width, int height, int densityDpi) { argument 91 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi);
|
/frameworks/base/core/java/android/util/ |
H A D | Size.java | 22 * Immutable class for describing width and height dimensions in pixels. 29 * @param height The height of the size, in pixels 31 public Size(int width, int height) { argument 33 mHeight = height; 45 * Get the height of the size (in pixels). 46 * @return height 98 * the width and height.</p> 104 * "<i>width</i>{@code x}<i>height</i>" or 105 * "<i>width</i>{@code *}<i>height</ [all...] |