/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 296 uint32_t height = 0; member in struct:android::DisplayDeviceState
|
H A D | MonitoredProducer.cpp | 118 void MonitoredProducer::allocateBuffers(uint32_t width, uint32_t height, argument 120 mProducer->allocateBuffers(width, height, format, usage);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.h | 260 uint32_t height; member in struct:android::HWComposer::DisplayConfig 267 height == rhs.height &&
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES20RenderEngine.cpp | 63 void writePPM(const char* basename, GLuint width, GLuint height) { argument 64 ALOGV("writePPM #%s: %d x %d", basename, width, height); 66 std::vector<GLubyte> pixels(width * height * 4); 67 std::vector<GLubyte> outBuffer(width * height * 3); 72 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); 89 file << height << "\n"; local 94 for (int y = height - 1; y >= 0; y--) {
|
/frameworks/native/services/vr/hardware_composer/impl/ |
H A D | vr_hwc.h | 125 HwcDisplay(int32_t width, int32_t height); 129 int32_t height() const { return height_; } function in class:android::dvr::HwcDisplay 213 Error createVirtualDisplay(uint32_t width, uint32_t height, 222 uint32_t width, uint32_t height,
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 124 public void setDecodeDimensions(int width, int height) { argument 127 mDecodeHeight = height; 384 bounds.width(), bounds.height(), 385 bounds.height(), Integer.MAX_VALUE, getDecodeHorizontalCenter(),
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
H A D | ImsVideoCallProviderWrapper.java | 106 public void changePeerDimensions(int width, int height) { argument 109 args.arg2 = height; 183 int height = (int) args.arg2; 184 changePeerDimensions(width, height);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 124 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 129 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 168 private void updateOutputDimensions(int width, int height) { argument
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 365 int height = mMediaPlayer.getVideoHeight(); 366 if (width > 0 && height > 0) { 368 mVideoHeight = height; 463 int width, int height) { 465 Log.d(TAG, "surfaceChanged: " + width + "x" + height); 490 int height = getVideoHeight(); 491 if (width > 0 && height > 0) { 494 mPresentation.updateSize(width, height); 502 if (surfaceWidth * height < surfaceHeight * width) { 504 // while height i 462 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument 577 updateSize(int width, int height) argument [all...] |
H A D | OverlayDisplayWindow.java | 64 int width, int height, int gravity) { 68 mHeight = height; 73 int width, int height, int gravity) { 75 return new JellybeanMr1Impl(context, name, width, height, gravity); 77 return new LegacyImpl(context, name, width, height, gravity); 93 public abstract void updateAspectRatio(int width, int height); argument 115 int width, int height, int gravity) { 116 super(context, name, width, height, gravity); 141 int height = (int)(display.getHeight() * INITIAL_SCALE); 143 height 63 OverlayDisplayWindow(Context context, String name, int width, int height, int gravity) argument 72 create(Context context, String name, int width, int height, int gravity) argument 114 LegacyImpl(Context context, String name, int width, int height, int gravity) argument 170 updateAspectRatio(int width, int height) argument 212 JellybeanMr1Impl(Context context, String name, int width, int height, int gravity) argument 253 updateAspectRatio(int width, int height) argument [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 365 int height = mMediaPlayer.getVideoHeight(); 366 if (width > 0 && height > 0) { 368 mVideoHeight = height; 463 int width, int height) { 465 Log.d(TAG, "surfaceChanged: " + width + "x" + height); 490 int height = getVideoHeight(); 491 if (width > 0 && height > 0) { 494 mPresentation.updateSize(width, height); 502 if (surfaceWidth * height < surfaceHeight * width) { 504 // while height i 462 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument 577 updateSize(int width, int height) argument [all...] |
H A D | OverlayDisplayWindow.java | 64 int width, int height, int gravity) { 68 mHeight = height; 73 int width, int height, int gravity) { 75 return new JellybeanMr1Impl(context, name, width, height, gravity); 77 return new LegacyImpl(context, name, width, height, gravity); 93 public abstract void updateAspectRatio(int width, int height); argument 115 int width, int height, int gravity) { 116 super(context, name, width, height, gravity); 141 int height = (int)(display.getHeight() * INITIAL_SCALE); 143 height 63 OverlayDisplayWindow(Context context, String name, int width, int height, int gravity) argument 72 create(Context context, String name, int width, int height, int gravity) argument 114 LegacyImpl(Context context, String name, int width, int height, int gravity) argument 170 updateAspectRatio(int width, int height) argument 212 JellybeanMr1Impl(Context context, String name, int width, int height, int gravity) argument 253 updateAspectRatio(int width, int height) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsRowPresenter.java | 396 updateCardLayout(vh, vh.mImageView.getLayoutParams().height); 417 private void updateCardLayout(ViewHolder vh, int height) { argument 419 lp.height = height; 426 if (height == LayoutParams.WRAP_CONTENT) { 427 llp.height = LayoutParams.WRAP_CONTENT; 434 llp.height = 0;
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | AlertDialogTest.java | 1358 public TestDrawable(@ColorInt int color, int width, int height) { argument 1361 mHeight = height;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewCacheTest.java | 112 private void layout(int width, int height) { argument 115 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); 116 mRecyclerView.layout(0, 0, width, height); 614 int height = expandedPosition[0] == position ? 400 : 100; 615 holder.itemView.setLayoutParams(new RecyclerView.LayoutParams(200, height));
|
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 79 static uint32_t gVideoWidth = 0; // default width+height 161 format->setInt32("height", gVideoHeight); 221 // app is based on the height of the display), reverse width/height. 228 ALOGV("using rotated width/height"); 241 // "pre-rotate" it by flipping width/height, so that the orientation 247 // In that case, we swap the configured video width/height and then 259 // limited by narrow width; reduce height 263 // limited by short height; restrict width 806 long width, height; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 389 int32_t width, height; local 391 CHECK(outputFormat->findInt32("height", &height)); 397 crop_bottom = height - 1; 420 int32_t width, height; local 422 && trackMeta->findInt32(kKeyDisplayHeight, &height) 424 && width > 0 && height > 0) { 425 if (frame->mDisplayHeight * (int64_t)width / height > (int64_t)frame->mDisplayWidth) { 427 (int32_t)(height * (int64_t)frame->mDisplayWidth / width); 430 (int32_t)(frame->mDisplayHeight * (int64_t)width / height); [all...] |
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::__anon438 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 582 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument [all...] |
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Buffer.h | 709 * Interface for objects that have a width and height (planar capacity). 716 inline uint32_t height() const { return mHeight; } function in class:android::_C2PlanarCapacityAspect 719 inline _C2PlanarCapacityAspect(uint32_t width, uint32_t height) argument 720 : mWidth(width), mHeight(height) { } 724 mHeight(parent == nullptr ? 0 : parent->height()) { } 744 inline C2Rect(uint32_t width, uint32_t height) argument 745 : C2Rect(width, height, 0, 0) { } 747 inline C2Rect(uint32_t width, uint32_t height, uint32_t left, uint32_t top) argument 748 : mLeft(left), mTop(top), mWidth(width), mHeight(height) { } 832 uint32_t mVertSubsampling; // subsampling compared to height 837 minOffset(uint32_t width, uint32_t height) argument 848 maxOffset(uint32_t width, uint32_t height, uint32_t allocatedDepth) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 66 320 /* width */, 240 /* height */, callbacks, 642 uint32_t height = s_dec_op.u4_pic_ht; local 644 handlePortSettingsChange(&portWillReset, width, height);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 61 320 /* width */, 240 /* height */, callbacks, 632 uint32_t height = s_dec_op.u4_pic_ht; local 634 handlePortSettingsChange(&portWillReset, width, height);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 78 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) 258 /* Set max width and height. In H.263 mode, we use */ 260 /* to pass in height. 04/23/2001 */ 272 video->displayHeight = height; 274 video->height = (height + 15) & -16; 275 video->size = (int32)video->width * video->height; 291 status = PVAllocVideoData(decCtrl, width, height, nLayers); 306 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers) argument 317 video->displayHeight = height; 77 PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) argument 779 PVGetBufferDimensions(VideoDecControls *decCtrl, int32 *width, int32 *height) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
H A D | mp4enc_api.h | 121 Int height; /* height for Y */ member in struct:tagvideoEncFrameIO 157 /** @brief Specifies encoded heights in pixels, height[n] represents the n-th layer's height. */
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 38 Int width, Int height, Int rnd1); 107 Int height, pitch, pitch_uv, height_uv; local 119 height = currVop->height; 121 height_uv = height >> 1; 1521 Int width, Int height, Int rnd1) 1552 else if ((ypos >> 1) < (height - 8)) /* pad left of frame */ 1573 src = c_prev + (height - 1) * lx; 1623 src = c_prev + (xpos >> 1) - xoffset + (height - 1) * lx; 1670 else if ((ypos >> 1) < (height 1520 EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec, Int width, Int height, Int rnd1) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.cpp | 63 320 /* width */, 240 /* height */, callbacks, 774 uint32_t height = s_dec_op.u4_pic_ht; local 776 handlePortSettingsChange(&portWillReset, width, height);
|