/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
TrackMetaData.java | 29 private double height; field in class:TrackMetaData 92 return height; 95 public void setHeight(double height) { 96 this.height = height;
|
/external/skia/tools/ |
skpmaker.cpp | 23 DEFINE_int32(height, 200, "Height of canvas to create."); 28 static void skpmaker(int width, int height, int border, SkColor color, 31 SkCanvas* canvas = recorder.beginRecording(width, height, NULL, 0); 35 canvas->drawRectCoords(0, 0, SkIntToScalar(width), SkIntToScalar(height), paint); 38 SkIntToScalar(width - border*2), SkIntToScalar(height - border*2), 60 SkDebugf("--height must be >0\n");
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.h | 28 * @param height Height of the Yuv data in terms of pixels. 34 int height, int* offsets, int jpegQuality); 42 int height, int quality); 55 void deinterleaveYuv(uint8_t* yuv, int width, int height, 58 int rowIndex, int width, int height); 71 uint8_t* vRows, int rowIndex, int width, int height);
|
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.h | 72 float x, y, width, height; member in struct:android::filterfw::Rect 76 width = height = 1.0f; 79 Rect(float x, float y, float width, float height) { 83 this->height = height;
|
gl_frame.h | 46 // Initialize a GL frame to the given width, height, format. Also specify 48 bool Init(int width, int height); 54 bool InitWithTexture(GLint texture_id, int width, int height); 57 bool InitWithFbo(GLint fbo_id, int width, int height); 93 bool SetViewport(int x, int y, int width, int height); 130 void InitDimensions(int width, int height); 185 // The width, height and format of the frame
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStepIndicatorView.java | 54 final int height = getHeight(); local 57 mIndicatorPath.lineTo(xPos + height, height); 58 mIndicatorPath.lineTo(xPos - height, height);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_imageop.py | 25 for height in VALUES: 27 strlen = abs(width * height) 35 arguments = (data, size, width, height) + extra 37 arguments = (data, width, height) + extra 80 image, width, height = getimage('test'+os.extsep+'rgb') 82 # Return the selected part of image, which should by width by height 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1) 94 scaleimage = imageop.scale(image, 4, width, height, 1, 1) 102 videoimage = imageop.tovideo (image, 4, width, height) 107 greyimage = imageop.rgb2rgb8(image, width, height) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_imageop.py | 25 for height in VALUES: 27 strlen = abs(width * height) 35 arguments = (data, size, width, height) + extra 37 arguments = (data, width, height) + extra 80 image, width, height = getimage('test'+os.extsep+'rgb') 82 # Return the selected part of image, which should by width by height 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1) 94 scaleimage = imageop.scale(image, 4, width, height, 1, 1) 102 videoimage = imageop.tovideo (image, 4, width, height) 107 greyimage = imageop.rgb2rgb8(image, width, height) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
TexImageTransform.java | 64 * @param height height of the texture 67 GLEnum type, int xOffset, int yOffset, int width, int height) { 76 mHeight = height; 127 * Creates a texture of provided width and height. If the texture data file is provided, 132 * @param height height of texture 135 private String createTexture(File textureDataFile, int width, int height) throws IOException { 138 BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR); 142 img.getRaster().setDataElements(0, 0, width, height, 280 assert sourceData.length == 3 * width * height; \/\/ should have R, G & B channels local 295 assert sourceData.length == width * height; \/\/ should have a single alpha channel local 308 assert sourceData.length == width * height; \/\/ should have a single luminance channel local 326 assert sourceData.length == 2 * width * height; \/\/ should have luminance & alpha channels local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tile.c | 40 unsigned width, unsigned height) 49 for (row = 0; row < height; row += tile_height) 58 for (j = 0; j < MIN2(tile_height, height - row); ++j) 71 unsigned width, unsigned height) 80 for (row = 0; row < height; row += tile_height) 89 for (j = 0; j < MIN2(tile_height, height - row); ++j) 102 unsigned width, unsigned height) 111 for (row = 0; row < height; row += tile_height) 120 for (j = 0; j < MIN2(tile_height, height - row); ++j) 133 unsigned width, unsigned height) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tile.c | 40 unsigned width, unsigned height) 49 for (row = 0; row < height; row += tile_height) 58 for (j = 0; j < MIN2(tile_height, height - row); ++j) 71 unsigned width, unsigned height) 80 for (row = 0; row < height; row += tile_height) 89 for (j = 0; j < MIN2(tile_height, height - row); ++j) 102 unsigned width, unsigned height) 111 for (row = 0; row < height; row += tile_height) 120 for (j = 0; j < MIN2(tile_height, height - row); ++j) 133 unsigned width, unsigned height) [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis_unittest.cc | 54 for (int r = 0; r < comparison_area.height(); ++r) { 69 return std::abs(static_cast<float>(candidate.width()) / candidate.height() - 70 static_cast<float>(reference.width()) / reference.height()); 92 source.height())); 136 source.height())); 149 draw_rect.height() + 2 * tail_length); 153 draw_rect.height() - 2 * tail_length); 174 source.height())); 190 EXPECT_EQ(column_profile[draw_rect.x()], 255U * (draw_rect.height() + 1)); 200 EXPECT_EQ(2 * 255 * (draw_rect.height() - 2) [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/i420/main/source/ |
i420.cc | 46 if (codecSettings->width < 1 || codecSettings->height < 1) { 58 codecSettings->height) 86 _encodedImage._encodedHeight = inputImage.height(); 93 int height = inputImage.height(); local 94 if (height > std::numeric_limits<uint16_t>::max()) { 99 inputImage.height()) + kI420HeaderSize; 110 buffer = InsertHeader(buffer, width, height); 123 uint16_t height) { 126 *buffer++ = static_cast<uint8_t>(height >> 8) 190 uint16_t width, height; local [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/ |
quality_scaler_unittest.cc | 66 EXPECT_EQ(res.height, scaled_frame.height()); 71 void DoesNotDownscaleFrameDimensions(int width, int height); 84 EXPECT_EQ(input_frame_.height(), res.height); 91 EXPECT_LT(res.height, input_frame_.height()); 127 const int initial_min_dimension = input_frame_.width() < input_frame_.height() 129 : input_frame_.height(); 136 min_dimension = res.width < res.height ? res.width : res.height [all...] |
/external/opencv/otherlibs/highgui/ |
image.cpp | 82 if( !m_img || Bpp() != bpp || m_img->width != w || m_img->height != h ) 122 if( Create( size.width, size.height, 148 if( r.width < 0 || r.height < 0 ) return false; 154 if( r.width == 0 || r.height == 0 ) 157 r.height = img->height; 161 if( r.x > img->width || r.y > img->height || 162 r.x + r.width < 0 || r.y + r.height < 0 ) 176 r.height += r.y; 183 if( r.y + r.height > img->height [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; i++) [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; i++) [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 148 int height = info.height; local 153 for (int i = 0; i < height; i++) { 163 height = height/2; 164 for (int i = 0; i < height; i++) [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 148 int height = info.height; local 153 for (int i = 0; i < height; i++) { 163 height = height/2; 164 for (int i = 0; i < height; i++) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
ImageCanvas.java | 121 imageHeight = mImage.getBounds().height; 124 imageHeight = client.height; 130 mVerticalScrollBar.setThumb(Math.min(imageHeight, client.height)); 133 int vPage = imageHeight - client.height; 155 mVerticalScrollBar.setPageIncrement(clientArea.height); 172 scroll(destX, 0, 0, 0, imageBounds.width, imageBounds.height, false); 184 scroll(0, destY, 0, 0, imageBounds.width, imageBounds.height, false); 197 if (mFitToCanvas && rect.width > 0 && rect.height > 0) { 199 double sy = (double) client.height / (double) rect.height; [all...] |
/bootable/recovery/minui/ |
mkfont.c | 12 n = gimp_image.width * gimp_image.height; 18 printf(" unsigned height;\n"); 23 printf(" .width = %d,\n .height = %d,\n .cwidth = %d,\n .cheight = %d,\n", gimp_image.width, gimp_image.height, 24 gimp_image.width / 96, gimp_image.height);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ShaderTest.java | 32 int height = 120; local 33 int[] color = new int[width * height]; 34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565);
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Mosaic.h | 45 int height = 480; 53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f); 92 * \param height Height 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); 124 * \param height Height of the resulting mosaic (returned) 127 ImageType getMosaic(int &width, int &height); 157 int width, height; member in class:Mosaic
|
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/ |
wallpaper_manager_test_utils.h | 31 // Dimension used for width and height of default wallpaper images. A 40 int height, 45 gfx::ImageSkia CreateTestImage(int width, int height, SkColor color); 51 int height,
|
/external/chromium_org/chrome/browser/ui/views/ |
detachable_toolbar_view.cc | 36 bounds.y(), bounds.width(), bounds.height()); 44 toolbar_left->width(), bounds.height()); 49 toolbar_right->width(), bounds.height()); 62 SkDoubleToScalar(view->height() - vertical_padding - 0.5)); 74 int y = at_top ? 0 : (view->height() - thickness); 111 int height, 119 vertical_padding + 1, height / 2, top_color, middle_color); 124 SkIntToScalar(height / 2) }; 130 height / 2, height - vertical_padding, middle_color, bottom_color) [all...] |