Searched defs:height (Results 1 - 25 of 83) sorted by relevance

1234

/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
H A DGL2JNILib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/development/tools/emulator/opengl/system/GLESv1_enc/
H A DGLEncoderUtils.cpp20 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) argument
23 return ctx->pixelDataSize(width, height, format, type, pack);
/development/ide/xcode/ports/
H A Dskia_mac.cp77 int x =0, y =0, width =640, height=480; local
78 get_preferred_size(&x, &y, &width, &height);
80 SizeWindow(window, width, height, false);
/development/ndk/platforms/android-9/include/android/
H A Dnative_window.h43 int32_t height; member in struct:ANativeWindow_Buffer
77 * Return the current height in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
H A Dbitmap.h41 uint32_t height; member in struct:__anon532
/development/samples/BrowserPlugin/jni/
H A Djni-bridge.cpp39 static void surfaceChanged(JNIEnv* env, jobject thiz, jint npp, jint format, jint width, jint height) { argument
46 event.data.other[2] = height;
/development/samples/BrowserPlugin/src/com/android/sampleplugin/
H A DPaintSurface.java45 public PaintSurface(Context context, int NPP, int width, int height) { argument
53 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
56 nativeSurfaceChanged(npp, format, width, height);
79 this.getHolder().setFixedSize(width, height);
93 private native void nativeSurfaceChanged(int npp, int format, int width, int height); argument
/development/samples/BrowserPlugin/src/com/android/sampleplugin/graphics/
H A DCubeRenderer.java67 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
68 gl.glViewport(0, 0, width, height);
76 float ratio = (float) width / height;
/development/tools/emulator/opengl/system/GLESv2_enc/
H A DGL2EncoderUtils.cpp21 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) argument
25 return ctx->state()->pixelDataSize(width, height, format, type, pack);
28 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack) argument
30 size_t layerSize = pixelDataSize(self, width, height, format, type, pack);
/development/tools/emulator/system/camera/
H A DJpegCompressor.cpp44 int height,
47 ALOGV("%s: %p[%dx%d]", __FUNCTION__, image, width, height);
51 offsets[1] = width * height;
54 if (encode(&mStream, pY, width, height, offsets, quality)) {
56 __FUNCTION__, (width * height * 12) / 8, width, height, mStream.getOffset());
42 compressRawImage(const void* image, int width, int height, int quality) argument
H A DEmulatedQemuCameraDevice.cpp135 int height,
152 status_t res = EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt);
179 reinterpret_cast<const char*>(&pix_fmt), width, height);
134 startDevice(int width, int height, uint32_t pix_fmt) argument
/development/tools/emulator/system/camera/fake-pipeline2/
H A DBase.h38 uint32_t width, height; member in struct:android::StreamBuffer
48 uint32_t width, height; member in struct:android::Stream
55 uint32_t width, height; member in struct:android::ReprocessStream
/development/ndk/platforms/android-8/include/android/
H A Dbitmap.h42 uint32_t height; member in struct:__anon373
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DCubeRenderer.java66 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
67 gl.glViewport(0, 0, width, height);
75 float ratio = (float) width / height;
H A DCompressedTextureActivity.java114 int height = 128;
115 Buffer image = createImage(width, height);
116 ETC1Util.ETC1Texture etc1Texture = ETC1Util.compressTexture(image, width, height, 3, 3 * width);
134 private Buffer createImage(int width, int height) { argument
136 ByteBuffer image = ByteBuffer.allocateDirect(height * stride)
140 for (int t = 0; t < height; t++) {
H A DFrameBufferObjectActivity.java80 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
83 mSurfaceHeight = height;
84 gl.glViewport(0, 0, width, height);
98 private void drawOnscreen(GL10 gl, int width, int height) { argument
99 gl.glViewport(0, 0, width, height);
100 float ratio = (float) width / height;
136 private void drawOffscreenImage(GL10 gl, int width, int height) { argument
137 gl.glViewport(0, 0, width, height);
138 float ratio = (float) width / height;
174 private int createTargetTexture(GL10 gl, int width, int height) { argument
194 createFrameBuffer(GL10 gl, int width, int height, int targetTextureId) argument
[all...]
H A DTouchRotateActivity.java136 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
137 gl.glViewport(0, 0, width, height);
145 float ratio = (float) width / height;
/development/samples/BrowserPlugin/jni/animation/
H A DAnimationThread.cpp63 SkBitmap* AnimationThread::constructBitmap(int width, int height) { argument
65 bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height);
95 int width, height; local
96 getDimensions(width, height);
98 if (m_bitmap->width() != width || m_bitmap->height() != height) {
101 m_bitmap = constructBitmap(width, height);
106 m_dy = height * .007f;
112 const float OH = height * .125f;
119 bounce(&m_y, &m_dy, height
[all...]
/development/tools/yuv420sp2rgb/
H A Dcmdline.c14 {"height", required_argument, 0, 'h'},
27 "image height in pixels",
40 "\t%s infile --height <height> --width <width> --output <outfile> -t <ppm|grb|argb> [ --gray ] [ --rotate <degrees> ] [ --verbose ]\n"
59 int *height,
68 ASSERT(height); *height = -1;
124 SET_INT_OPTION(height);
57 get_options(int argc, char **argv, char **outfile, int *height, int *width, int *gray, char **type, int *rotate, int *verbose) argument
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DRotate3dAnimation.java63 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
64 super.initialize(width, height, parentWidth, parentHeight);
H A DShapeHolder.java92 public void setHeight(float height) { argument
94 s.resize(s.getWidth(), height);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DKubeRenderer.java76 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
77 gl.glViewport(0, 0, width, height);
85 float ratio = (float)width / height;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
H A DProjector.java34 public void setCurrentView(int x, int y, int width, int height) { argument
38 mViewHeight = height;
/development/ndk/platforms/android-5/samples/hello-gl2/jni/
H A Dgl_code.cpp172 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
176 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
178 setupGraphics(width, height);
/development/ndk/platforms/android-9/samples/native-activity/jni/
H A Dmain.c56 int32_t height; member in struct:engine
116 engine->height = h;
139 ((float)engine->state.y)/engine->height, 1);

Completed in 324 milliseconds

1234