/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarContextView.java | 95 public void setContentHeight(int height) { argument 96 mContentHeight = height; 260 final int height = maxHeight - verticalPadding; 261 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 295 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ? 297 final int customHeight = lp.height >= 0 ? 298 Math.min(lp.height, height) : height;
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 118 int height = drawable.getIntrinsicHeight(); 119 if (width <= 0 || height <= 0) { 122 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (width * height)); 128 int bitmapHeight = (int) (height * scale); 153 * @return A bitmap of the given view or null if bounds has no width or height. 158 int bitmapHeight = Math.round(bounds.height());
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 279 super.initialize(width, height, parentWidth, parentHeight); 283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight); 284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight); 287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboard.java | 58 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument 59 this(context, xmlLayoutResId, 0, width, height); 68 int width, int height) { 69 super(context, xmlLayoutResId, mode, width, height); 258 y -= height / 10; 67 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 55 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, uint8_t* yPlane, argument 59 for (size_t j = 0; j < height; j++) { 86 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) { argument 92 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y), 141 * height - height of the pixelBuffer in pixels. 170 ALOGE("%s: height must be non-negative", __FUNCTION__); 178 size_t height = static_cast<size_t>(bufHeight); local 189 if (grallocBufWidth != width || grallocBufHeight != height) { 192 grallocBufHeight, width, height); 567 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument 617 LegacyCameraDevice_nativeSetSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.h | 124 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow 154 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate); 228 int32_t width, int32_t height); 230 int32_t width, int32_t height); 233 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 135 static SkBitmap createSkBitmap(int width, int height, argument 138 SkImageInfo info = SkImageInfo::Make(width, height, 146 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, 150 static std::unique_ptr<DisplayList> createDisplayList(int width, int height, argument 152 CanvasType canvas(width, height);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 191 final int height = getHeight(); 197 height - thickness, 199 height, paint, padding); 206 height - thickness, paint, padding); 211 height - thickness, paint, padding);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | SurfaceAndTextureViews.java | 138 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 139 System.out.println("surfaceChanged: w h = " + width + ", " + height); 173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 179 System.out.println("SurfaceTexture size changed to " + width + ", " + height);
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 45 uint32_t height; member in struct:android::CpuConsumerTestParams 51 return os << "[ (" << p.width << ", " << p.height << "), B:" 65 params.width, params.height, 283 // Blocks need to be even-width/height, aim for 8-wide otherwise 309 uint32_t h = buf.height; 348 uint32_t h = buf.height; 391 uint32_t h = buf.height; 456 params.width, params.height); 504 fillYV12Buffer(img, params.width, params.height, *stride); 507 fillBayerRawBuffer(img, params.width, params.height, bu [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES20.spec | 22 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ) 23 void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) 24 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) 25 void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) 94 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) 96 void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) 98 void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height ) 107 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 112 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ) 144 void glViewport ( GLint x, GLint y, GLsizei width, GLsizei height ) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc_copy.java | 267 int height = random.nextInt(128); 269 int yoff = random.nextInt(height); 271 int ycount = height - yoff; 279 typeBuilder.setX(width).setY(height); 302 int height = random.nextInt(128); 304 int yoff = random.nextInt(height); 306 int ycount = height - yoff; 317 typeBuilder.setX(width).setY(height); 340 int height = random.nextInt(128); 342 int yoff = random.nextInt(height); [all...] |
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_alloc_copy.java | 267 int height = random.nextInt(128); 269 int yoff = random.nextInt(height); 271 int ycount = height - yoff; 279 typeBuilder.setX(width).setY(height); 302 int height = random.nextInt(128); 304 int yoff = random.nextInt(height); 306 int ycount = height - yoff; 317 typeBuilder.setX(width).setY(height); 340 int height = random.nextInt(128); 342 int yoff = random.nextInt(height); [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | SharedElementCallback.java | 190 int bitmapHeight = Math.round(screenBounds.height()); 215 int height = drawable.getIntrinsicHeight(); 216 if (width <= 0 || height <= 0) { 219 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (width * height)); 225 int bitmapHeight = (int) (height * scale);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackLayoutAlgorithm.java | 159 * @param freeformHeightPct the percentage of the stack height (not including paddings) to 194 // The freeform height is the visible height (not including system insets) - padding 196 int availableHeight = taskStackBounds.height() - topMargin - stackBottomOffset; 234 // The freeform workspace bounds, inset by the top system insets and is a fixed height 275 // The height between the top margin and the top of the focused task 278 // The height between the bottom margin and the top of task in front of the focused task 457 int height = mStackRect.height() - mInitialTopOffset - mStackBottomOffset; 458 mTaskRect.set(mStackRect.left, mStackRect.top, mStackRect.right, mStackRect.top + height); [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 55 uint32_t height = 0; member in struct:aapt::PngInfo 112 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, &colorType, 143 outInfo->rows.resize(outInfo->height); 144 for (size_t i = 0; i < outInfo->height; i++) { 235 int h = imageInfo.height; 419 uint32_t width, height; local 427 png_bytepp outRows = (png_bytepp) malloc((int) info->height * sizeof(png_bytep)); 432 for (uint32_t i = 0; i < info->height; i++) { 445 << ", h = " << info->height); 486 png_set_IHDR(writePtr, infoPtr, info->width, info->height, 705 getVerticalTicks(png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument 783 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 64 status_t EglWindow::createPbuffer(int width, int height) { argument 75 mHeight = height; 79 EGL_HEIGHT, height,
|
/frameworks/av/media/libstagefright/ |
H A D | JPEGSource.cpp | 207 uint16_t width, height; local 208 if (!mSource->getUInt16(i + 1, &height) 214 mHeight = height;
|
H A D | avc_utils.cpp | 93 int32_t *width, int32_t *height, 162 *height = (2 - frame_mbs_only_flag) 196 *height -= 218 static const struct { unsigned width, height; } kFixedSARs[] = { member in struct:android::__anon330 240 sar_height = kFixedSARs[aspect_ratio_idc].height; 374 int32_t width, height; local 377 seqParamSet, &width, &height, &sarWidth, &sarHeight); 421 meta->setInt32(kKeyHeight, height); 432 height, 441 height, 91 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height, int32_t *sarWidth, int32_t *sarHeight) argument 563 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 131 int16 height; /* Height */ member in struct:tagVideoRefCopyInfoData 133 int16 realHeight; /* Non-padded height, not a multiple of 16. */ 150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode); 151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 193 int32_t width, height; local 195 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); 196 printf("INFO_FORMAT_CHANGED %d x %d\n", width, height);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 33 uint32_t width, uint32_t height, size_t maxSize, int format, 36 width, height, maxSize, format, dataSpace, rotation, setId), 78 camera3_stream::width, camera3_stream::height, 32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 68 int height = mDrawable.getIntrinsicHeight(); 69 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsoluteLayout.java | 90 // Check against minimum height and width 101 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} 170 * height and location. 174 * @param height the height, either {@link #MATCH_PARENT}, 179 public LayoutParams(int width, int height, int x, int y) { argument 180 super(width, height); 222 + sizeToString(width) + ", height=" + sizeToString(height)
|
H A D | DayPickerViewPager.java | 82 lp.height == LayoutParams.MATCH_PARENT) { 93 // Check against our minimum height and width 97 // Check against our foreground's minimum height and width 127 if (lp.height == LayoutParams.MATCH_PARENT) { 134 lp.height);
|