/frameworks/support/v4/ics/android/support/v4/widget/ |
H A D | EdgeEffectCompatIcs.java | 33 public static void setSize(Object edgeEffect, int width, int height) { argument 34 ((EdgeEffect) edgeEffect).setSize(width, height);
|
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 224 p.width, p.height, mAnchoredGravity)); 341 * @param height the popup's height 343 public PopupWindow(int width, int height) { argument 344 this(null, width, height); 357 * @param height the popup's height 359 public PopupWindow(View contentView, int width, int height) { argument 360 this(contentView, width, height, false); 372 * @param height th 375 PopupWindow(View contentView, int width, int height, boolean focusable) argument 1031 setHeight(int height) argument 1526 findDropDownPosition(View anchor, WindowManager.LayoutParams outParams, int xOffset, int yOffset, int width, int height, int gravity) argument 1604 tryFitVertical(@onNull LayoutParams outParams, int yOffset, int height, int anchorHeight, int drawingLocationY, int screenLocationY, int displayFrameTop, int displayFrameBottom, boolean allowResize) argument 1633 positionInDisplayVertical(@onNull LayoutParams outParams, int height, int drawingLocationY, int screenLocationY, int displayFrameTop, int displayFrameBottom, boolean canResize) argument 1990 update(int width, int height) argument 2008 update(int x, int y, int width, int height) argument 2027 update(int x, int y, int width, int height, boolean force) argument 2110 update(View anchor, int width, int height) argument 2130 update(View anchor, int xoff, int yoff, int width, int height) argument 2134 update(View anchor, boolean updateLocation, int xoff, int yoff, int width, int height) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 42 Rect sourceCrop, int width, int height, int minLayer, int maxLayer, 45 Rect sourceCrop, int width, int height, int minLayer, int maxLayer, 80 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); argument 270 * @param h The surface initial height. 534 public int height; field in class:SurfaceControl.PhysicalDisplayInfo 559 && height == other.height 577 height = other.height; 591 return "PhysicalDisplayInfo{" + width + " x " + height 41 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument 44 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument 664 setDisplaySize(IBinder displayToken, int width, int height) argument 717 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform) argument 734 screenshot(IBinder display, Surface consumer, int width, int height) argument 779 screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform, int rotation) argument 801 screenshot(int width, int height) argument 809 screenshot(IBinder display, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 193 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument 195 memcpy(dst, src, width * height * sizeof(T)); 199 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument 201 for (size_t i = 0; i < height; ++i) { 203 dst[j * height + height - 1 - i] = src[i * width + j]; 209 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument 211 for (size_t i = 0; i < height; ++i) { 213 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j]; 219 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument 229 rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument 277 uint32_t width, height; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | LayerBuilder.h | 75 LayerBuilder(uint32_t width, uint32_t height, const Rect& repaintRect) argument 76 : LayerBuilder(width, height, repaintRect, nullptr, nullptr) {}; 80 LayerBuilder(uint32_t width, uint32_t height, 108 const uint32_t height; member in class:android::uirenderer::LayerBuilder
|
H A D | DeferredLayerUpdater.h | 41 ANDROID_API bool setSize(int width, int height) { argument 42 if (mWidth != width || mHeight != height) { 44 mHeight = height;
|
H A D | LayerRenderer.h | 59 static Layer* createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height); 60 static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height); 61 static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
|
H A D | RenderBufferCache.h | 47 * @param height The desired height of the buffer 49 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height); 81 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument 82 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
|
H A D | RenderBufferCache.cpp | 97 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument 100 RenderBufferEntry entry(format, width, height); 111 RenderBuffer::formatName(format), width, height); 113 buffer = new RenderBuffer(format, width, height); 116 RenderBuffer::formatName(format), width, height);
|
/frameworks/base/libs/hwui/utils/ |
H A D | TestWindowContext.h | 41 void initialize(int width, int height);
|
H A D | TestWindowContext.cpp | 64 mCpuConsumer->setDefaultBufferSize(mSize.width(), mSize.height()); 67 mSize.width(), mSize.height()); 77 (0, 0, mSize.width(), mSize.height()); 89 mProxy->setup(mSize.width(), mSize.height(), 800.0f, 93 mCanvas.reset(new android::uirenderer::RecordingCanvas(mSize.width(), mSize.height())); 95 mCanvas.reset(new android::uirenderer::DisplayListCanvas(mSize.width(), mSize.height())); 100 //mCanvas->reset(mSize.width(), mSize.height()); 101 mCanvas->clipRect(0, 0, mSize.width(), mSize.height(), 119 SkImageInfo::Make(mSize.width(), mSize.height(), 123 mSize.width() * mSize.height()); 194 initialize(int width, int height) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 51 float height 68 int height 85 short height 102 int height
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 73 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 86 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | TextureSource.java | 63 public void allocate(int width, int height) { argument 64 //Log.i("TextureSource", "Allocating empty texture " + mTexId + ": " + width + "x" + height + "."); 65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height); 69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) { argument 70 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + ": " + width + "x" + height + "."); 71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height);
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | BottomScrollViewTest.java | 82 public TestChildView(Context context, int height) { argument 84 mHeight = height; 92 public void setHeight(int height) { argument 93 mHeight = height;
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionBarPolicy.java | 94 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0); 97 // Stacked tabs; limit the height 98 height = Math.min(height, 102 return height;
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 88 height); 108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 110 height); 132 int height = mediaPlayer.getVideoHeight(); 133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height); 134 if (width != 0 && height ! 345 setFixedSize(int width, int height) argument 359 setFixedSize(int width, int height) argument 381 setFixedSize(int width, int height) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4dec_lib.h | 150 int height, /* i */ 164 int height, /* i */ 182 int height, /* i */ 201 int height /* i */ 253 int height, 283 void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int T); 291 void Deringing_Luma(uint8 *Rec_Y, int width, int height, int16 *QP_store, 293 void Deringing_Chroma(uint8 *Rec_C, int width, int height, int16 *QP_store, 295 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store, 297 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int1 [all...] |
H A D | post_filter.cpp | 43 int width, height; local 51 height = video->height; 52 size = (int32)width * height; 75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod); 83 CombinedHorzVertFilter(output, width, height, 88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height, 94 Deringing_Luma(output, width, height, QP_store, 107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod); 116 (int)(height >> 176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableRect.java | 45 buffer.putInt(value.height()); 53 int height = buffer.getInt(); 56 int bottom = top + height;
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | SingleFilterEffect.java | 67 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 70 Frame inputFrame = frameFromTexture(inputTexId, width, height); 71 Frame outputFrame = frameFromTexture(outputTexId, width, height);
|
/frameworks/native/opengl/tests/gl_perfapp/jni/ |
H A D | gl_code.cpp | 21 // Width and height of the screen 60 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height); 64 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument 67 gHeight = height;
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 41 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height"; 331 int width, height; local 332 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 338 sizes.push(Size(width, height)); 347 void CameraParameters::setPreviewSize(int width, int height) argument 350 sprintf(str, "%dx%d", width, height); 354 void CameraParameters::getPreviewSize(int *width, int *height) const 356 *width = *height = -1; 360 parse_pair(p, width, height, 'x'); 363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons 377 setVideoSize(int width, int height) argument 426 setPictureSize(int width, int height) argument [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 144 int height = mEglWindow.getHeight(); local 146 glViewport(0, 0, width, height); 164 mTextRenderer.setScreenSize(width, height); 178 mGlConsumer->setDefaultBufferSize(width, height); 221 int height = mEglWindow.getHeight(); local 224 100, 100, width-200, height-200); 227 0, 0, width, height); 234 100, 100, width-200, height-200); 297 int height = window.getHeight(); local 298 glViewport(0, 0, width, height); 332 int height = window.getHeight(); local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/test/ |
H A D | h264_enc_test.cpp | 83 fprintf(stderr, "Usage %s <input yuv> <output file> <width> <height>" 86 fprintf(stderr, "Max height %d\n", kMaxHeight); 92 // Read height and width. 94 int32_t height; 96 height = atoi(argv[4]); 97 if (width > kMaxWidth || height > kMaxHeight || width <= 0 || height <= 0) { 98 fprintf(stderr, "Unsupported dimensions %dx%d\n", width, height); 102 if (width % 16 != 0 || height % 16 != 0) { 104 width, height); [all...] |