/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_buffer.c | 144 const unsigned adj = tx->base.box.x & NOUVEAU_MIN_BUFFER_MAP_ALIGN_MASK; 145 const unsigned size = align(tx->base.box.width, 4) + adj; 174 const unsigned base = tx->base.box.x; 175 const unsigned size = tx->base.box.width; 197 const unsigned base = tx->base.box.x + offset; 265 const struct pipe_box *box, 271 tx->base.box.x = box->x; 272 tx->base.box.y = 0; 273 tx->base.box.z = 0 [all...] |
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
virgl_vtest_winsys.c | 44 const struct pipe_box *box, 50 valid_stride = util_format_get_stride(res->format, box->width); 52 if (box->height > 1) 57 box->height); 59 if (box->depth > 1) 64 return valid_layer_stride * box->depth; 70 const struct pipe_box *box, 79 size = vtest_get_transfer_size(res, box, stride, layer_stride, level, 84 box, size); 94 const struct pipe_box *box, 579 struct pipe_box box; local [all...] |
virgl_vtest_socket.c | 216 const struct pipe_box *box, 231 cmd[4] = box->x; 232 cmd[5] = box->y; 233 cmd[6] = box->z; 234 cmd[7] = box->width; 235 cmd[8] = box->height; 236 cmd[9] = box->depth; 255 const struct pipe_box *box, 260 int hblocks = util_format_get_nblocksy(format, box->height); 265 memcpy(ptr, line, util_format_get_stride(format, box->width)) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
DeviceProfilesSettingsTest.java | 99 CheckBox box = local 101 assertThat(box).isNotNull(); 102 assertThat(box.getVisibility()).isEqualTo(View.VISIBLE); 103 assertThat(box.isEnabled()).isTrue(); 104 assertThat(box.isChecked()).isTrue(); 106 box.performClick(); 108 box.performClick(); 123 CheckBox box = local 125 assertThat(box).isNotNull(); 126 assertThat(box.getVisibility()).isEqualTo(View.VISIBLE) 196 CheckBox box = local [all...] |
/external/opencv/cv/src/ |
cvrotcalipers.cpp | 351 CvBox2D box; local 356 memset(&box, 0, sizeof(box)); 443 box.center.x = out[0].x + (out[1].x + out[2].x)*0.5f; 444 box.center.y = out[0].y + (out[1].y + out[2].y)*0.5f; 445 box.size.height = (float)sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); 446 box.size.width = (float)sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y); 447 box.angle = (float)atan2( -(double)out[1].y, (double)out[1].x ); 451 box.center.x = (points[0].x + points[1].x)*0.5f; 452 box.center.y = (points[0].y + points[1].y)*0.5f [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_clear.c | 274 const struct pipe_box *box, 285 tmpl.u.tex.first_layer = box->z; 286 tmpl.u.tex.last_layer = box->z + box->depth - 1; 331 if (box->x == 0 && box->y == 0 && box->width == surface->width && 332 box->height == surface->height) { 357 box->x, box->y [all...] |
/external/python/cpython3/Lib/idlelib/ |
percolator.py | 74 box = tk.Toplevel(parent) 75 box.title("Test Percolator") 77 box.geometry("+%d+%d" % (x, y + 175)) 78 text = tk.Text(box) 92 cb1 = tk.Checkbutton(box, text="Tracer1", command=toggle1, variable=var1) 95 cb2 = tk.Checkbutton(box, text="Tracer2", command=toggle2, variable=var2)
|
calltip_w.py | 34 box = self.widget.bbox("%d.%d" % (self.parenline, 37 box = self.widget.bbox("%d.0" % curline) 38 if not box: 39 box = list(self.widget.bbox("insert")) 41 box[0] = 0 42 box[2] = 0 43 x = box[0] + self.widget.winfo_rootx() + 2 44 y = box[1] + box[3] + self.widget.winfo_rooty()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
CustomConverterProcessorTest.kt | 63 singleClass(createConverter(TypeName.SHORT.box(), TypeName.CHAR.box())) { converter, _ -> 64 assertThat(converter?.fromTypeName, `is`(TypeName.SHORT.box())) 65 assertThat(converter?.toTypeName, `is`(TypeName.CHAR.box())) 71 singleClass(createConverter(TypeName.SHORT, TypeName.CHAR.box())) { converter, _ -> 73 assertThat(converter?.toTypeName, `is`(TypeName.CHAR.box())) 79 singleClass(createConverter(TypeName.INT.box(), TypeName.DOUBLE)) { converter, _ -> 80 assertThat(converter?.fromTypeName, `is`(TypeName.INT.box())) 225 createConverter(TypeName.SHORT.box(), TypeName.CHAR.box(), duplicate = true [all...] |
/external/mesa3d/src/gallium/drivers/virgl/ |
virgl_resource.c | 90 struct pipe_box box; local 97 u_box_1d(offset, size, &box); 98 virgl_transfer_inline_write(pipe, resource, 0, usage, &box, data, 0, 0);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
vdpau_private.h | 319 struct pipe_box box; local 321 box.x = 0; 322 box.y = 0; 323 box.z = 0; 324 box.width = res->width0; 325 box.height = res->height0; 326 box.depth = 1; 329 box.x = MIN2(rect->x0, rect->x1); 330 box.y = MIN2(rect->y0, rect->y1); 331 box.width = abs(rect->x1 - rect->x0) [all...] |
/external/autotest/client/cros/image_comparison/ |
pdiff_image_comparer.py | 22 def compare(self, golden_img_path, test_img_path, box=None): 29 @param box: int tuple, left, upper, right, lower pixel coordinates. 35 if not box: 46 Image.open(golden_img_path).crop(box).save(tmp_golden_img_path) 47 Image.open(test_img_path).crop(box).save(tmp_test_img_path)
|
/external/autotest/client/site_tests/ui_SystemTray/ |
ui_SystemTray.py | 59 box = (w - self.width, h - self.height, w, h) 62 graphics_utils.take_screenshot_crop(filepath, box) 79 graphics_utils.take_screenshot_crop(filepath, box) 80 graphics_utils.take_screenshot_crop(temp_file_path, box)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_inlines.h | 273 struct pipe_box box; local 280 u_box_1d(offset, length, &box); 282 map = pipe->transfer_map(pipe, buffer, 0, access, &box, transfer); 319 struct pipe_box box; local 323 assert(transfer->box.x <= (int) offset); 324 assert((int) (offset + length) <= transfer->box.x + transfer->box.width); 330 transfer_offset = offset - transfer->box.x; 332 u_box_1d(transfer_offset, length, &box); 334 pipe->transfer_flush_region(pipe, transfer, &box); 421 struct pipe_box box; local 444 struct pipe_box box; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource_buffer.c | 68 const struct pipe_box *box, 81 transfer->box = *box; 84 return buffer->data + transfer->box.x;
|
/external/mesa3d/src/mesa/main/ |
scissor.c | 96 * Define the scissor box. 98 * \param x, y coordinates of the scissor box lower-left corner. 99 * \param width width of the scissor box. 100 * \param height height of the scissor box. 162 * Define the scissor box. 165 * \param x, y coordinates of the scissor box lower-left corner. 166 * \param width width of the scissor box. 167 * \param height height of the scissor box. 215 _mesa_WindowRectanglesEXT(GLenum mode, GLsizei count, const GLint *box) 223 _mesa_enum_to_string(mode), count, box); [all...] |
/external/python/cpython2/Demo/tix/samples/ |
ComboBox.py | 14 # to the MS Window Combo Box control. 26 # $w.top.a is a drop-down combo box. It is not editable -- who wants 37 # $w.top.b is a non-drop-down combo box. It is not editable: we provide 72 # Use "tixSetSilent" to set the values of the combo box if you 79 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL) 80 box.add('ok', text='Ok', underline=0, width=6, 82 box.add('cancel', text='Cancel', underline=0, width=6, 84 box.pack(side=Tix.BOTTOM, fill=Tix.X)
|
Control.py | 75 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL) 76 box.add('ok', text='Ok', underline=0, width=6, 78 box.add('cancel', text='Cancel', underline=0, width=6, 80 box.pack(side=Tix.BOTTOM, fill=Tix.X)
|
DirTree.py | 38 # of the dialog box 82 box = Tix.ButtonBox (w, orientation='horizontal') 83 box.add ('ok', text='Ok', underline=0, width=6, 85 box.add ('cancel', text='Cancel', underline=0, width=6, 88 box.pack( anchor='s', fill='x', side=BOTTOM)
|
PanedWin.py | 79 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL) 80 box.add('ok', text='Ok', underline=0, width=6, 82 box.add('cancel', text='Cancel', underline=0, width=6, 84 box.pack(side=Tix.BOTTOM, fill=Tix.X)
|
SHList1.py | 34 # at the top of the dialog box 102 box= Tix.ButtonBox(top, orientation=Tix.HORIZONTAL ) 103 box.add( 'ok', text='Ok', underline=0, width=6, 106 box.add( 'cancel', text='Cancel', underline=0, width=6, 109 box.pack( side=Tix.BOTTOM, fill=Tix.X)
|
Tree.py | 29 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL) 30 box.add('ok', text='Ok', underline=0, command=w.destroy, width=6) 31 box.add('cancel', text='Cancel', underline=0, command=w.destroy, width=6) 32 box.pack(side=Tix.BOTTOM, fill=Tix.X)
|
/external/python/cpython2/Lib/idlelib/ |
CallTipWindow.py | 34 box = self.widget.bbox("%d.%d" % (self.parenline, 37 box = self.widget.bbox("%d.0" % curline) 38 if not box: 39 box = list(self.widget.bbox("insert")) 41 box[0] = 0 42 box[2] = 0 43 x = box[0] + self.widget.winfo_rootx() + 2 44 y = box[1] + box[3] + self.widget.winfo_rooty()
|
/external/trappy/trappy/plotter/css/ |
EventPlot.css | 28 box-sizing: border-box;
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
InsertionMethod.kt | 50 ArrayTypeName.of(TypeName.LONG.box())), // return Long[] 52 ParameterizedTypeName.get(List::class.typeName(), TypeName.LONG.box()))
|