Searched defs:height (Results 176 - 200 of 393) sorted by relevance

1234567891011>>

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DUiTest.java155 * 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 DTestAppRS.java94 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 DCameraCapture.java59 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 DRect.h54 // 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 DISurfaceComposer.cpp107 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 DFramebufferNativeWindow.cpp53 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 DGL2JNIView.java287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
288 GL2JNILib.init(width, height);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp83 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 DGLPerfView.java287 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 DGLDualGL2View.java290 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
291 GLDualLib.init(width, height);
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp130 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 DhwcRects.cpp44 * 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 DTestLatencyView.java144 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 DrsScriptC_Lib.cpp182 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 DrsScriptC_Lib.cpp182 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 DMyGLSurfaceView.java138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument
141 GLES20.glViewport(0, 0, width, height);
142 mRatio = (float) width / height;
H A DNativeMedia.java86 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 DVideoEditorPreviewController.cpp471 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 DIMediaRecorder.cpp179 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 DStagefrightMetadataRetriever.cpp248 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 DSoftMPEG4Encoder.cpp49 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 Domxtypes.h226 * 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 Domxtypes.h226 * 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 Domxtypes.h226 * 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 DColorConverter.cpp59 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

Completed in 467 milliseconds

1234567891011>>