Searched defs:width (Results 1 - 25 of 110) sorted by relevance

12345

/development/ndk/platforms/android-18/samples/gles3jni/src/com/android/gles3jni/
H A DGLES3JNILib.java28 public static native void resize(int width, int height); argument
H A DGLES3JNIView.java51 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
52 GLES3JNILib.resize(width, height);
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
H A DGL2JNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/development/perftests/panorama/feature_mos/src/mosaic/
H A DPyramid.h35 real width, height; // Width and height of input images member in class:PyramidShort
40 static PyramidShort *allocatePyramidPacked(real width, real height, real levels, real border = 0);
41 static PyramidShort *allocateImage(real width, real height, real border);
45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
H A DAlignFeatures.h61 int initialize(int width, int height, bool quarter_res, float thresh_still);
85 int width,height; member in class:Align
H A DMosaic.cpp57 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) argument
69 this->width = width;
83 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data
98 aligner->initialize(width, height,quarter_res,thresh_still);
105 blender->initialize(blendingType, stripType, width, height);
120 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
121 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
137 frames[frames_size] = new MosaicFrame(this->width,this->height,false);
224 ImageType Mosaic::getMosaic(int &width, in argument
[all...]
H A DMosaic.h44 int width = 640;
53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f);
91 * \param width Width of input images (note: all images must be same size)
98 int initialize(int blendingType, int stripType, int width, int height, int nframes = -1, bool quarter_res = false, float thresh_still = 0.0);
123 * \param width Width of the resulting mosaic (returned)
127 ImageType getMosaic(int &width, int &height);
157 int width, height; member in class:Mosaic
/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-14/include/android/
H A Dnative_window.h40 int32_t width; member in struct:ANativeWindow_Buffer
46 // memory. This may be >= width.
71 * Return the current width in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 * width and height must be either both zero or both non-zero.
103 int32_t width, int32_t height, int32_t format);
/development/ndk/platforms/android-9/include/android/
H A Dnative_window.h40 int32_t width; member in struct:ANativeWindow_Buffer
46 // memory. This may be >= width.
71 * Return the current width 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.h43 uint32_t width; member in struct:__anon619
/development/ndk/samples/hello-neon/jni/
H A Dhelloneon-intrinsics.c24 fir_filter_neon_intrinsics(short *output, const short* input, const short* kernel, int width, int kernelSize) argument
29 for (nn = 0; nn < width; nn++)
55 for (nn = 0; nn < width; nn++) {
/development/perftests/panorama/feature_mos/src/mosaic_renderer/
H A DFrameBuffer.cpp24 bool FrameBuffer::Init(int width, int height, GLenum format) { argument
36 width,
64 mWidth = width;
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
H A DAutoFitTextureView.java48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) { argument
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec);
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
H A DAutoFitTextureView.java48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) { argument
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec);
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
/development/ndk/platforms/android-18/include/android/
H A Dbitmap.h44 uint32_t width; member in struct:__anon52
/development/ndk/platforms/android-8/include/android/
H A Dbitmap.h44 uint32_t width; member in struct:__anon457
/development/ndk/platforms/android-8/samples/bitmap-plasma/src/com/example/plasma/
H A DPlasma.java51 public PlasmaView(Context context, int width, int height) { argument
53 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DTransitions.java84 private void setNewSize(int id, int width, int height) { argument
87 params.width = width;
H A DRotate3dAnimation.java63 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
64 super.initialize(width, height, parentWidth, parentHeight);
/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.java113 int width = 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
135 int stride = 3 * width;
144 for (int x = 0; x < width; x++) {
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
H A DMyGLRenderer.java78 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
81 gl.glViewport(0, 0, width, height);
84 float ratio = (float) width / height;
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
H A DBitmapHelper.java60 public static final Bitmap fetchAndRescaleBitmap(String uri, int width, int height) argument
67 int scaleFactor = findScaleFactor(width, height, inputStream);
/development/tools/yuv420sp2rgb/
H A Dcmdline.c15 {"width", required_argument, 0, 'w'},
28 "image width in pixels",
40 "\t%s infile --height <height> --width <width> --output <outfile> -t <ppm|grb|argb> [ --gray ] [ --rotate <degrees> ] [ --verbose ]\n"
60 int *width,
69 ASSERT(width); *width = -1;
127 SET_INT_OPTION(width);
57 get_options(int argc, char **argv, char **outfile, int *height, int *width, int *gray, char **type, int *rotate, int *verbose) argument

Completed in 499 milliseconds

12345