/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | UiTest.java | 155 * Create a mesh with a single quad for the given width and height. 157 private Mesh getSingleMesh(float width, float height) { argument 161 float yOffset = height/2;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TestAppRS.java | 94 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 99 mHeight = height;
|
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/ |
H A D | CameraCapture.java | 59 public synchronized void beginCapture(int cameraId, int width, int height, argument 65 openCamera(width, height); 121 private void openCamera(int width, int height) { argument 124 mCamera.setParameters(calcCameraParameters(width, height)); 138 private Camera.Parameters calcCameraParameters(int width, int height) { argument 143 int closestSize[] = findClosestSize(width, height, params); 157 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument 162 int smallestHeight = previewSizes.get(0).height; 169 size.height <= height [all...] |
/frameworks/native/include/ui/ |
H A D | Rect.h | 54 // a valid rectangle has a non negative width and height 56 return (width()>=0) && (height()>=0); 59 // an empty rect has a zero width or height, or is invalid 61 return (width()<=0) || (height()<=0); 73 // rectangle's height 83 inline int32_t height() const { return getHeight(); } function in class:android::Rect 154 // the origin and extending to (width, height). If the transform includes 156 // (height, width). Otherwise the output rectangle is in the same space as 158 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 107 uint32_t* width, uint32_t* height, PixelFormat* format, 121 *height = reply.readInt32(); 105 captureScreen( const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ) argument
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 53 ANativeWindowBuffer::height = h; member in class:android::NativeBuffer::ANativeWindowBuffer 120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB); 126 fbDev->width, fbDev->height, fbDev->format, 130 i, fbDev->width, fbDev->height, strerror(-err)); 184 return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height()); 304 *value = fb->height; 319 *value = fb->height;
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNIView.java | 287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 288 GL2JNILib.init(width, height);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 83 void init_scene(int width, int height) argument 93 float ratio = width / height; 94 glViewport(0, 0, width, height); 138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height); 143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument 145 init_scene(width, height);
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfView.java | 287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 288 GLPerfLib.init(width, height);
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualGL2View.java | 290 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 291 GLDualLib.init(width, height);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 130 static EGLint width, height; variable 296 unsigned int refHeight = height / 3; 303 unsigned int equivHeight = height / 3; 318 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight, 323 testPrintI("refFrame width: %u height: %u format: %u %s", 332 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight, 337 testPrintI("equivFrame width: %u height: %u format: %u %s", 420 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
H A D | hwcRects.cpp | 44 * sourceDim: [width, height] 171 static EGLint width, height; variable 403 rect.sourceCrop.bottom = rect.sourceDim.height(); 492 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height()) 493 || ((uint32_t) rect.sourceCrop.bottom > rect.sourceDim.height())) { 499 || (rect.displayFrame.top >= height) 500 || (rect.displayFrame.bottom > height)) { 511 rect.sourceDim.height(), 522 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u " 525 rect.sourceDim.width(), rect.sourceDim.height(), [all...] |
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 144 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 145 GLES20.glViewport(0, 0, width, height); 147 mScaleY = 2.0f / height;
|
/frameworks/rs/ |
H A D | rsScriptC_Lib.cpp | 182 uint32_t width, uint32_t height, 187 dstMip, dstFace, width, height, 179 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsScriptC_Lib.cpp | 182 uint32_t width, uint32_t height, 187 dstMip, dstFace, width, height, 179 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument 141 GLES20.glViewport(0, 0, width, height); 142 mRatio = (float) width / height;
|
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/libvideoeditor/lvpp/ |
H A D | VideoEditorPreviewController.cpp | 471 uint32_t width, height; local 472 getVideoSizeByResolution(mOutputVideoSize, &width, &height); 473 mNativeWindowRenderer = new NativeWindowRenderer(mSurface, width, height); 847 // Swap width and height if 90 or 270 degrees 1419 /* get the video width and height by resolution */
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 179 status_t setVideoSize(int width, int height) argument 181 ALOGV("setVideoSize(%dx%d)", width, height); 185 data.writeInt32(height); 401 int height = data.readInt32(); local 402 reply->writeInt32(setVideoSize(width, height));
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 248 int32_t width, height; local 250 CHECK(meta->findInt32(kKeyHeight, &height)); 258 crop_bottom = height - 1; 292 width, height,
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 49 int32_t width, int32_t height) { 51 int32_t outYsize = width * height; 61 for (int32_t i = height >> 1; i > 0; --i) { 715 vin.height = ((mVideoHeight + 15) >> 4) << 4; 719 vin.uChan = vin.yChan + vin.height * vin.pitch; 720 vin.vChan = vin.uChan + ((vin.height * vin.pitch) >> 2); 47 ConvertYUV420SemiPlanarToYUV420Planar( uint8_t *inyuv, uint8_t* outyuv, int32_t width, int32_t height) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
H A D | omxtypes.h | 226 * and height in the y-direction */ 231 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon695 248 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon697
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
H A D | omxtypes.h | 226 * and height in the y-direction */ 231 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon739 248 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon741
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/ |
H A D | omxtypes.h | 226 * and height in the y-direction */ 231 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon783 248 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon785
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 59 size_t width, size_t height, 64 mHeight(height), 57 BitmapParams( void *bits, size_t width, size_t height, size_t cropLeft, size_t cropTop, size_t cropRight, size_t cropBottom) argument
|