/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 668 const int h = bitmap.height(); 716 const int h = bitmap.height(); 880 jint width, jint height) { 881 return etc1_get_encoded_data_size(width, height); 891 jobject in, jint width, jint height, 900 jint imageSize = stride * height; 901 jint encodedImageSize = etc1_get_encoded_data_size(width, height); 908 width, height, pixelSize, 924 jint width, jint height, 933 jint imageSize = stride * height; 879 etc1_getEncodedDataSize(JNIEnv *env, jclass clazz, jint width, jint height) argument 890 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument 922 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument 951 etc1_formatHeader(JNIEnv *env, jclass clazz, jobject header, jint width, jint height) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 366 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 373 int height, 381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset ) 388 int height, 396 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels ) 405 int height, 412 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset ) 421 int height, 428 // C function void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) 439 int height 368 glTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.Buffer pixels ) argument 383 glTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int offset ) argument 398 glTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.Buffer pixels ) argument 414 glTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int offset ) argument 444 glCompressedTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, java.nio.Buffer data ) argument 458 glCompressedTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int offset ) argument 472 glCompressedTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, java.nio.Buffer data ) argument 488 glCompressedTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, int offset ) argument 1764 glTexStorage3D( int target, int levels, int internalformat, int width, int height, int depth ) argument [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 228 // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ) 235 int height, 241 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) 249 int height, 255 // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) 264 int height, 268 // C function void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) 278 int height 864 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) 870 int height, 230 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument 243 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument 257 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument 866 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument 1048 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument 1078 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 677 * multiplying the preview image width, height, and bytes per pixel. The 678 * width and height can be read from 717 * width, height, and bytes per pixel. The width and height can be 735 * queue. The size should be width * height * (bits per pixel) / 8. An 800 yuvBuilder.setY(previewSize.height); 861 previewSize.height != previewAllocation.getType().getY()) { 869 previewSize.height); 1524 * // UI coordinates range from (0, 0) to (width, height). 1644 newPreviewSize.height ! 1715 public int height; field in class:Camera.Size 2317 setPreviewSize(int width, int height) argument 2396 setJpegThumbnailSize(int width, int height) argument 2654 setPictureSize(int width, int height) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 474 * @param outDm If non-null the width and height will be set to their scaled values. 479 final int height = dm.noncompatHeightPixels; 481 if (width < height) { 483 longSize = height; 485 shortSize = height; 495 if (width < height) { 504 float sh = height/(float)newHeight;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | MediaSource.java | 521 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) { 522 if (mLogVerbose) Log.v(TAG, "MediaPlayer sent dimensions: " + width + " x " + height); 525 mOutputFormat.setDimensions(width, height); 527 mOutputFormat.setDimensions(height, width); 530 mHeight = height; 533 mOutputFormat.getHeight() != height) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 73 private void recordVideo(int frameRate, int width, int height, argument 86 mRecorder.setVideoSize(width, height); 174 private boolean invalidRecordSetting(int frameRate, int width, int height, argument 186 mRecorder.setVideoSize(width, height); 233 private boolean validateVideo(String filePath, int width, int height) { argument 236 if (mOutputVideoWidth == width && mOutputVideoHeight == height && 240 Log.v(TAG, "width = " + mOutputVideoWidth + " height = " + mOutputVideoHeight + " Duration = " + mOutputDuration);
|
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 48 uint32_t height; member in struct:BenchmarkDesc 299 result = mGLHelper->createSurfaceTexture(mDesc.width, mDesc.height, 396 float(mDesc.height); 419 ld.height = uint32_t(scaleFactor * float(ld.height)); 602 uint32_t runWidth = b.width * runHeight / b.height;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 198 static EGLint width, height; variable 448 layer->displayFrame.top = testRandMod(height); 452 + testRandMod(height - layer->displayFrame.top) + 1; 461 // width and height will fit. 467 && ((layer->displayFrame.top + sourceHeight) <= height)) { 536 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height); 567 // dimensions. Width and height need to be >= 1. 573 // Pick width and height, which must be >= 1 and the size 576 size_t h = (height * maxSizeRatio) * testRandFract(); 586 testPrintI(" frame %u width: %u height [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowStateAnimator.java | 256 " wh=" + mWin.mFrame.height() + 259 mAnimation.initialize(mWin.mFrame.width(), mWin.mFrame.height(), 648 + " h=" + mWin.mCompatFrame.height() + " format=" 652 int h = mWin.mCompatFrame.height(); 721 + mWin.mCompatFrame.width() + "x" + mWin.mCompatFrame.height() 892 final float h = frame.height(); 944 int h = frame.height(); 1030 int h = frame.height(); 1057 w.mSystemDecorRect.set(0, 0, w.mFrame.width(), w.mFrame.height()); 1088 w.mSystemDecorRect.set(0, 0, w.mCompatFrame.width(), w.mCompatFrame.height()); [all...] |
H A D | FocusedStackFrame.java | 80 final int h = bounds.height(); 104 mSurfaceControl.setSize(bounds.width(), bounds.height());
|
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/ |
H A D | M4MP4W_Types.h | 164 M4OSA_UInt16 height; member in struct:__anon103 251 M4OSA_UInt16 height; /* Y*/ member in struct:__anon106
|
/frameworks/base/core/java/android/app/ |
H A D | UiAutomationConnection.java | 132 public Bitmap takeScreenshot(int width, int height) { argument 140 return SurfaceControl.screenshot(width, height);
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManager.java | 409 * @param height The height of the virtual display in pixels, must be greater than 0. 423 int width, int height, int densityDpi, Surface surface, int flags) { 425 name, width, height, densityDpi, surface, flags); 422 createVirtualDisplay(String name, int width, int height, int densityDpi, Surface surface, int flags) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceFrameLayout.java | 145 public LayoutParams(int width, int height) { argument 146 super(width, height);
|
/frameworks/base/core/java/android/widget/ |
H A D | AccessibilityIterators.java | 152 final int pageHeight = mTempRect.height() - mView.getTotalPaddingTop() 181 final int pageHeight = mTempRect.height() - mView.getTotalPaddingTop()
|
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfBuzzNGFaceSkia.cpp | 75 extents->height = SkScalarToHBFixed(-skBounds.height());
|
/frameworks/base/core/jni/ |
H A D | android_media_RemoteDisplay.cpp | 65 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) { 77 surfaceObj, width, height, flags, session); 64 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.cpp | 94 Layer* LayerCache::get(const uint32_t width, const uint32_t height) { argument 97 LayerEntry entry(width, height);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 48 * <tr><td>{@link #KEY_MAX_HEIGHT}</td><td>Integer</td><td><b>decoder-only</b>, optional, max-resolution height</td></tr> 112 * A key describing the height of the content in a video format. 115 public static final String KEY_HEIGHT = "height"; 125 * A key describing the maximum expected height of the content in a video 129 public static final String KEY_MAX_HEIGHT = "max-height"; 169 public static final String KEY_SLICE_HEIGHT = "slice-height"; 402 * @param height The height of the content (in pixels) 407 int height) { 411 format.setInteger(KEY_HEIGHT, height); 404 createVideoFormat( String mime, int width, int height) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FisheyeFilter.java | 142 private void updateFrameSize(int width, int height) { argument 144 mHeight = height;
|
H A D | GrainFilter.java | 138 private void updateFrameSize(int width, int height) { argument 140 mHeight = height;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 269 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 271 Log.d(TAG, "onSurfaceChanged: width=" + width + ", height=" + height); 274 super.onSurfaceChanged(holder, format, width, height); 305 final int dh = frame.height(); 449 ortho.loadOrtho(0.0f, frame.width(), frame.height(), 0.0f, -1.0f, 1.0f); 463 glViewport(0, 0, frame.width(), frame.height()); 651 if(frame.width() > maxSize[0] || frame.height() > maxSize[0]) { 655 frame.width() + "x" + frame.height() + " exceeds the support maximum of " +
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity5.java | 106 findViewById(R.id.container).getLayoutParams().height = ViewGroup.LayoutParams.MATCH_PARENT; 111 findViewById(R.id.container).getLayoutParams().height = 300;
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 86 uint32_t getHeight() const { return height; } 90 Rect getBounds() const { return Rect(width, height); }
|