HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 326 - 350 of 9458) sorted by null

<<11121314151617181920>>

  /frameworks/base/media/mca/filterpacks/native/base/
geometry.h 81 float height() const { return height_; } function in class:android::filterfw::SlantedRect
89 float x, y, width, height; member in struct:android::filterfw::Rect
93 width = height = 1.0f;
96 Rect(float x, float y, float width, float height) {
100 this->height = height;
geometry.cpp 72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
76 const float current_ratio = width / height;
82 const float dy = height * (current_ratio / ratio - 1.0f);
84 height += dy;
90 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
94 const float current_length = width > height ? width : height;
99 const float dy = height * (length / current_length - 1.0f);
101 height += dy;
107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f)
    [all...]
  /hardware/intel/common/libva/test/common/
va_display_android.cpp 51 static int create_window(int x, int y, int width, int height)
57 width, height,
70 surface_ctr->setSize(width, height);
88 create_window(dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height);
92 src_rect->width, src_rect->height,
94 dst_rect->width, dst_rect->height,
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
LeaveBehindData.java 27 final int height; field in class:LeaveBehindData
29 public LeaveBehindData(Conversation conv, ToastBarOperation undoOp, int height) {
32 this.height = height;
44 arg.writeInt(height);
50 height = arg.readInt();
  /packages/apps/Camera2/src/com/android/camera/
CaptureLayoutHelper.java 224 public void onNonDecorWindowSizeChanged(int width, int height, int rotation) {
226 mWindowHeight = height;
233 * activity layout width, height and aspect ratio.
237 * @param height height of the main activity layout, excluding system decor
244 private PositionConfiguration getPositionConfiguration(int width, int height,
246 boolean landscape = width > height;
252 config.mPreviewRect.set(0, 0, width, height);
255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height);
257 config.mBottomBarRect.set(0, height - mBottomBarOptimalHeight, width, height)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TiledScreenNail.java 62 public TiledScreenNail(int width, int height) {
63 setSize(width, height);
75 private void setSize(int width, int height) {
76 if (width == 0 || height == 0) {
78 height = sMaxSide * 3 / 4;
80 float scale = Math.min(1, (float) sMaxSide / Math.max(width, height));
82 mHeight = Math.round(scale * height);
98 // height, and Bitmap, then recycle the other.
114 public void updatePlaceholderSize(int width, int height) {
116 if (width == 0 || height == 0) return
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
GraphicsUtilities.java 34 ImageData result = new ImageData(image.width + 2, image.height + 2, image.depth,
40 for (int y = 0; y < image.height; y++) {
62 int height = imageData.height; local
63 for (int y = 0; y < height; y++) {
79 ImageData result = new ImageData(image.width, image.height, image.depth,
85 for (int y = 0; y < image.height; y++) {
103 public static int getVerticalPixels(ImageData data, int x, int y, int height, int[] out) {
110 if (height > out.length) {
111 throw new IllegalArgumentException("out array length must be > height");
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_zs.c 117 unsigned width, unsigned height)
120 for(y = 0; y < height; ++y) {
130 unsigned width, unsigned height)
133 for(y = 0; y < height; ++y) {
143 unsigned width, unsigned height)
146 for(y = 0; y < height; ++y) {
164 unsigned width, unsigned height)
167 for(y = 0; y < height; ++y) {
186 unsigned width, unsigned height)
189 for(y = 0; y < height; ++y)
    [all...]
u_format_latc.c 56 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
58 util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
63 unsigned src_stride, unsigned width, unsigned height)
65 util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
69 util_format_latc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
74 for(y = 0; y < height; y += 4) {
95 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height)
97 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height);
119 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
125 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BitmapPool.java 65 * width as each other and height as each other, but not necessarily the same).
124 * @return The pool key for the provided image dimensions or 0 if either width or height is
127 private int getPoolKey(final int width, final int height) {
128 if (width > MAX_SUPPORTED_IMAGE_DIMENSION || height > MAX_SUPPORTED_IMAGE_DIMENSION) {
131 return (width << 16) | height;
139 private Bitmap findPoolBitmap(final int width, final int height) {
140 final int poolKey = getPoolKey(width, height);
158 * height and then set that in the bitmap options properly.
160 * TODO: Why do we take a width/height? Shouldn't this already be in the
165 * @param height The height of the reusable bitmap
    [all...]
  /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
LwjglFrame.java 32 public LwjglFrame (ApplicationListener listener, String title, int width, int height) {
37 config.height = height;
56 protected void setDisplayMode (int width, int height) {
57 LwjglFrame.this.getContentPane().setPreferredSize(new Dimension(width, height));
61 updateSize(width, height);
64 protected void resize (int width, int height) {
65 updateSize(width, height);
85 getContentPane().setPreferredSize(new Dimension(config.width, config.height));
143 public void updateSize (int width, int height) {
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
image.h 42 VGint width, height; member in struct:vg_image
53 VGint width, VGint height);
57 VGint x, VGint y, VGint width, VGint height);
64 VGint width, VGint height);
71 VGint width, VGint height);
75 VGint width, VGint height);
79 VGint width, VGint height,
86 VGint width, VGint height);
89 VGint width, VGint height);
102 VGint width, VGint height);
    [all...]
  /external/opencv3/modules/core/perf/
perf_mat.cpp 17 Mat diagonalMatrix(size.height, size.width, type);
38 Mat zeroMatrix(size.height, size.width, type);
59 Mat source(size.height, size.width, type);
60 Mat destination(size.height, size.width, type);;
83 unsigned int height = size.height; local
84 Mat source(height, width, type);
85 Mat destination(size.height/2, size.width/2, type);
89 Mat roi(source, Rect(width/4, height/4, 3*width/4, 3*height/4))
    [all...]
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
CaptureQualityController.java 37 private int height = 0; field in class:CaptureQualityController
56 return first.width * first.height - second.width * second.height;
68 height = 0;
78 (long) format.width * format.height * format.maxFramerate);
92 height = bestFormat.height;
94 captureFormatText.setText(width + "x" + height + " @ " + framerate + "fps");
103 callEvents.onCaptureFormatChange(width, height, framerate);
109 (int) Math.round(bandwidth / (format.width * format.height))) / 1000.0)
    [all...]
  /external/webrtc/webrtc/tools/psnr_ssim_analyzer/
psnr_ssim_analyzer.cc 25 const char* results_file_name, int width, int height) {
34 int size = webrtc::test::GetI420FrameSize(width, height);
44 reference_file_name, width, height, frame_counter, ref_frame):
46 height, frame_counter, ref_frame);
48 height, frame_counter, test_frame);
55 webrtc::test::kPSNR, ref_frame, test_frame, width, height);
57 webrtc::test::kSSIM, ref_frame, test_frame, width, height);
81 * --height=<height_of_frames>
89 "--height=240\n"
92 " - height(int): The height of the reference and test files.
123 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); local
    [all...]
  /frameworks/base/libs/hwui/tests/common/scenes/
