Searched refs:dimensions (Results 1 - 25 of 142) sorted by relevance

123456

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
H A DArrayProto.java46 protected final int dimensions; field in class:ArrayProto
63 dimensions = i;
69 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); }
70 public int getDimensions() { return dimensions; }
83 if (dimensions > 1) {
84 return makeArrayType(elementType, dimensions-1);
103 if (dimensions == ((ArrayProto)other).dimensions &&
110 if (dimensions == ((ArrayProto)other).dimensions) {
147 makeArrayType(@onnull String elementType, int dimensions) argument
[all...]
/external/chromium_org/remoting/host/
H A Dresizing_host_observer.cc34 if ((candidate.dimensions().width() > preferred.dimensions().width()) ||
35 (candidate.dimensions().height() > preferred.dimensions().height())) {
37 static_cast<float>(preferred.dimensions().width()) /
38 candidate.dimensions().width();
40 static_cast<float>(preferred.dimensions().height()) /
41 candidate.dimensions().height();
55 static_cast<float>(candidate.dimensions().width()) /
56 candidate.dimensions()
[all...]
H A Dscreen_resolution.h14 // Describes a screen's dimensions and DPI.
18 ScreenResolution(const webrtc::DesktopSize& dimensions,
21 // Returns the screen dimensions scaled according to the passed |new_dpi|.
26 const webrtc::DesktopSize& dimensions() const { return dimensions_; } function in class:remoting::ScreenResolution
35 // Returns true if the dimensions and DPI of the two resolutions match.
H A Dscreen_resolution.cc19 ScreenResolution::ScreenResolution(const webrtc::DesktopSize& dimensions, argument
21 : dimensions_(dimensions),
23 // Check that dimensions are not negative.
24 DCHECK(!dimensions.is_empty() || dimensions.equals(webrtc::DesktopSize()));
34 // Scale the screen dimensions to new DPI.
47 return dimensions_.equals(other.dimensions()) && dpi_.equals(other.dpi());
H A Ddesktop_resizer_win.cc23 if (a.dimensions().width() != b.dimensions().width())
24 return a.dimensions().width() < b.dimensions().width();
25 if (a.dimensions().height() != b.dimensions().height())
26 return a.dimensions().height() < b.dimensions().height();
106 // If there are multiple modes with the same dimensions:
H A Ddesktop_resizer_linux.cc211 int width = std::min(std::max(preferred.dimensions().width(), min_width),
213 int height = std::min(std::max(preferred.dimensions().height(), min_height),
256 HOST_LOG << "Changing desktop size to " << resolution.dimensions().width()
257 << "x" << resolution.dimensions().height();
260 int width_mm = PixelsToMillimeters(resolution.dimensions().width(),
262 int height_mm = PixelsToMillimeters(resolution.dimensions().height(),
264 CreateMode(kTempModeName, resolution.dimensions().width(),
265 resolution.dimensions().height());
267 XRRSetScreenSize(display_, root_, resolution.dimensions().width(),
268 resolution.dimensions()
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dvideo.py123 dimensions = None
128 dimensions = line.split(',')[2]
129 dimensions = map(int, dimensions.split()[0].split('x'))
132 assert dimensions, ('Failed to determine video dimensions. output=%s' %
134 return dimensions
154 dimensions = GetDimensions(mp4_file)
155 frame_length = dimensions[0] * dimensions[
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpbo.c66 _mesa_validate_pbo_access(GLuint dimensions, argument
106 start = _mesa_image_offset(dimensions, pack, width, height,
110 end = _mesa_image_offset(dimensions, pack, width, height,
176 GLuint dimensions,
183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3);
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth,
273 GLuint dimensions,
279 ASSERT(dimensions
175 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
272 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) argument
331 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) argument
[all...]
H A Dpbo.h34 _mesa_validate_pbo_access(GLuint dimensions,
47 GLuint dimensions,
64 GLuint dimensions,
76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
H A Dteximage.c965 * Return number of dimensions per mipmap level for the given texture target.
1007 * and the dimensions.
1008 * The dimensions are expected not to include the border.
1621 unsigned dimensions)
1670 if (dimensions != 2)
1719 * \param dimensions texture image dimensions (must be 1, 2 or 3).
1739 GLuint dimensions, GLenum target,
1767 "glTexImage%dD(level=%d)", dimensions, level);
1777 "glTexImage%dD(border=%d)", dimensions, borde
1620 _mesa_es_error_check_format_and_type(GLenum format, GLenum type, unsigned dimensions) argument
1738 texture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border ) argument
1969 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize) argument
2146 subtexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type ) argument
2211 subtexture_error_check2( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const struct gl_texture_image *destTex ) argument
2325 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border ) argument
2490 copytexsubimage_error_check1( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level) argument
2539 copytexsubimage_error_check2( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, const struct gl_texture_image *teximage ) argument
3594 compressed_subtexture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dpbo.c66 _mesa_validate_pbo_access(GLuint dimensions, argument
106 start = _mesa_image_offset(dimensions, pack, width, height,
110 end = _mesa_image_offset(dimensions, pack, width, height,
176 GLuint dimensions,
183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3);
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth,
273 GLuint dimensions,
279 ASSERT(dimensions
175 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
272 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) argument
331 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) argument
[all...]
H A Dpbo.h34 _mesa_validate_pbo_access(GLuint dimensions,
47 GLuint dimensions,
64 GLuint dimensions,
76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
/external/chromium_org/chrome/renderer/resources/
H A Doffline.js25 this.dimensions = Runner.defaultDimensions;
116 * Default dimensions.
277 if (this.dimensions.WIDTH < DEFAULT_WIDTH) {
278 var mobileSpeed = speed * this.dimensions.WIDTH / DEFAULT_WIDTH *
301 this.canvas = createCanvas(this.containerEl, this.dimensions.WIDTH,
302 this.dimensions.HEIGHT, Runner.classes.PLAYER);
310 this.horizon = new Horizon(this.canvas, this.images, this.dimensions,
315 this.images.TEXT_SPRITE, this.dimensions.WIDTH);
352 * Adjust game space dimensions on resize.
362 this.dimensions
[all...]
/external/chromium_org/ppapi/c/dev/
H A Dppp_video_decoder_dev.h51 * |dimensions| tells the dimensions of the buffer to allocate.
58 const struct PP_Size* dimensions,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
H A DBuildResults.java38 Dim[] dimensions; field in class:BuildResults
212 * Returns the dimensions supported for the current build.
214 * @return An array of dimensions.
217 return this.dimensions;
244 if (this.dimensions == null) return -1;
245 int length = this.dimensions.length;
247 if (this.dimensions[i] == null) break;
248 if (this.dimensions[i].getId() == dim_id) {
407 this.dimensions = new Dim[length];
414 this.dimensions[
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DRawDataTable.java33 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in class:RawDataTable
66 int length = this.dimensions.length;
69 buffer.append(this.dimensions[i].getName());
91 int dimLength = this.dimensions.length;
93 Dim dimension = this.dimensions[d];
116 int length = this.dimensions.length;
119 dimStats[i] = this.configResults.getStatistics(this.buildPrefixes, this.dimensions[i].getId());
124 String dimName = this.dimensions[i].getName();
152 int length = this.dimensions.length;
155 String dimName = this.dimensions[
[all...]
/external/chromium_org/cc/debug/
H A Dpicture_record_benchmark.cc66 std::pair<int, int> dimensions = it->first; local
75 result->SetInteger("width", dimensions.first);
76 result->SetInteger("height", dimensions.second);
101 std::pair<int, int> dimensions = dimensions_[i]; local
102 int width = dimensions.first;
103 int height = dimensions.second;
118 TotalTime& total_time = times_[dimensions];
/external/chromium_org/ppapi/cpp/dev/
H A Dvideo_decoder_client_dev.h29 const PP_Size& dimensions,
H A Dvideo_decoder_client_dev.cc24 const PP_Size* dimensions,
31 decoder, req_num_of_bufs, *dimensions, texture_target);
21 ProvidePictureBuffers(PP_Instance instance, PP_Resource decoder, uint32_t req_num_of_bufs, const PP_Size* dimensions, uint32_t texture_target) argument
/external/chromium_org/ppapi/api/dev/
H A Dppp_video_decoder_dev.idl33 * |dimensions| tells the dimensions of the buffer to allocate.
42 [in] PP_Size dimensions,
/external/chromium_org/content/browser/renderer_host/media/
H A Dvideo_capture_controller.cc180 const gfx::Size& dimensions);
378 const gfx::Size dimensions(destination_width, destination_height);
380 dimensions,
381 gfx::Rect(dimensions),
382 dimensions)) {
387 DoReserveOutputBuffer(media::VideoFrame::I420, dimensions);
397 media::VideoFrame::I420, media::VideoFrame::kYPlane, dimensions);
401 media::VideoFrame::I420, media::VideoFrame::kUPlane, dimensions);
402 int yplane_stride = dimensions.width();
479 dimensions,
542 DoReserveOutputBuffer( media::VideoFrame::Format format, const gfx::Size& dimensions) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
H A DPerformanceResultsPreferenceInitializer.java58 // Result dimensions
59 Dimension[] dimensions = PerformanceTestPlugin.getResultsDimensions();
60 int length = dimensions.length;
62 Dim dim = (Dim) dimensions[i];
/external/chromium_org/ppapi/proxy/
H A Dppp_video_decoder_proxy.cc23 const PP_Size* dimensions,
31 decoder_resource, req_num_of_bufs, *dimensions, texture_target));
120 const PP_Size& dimensions,
130 &dimensions,
21 ProvidePictureBuffers(PP_Instance instance, PP_Resource decoder, uint32_t req_num_of_bufs, const PP_Size* dimensions, uint32_t texture_target) argument
117 OnMsgProvidePictureBuffers( const HostResource& decoder, uint32_t req_num_of_bufs, const PP_Size& dimensions, uint32_t texture_target) argument
H A Dppp_video_decoder_proxy.h33 const PP_Size& dimensions,
/external/glide/library/src/main/java/com/bumptech/glide/
H A DListPreloader.java62 * Returns the dimensions of the view in the list where the images will be displayed.
64 * Note - The dimensions returned here must precisely match those of the view in the list.
67 * @return The dimensions of the view where the item will be displayed
131 final int[] dimensions = getDimensions(item);
132 if (dimensions != null) {
133 getRequestBuilder(item).into(preloadTargetQueue.next(dimensions[0], dimensions[1]));

Completed in 616 milliseconds

123456