RecentsAnimation.cpp 31 void createContent(int width, int height, TestCanvas& renderer) override {
39 thumbnailSize = std::min(std::min(width, height) / 2, 720);
40 int cardsize = std::min(width, height) - dp(64);
47 int y = (height / 4) * i;
71 sp<RenderNode> createCard(int x, int y, int width, int height,
73 return TestUtils::createNode(x, y, x + width, y + height,
74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) {
76 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1);
80 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(),
81 0, 0, width, height, nullptr)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
AvatarGroupRequestDescriptor.java 74 final float height = desiredHeight; local
76 final float halfHeight = height / 2F;
100 destArray[1] = new RectF(width - diameter, height - diameter, width, height);
132 final float radius = height / 4F;
133 final float imageTwoCenterY = height - radius;
140 destArray[1] = new RectF(0, halfHeight, halfWidth, height);
141 destArray[2] = new RectF(halfWidth, halfHeight, width, height);
153 destArray[2] = new RectF(0, halfHeight, halfWidth, height);
154 destArray[3] = new RectF(halfWidth, halfHeight, width, height);
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
LaunchingTaskPositioner.java 95 int height = mAvailableRect.height(); local
97 mDefaultFreeformStartY = mAvailableRect.top + height / MARGIN_SIZE_DENOMINATOR;
99 mDefaultFreeformHeight = height / WINDOW_SIZE_DENOMINATOR;
101 mDefaultFreeformStepVertical = Math.max(height / STEP_DENOMINATOR, MINIMAL_STEP);
125 int height = getFinalHeight(windowLayout); local
130 positionTopRight(task, tasks, width, height);
132 positionTopLeft(task, tasks, width, height);
136 positionBottomRight(task, tasks, width, height);
138 positionBottomLeft(task, tasks, width, height);
161 int height = mDefaultFreeformHeight; local
    [all...]
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
YUVImage.java 47 * image. The width and height of each plane are determined by the image
48 * width, height, and level of chrominance subsampling. The luminance plane
52 * height is the image height padded to the nearest multiple of the vertical
56 * plane height is equal to the luminance plane height divided by the vertical
84 * @param height height (in pixels) of the YUV image
89 public YUVImage(int width, int[] strides, int height, int subsamp)
91 setBuf(null, null, width, strides, height, subsamp, true)
    [all...]
  /external/opencv3/modules/video/src/
camshift.cpp 61 if( window.height <= 0 || window.width <= 0 )
64 window = window & Rect(0, 0, size.width, size.height);
72 cur_rect = cur_rect & Rect(0, 0, size.width, size.height);
76 cur_rect.y = size.height/2;
79 cur_rect.height = std::max(cur_rect.height, 1);
88 int dy = cvRound( m.m01/m.m00 - window.height*0.5 );
91 int ny = std::min(std::max(cur_rect.y + dy, 0), size.height - cur_rect.height);
136 window.height += 2 * TOLERANCE
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/win/
cursor.cc 56 void AddCursorOutline(int width, int height, uint32_t* data) {
57 for (int y = 0; y < height; y++) {
65 (y < height - 1 && data[width] == kPixelRgbaBlack) ||
78 void AlphaMul(uint32_t* data, int width, int height) {
82 for (uint32_t* data_end = data + width * height; data != data_end; ++data) {
96 bool HasAlphaChannel(const uint32_t* data, int stride, int width, int height) {
98 for (int y = 0; y < height; ++y) {
137 int height = bitmap_info.bmHeight; local
138 rtc::scoped_ptr<uint32_t[]> mask_data(new uint32_t[width * height]);
145 bmi.bV5Height = -height; // request a top-down bitmap
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
MaxRectsPacker.java 43 throw new RuntimeException("Page min height cannot be higher than max height.");
50 rect.height += settings.paddingY;
58 int n1 = o1.width > o1.height ? o1.width : o1.height;
59 int n2 = o2.width > o2.height ? o2.width : o2.height;
106 minHeight = Math.min(minHeight, rect.height);
107 float width = rect.width - paddingX, height = rect.height - paddingY local
160 int height = settings.square ? width : heightSearch.reset(); local
374 int height = rect.height; local
    [all...]
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
vc1parse_bitplane.c 27 * mby - image height in MB
149 * width, height are in MB unit.
152 int32_t width, int32_t height)
174 // If width*height is odd, the first bit is the value of the bitplane
176 if ((width*height) & 1) /* first bit if size is odd */
179 put_bit(tmp_databits, 0, 0, width, height, pBitplane->invert,
197 for (i = (width*height) & 1; i < (width*height/2)*2; i += 2)
209 put_bit(0, col[0],row[0], width, height, pBitplane->invert,
211 put_bit(0, col[1],row[1], width, height, pBitplane->invert
    [all...]
  /external/libvncserver/examples/
pnmshow24.c 25 int j,width,height,paddedWidth; local
48 /* get width & height */
49 sscanf(buffer,"%d %d",&width,&height);
50 rfbLog("Got width %d and height %d.\n",width,height);
62 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,3,3);
76 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height);
77 fread(rfbScreen->frameBuffer,width*3,height,in);
83 for(j=height-1;j>=0;j--) {
  /external/opencv3/samples/cpp/
polar_transforms.cpp 54 log_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );
55 lin_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );
56 recovered_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );
59 cvLogPolar(frame,log_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);
60 cvLinearPolar(frame,lin_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);
63 cvLogPolar(log_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_WARP_INVERSE_MAP+CV_INTER_LINEAR);
65 cvLinearPolar(lin_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_WARP_INVERSE_MAP+CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);

Completed in 1421 milliseconds

<<11121314151617181920>>