/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
xm_api.c | 433 * \param vis the buffer's visual 439 XMesaVisual vis, Colormap cmap) 441 XMesaDisplay xmdpy = xmesa_init_display(vis->display); 455 b->ws.visual = vis->visinfo->visual; 456 b->ws.depth = vis->visinfo->depth; 458 b->xm_visual = vis; 462 get_drawable_size(vis->display, d, &width, &height); 761 struct gl_config *vis = &v->mesa_visual; local 763 vis->rgbMode = GL_TRUE; 764 vis->doubleBufferMode = db_flag [all...] |
glx_api.c | 379 XVisualInfo temp, *vis; local 399 vis = XGetVisualInfo( dpy, mask, &temp, &n ); 405 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) { 406 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && 407 _mesa_bitcount((GLuint) vis->green_mask) <= 8 && 408 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) { 409 return vis; 412 XFree((void *) vis); 417 return vis; 434 XVisualInfo *vis; local 479 XVisualInfo *vis; local 665 XVisualInfo *vis; local [all...] |
/external/opencv3/samples/python2/ |
digits.py | 115 vis = [] 120 vis.append(img) 121 return mosaic(25, vis) 173 vis = evaluate_model(model, digits_test, samples_test, labels_test) variable 174 cv2.imshow('KNearest test', vis) 179 vis = evaluate_model(model, digits_test, samples_test, labels_test) variable 180 cv2.imshow('SVM test', vis)
|
contours.py | 53 vis = np.zeros((h, w, 3), np.uint8) 55 cv2.drawContours( vis, contours, (-1, 3)[levels <= 0], (128,255,255), 57 cv2.imshow('contours', vis)
|
mosse.py | 105 vis = np.hstack([self.last_img, kernel, resp]) 106 return vis 108 def draw_state(self, vis): 111 cv2.rectangle(vis, (x1, y1), (x2, y2), (0, 0, 255)) 113 cv2.circle(vis, (int(x), int(y)), 2, (0, 0, 255), -1) 115 cv2.line(vis, (x1, y1), (x2, y2), (0, 0, 255)) 116 cv2.line(vis, (x2, y1), (x1, y2), (0, 0, 255)) 117 draw_str(vis, (x1, y2+16), 'PSR: %.2f' % self.psr) 163 vis = self.frame.copy() 165 tracker.draw_state(vis) [all...] |
opt_flow.py | 22 vis = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR) 23 cv2.polylines(vis, lines, 0, (0, 255, 0)) 25 cv2.circle(vis, (x1, y1), 1, (0, 255, 0), -1) 26 return vis
|
plane_tracker.py | 153 vis = self.frame.copy() 157 cv2.polylines(vis, [np.int32(tr.quad)], True, (255, 255, 255), 2) 159 cv2.circle(vis, (x, y), 2, (255, 255, 255)) 161 self.rect_sel.draw(vis) 162 cv2.imshow('plane', vis)
|
watershed.py | 53 vis = cv2.addWeighted(self.img, 0.5, overlay, 0.5, 0.0, dtype=cv2.CV_8UC3) 54 cv2.imshow('watershed', vis)
|
/external/libedit/src/ |
vis.h | 1 /* $NetBSD: vis.h,v 1.21 2013/02/20 17:01:15 christos Exp $ */ 31 * @(#)vis.h 8.1 (Berkeley) 6/2/93 80 char *vis(char *, int, int, int);
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerInternal.java | 74 void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, int mask,
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
plugin_test.c | 46 char* vis; member in struct:sym_info 263 int vis; local 332 if (strncmp(info.vis, "INTERNAL", 8) == 0) 333 vis = LDPV_INTERNAL; 334 else if (strncmp(info.vis, "HIDDEN", 6) == 0) 335 vis = LDPV_HIDDEN; 336 else if (strncmp(info.vis, "PROTECTED", 9) == 0) 337 vis = LDPV_PROTECTED; 339 vis = LDPV_DEFAULT; 372 syms[nsyms].visibility = vis; [all...] |
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/ |
SystemUiHiderHoneycomb.java | 113 public void onSystemUiVisibilityChange(int vis) { 115 if ((vis & mTestFlags) != 0) {
|
/frameworks/base/core/java/com/android/internal/logging/ |
MetricsLogger.java | 57 public static void visibility(Context context, int category, int vis) 59 visibility(context, category, vis == View.VISIBLE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
AnimatedImageView.java | 114 protected void onVisibilityChanged(View changedView, int vis) { 115 super.onVisibilityChanged(changedView, vis);
|
/external/mesa3d/src/mesa/main/ |
context.c | 224 struct gl_config *vis = CALLOC_STRUCT(gl_config); local 225 if (vis) { 226 if (!_mesa_initialize_visual(vis, dbFlag, stereoFlag, 232 free(vis); 236 return vis; 251 _mesa_initialize_visual( struct gl_config *vis, 266 assert(vis); 279 vis->rgbMode = GL_TRUE; 280 vis->doubleBufferMode = dbFlag; 281 vis->stereoMode = stereoFlag [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
fakeglx.c | 524 XVisualInfo temp, *vis; local 544 vis = XGetVisualInfo( dpy, mask, &temp, &n ); 550 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) { 551 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && 552 _mesa_bitcount((GLuint) vis->green_mask) <= 8 && 553 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) { 554 return vis; 557 XFree((void *) vis); 562 return vis; 580 XVisualInfo *vis; local 621 XVisualInfo *vis; local 894 XVisualInfo *vis; local [all...] |
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
SystemBarHelperTest.java | 189 private View createViewWithSystemUiVisibility(int vis) { 192 view.setSystemUiVisibility(vis); 197 private Window createWindowWithSystemUiVisibility(int vis) { 198 final Window window = new TestWindow(getContext(), createViewWithSystemUiVisibility(vis)); 201 attrs.systemUiVisibility = vis;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
PolicyControl.java | 67 int vis = win != null ? win.getSystemUiVisibility() : attrs.systemUiVisibility; local 69 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY 72 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE 76 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY 79 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE 82 return vis;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
LightStatusBarController.java | 80 private boolean isLight(int vis, int statusBarMode) { 84 boolean light = (vis & View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) != 0;
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageDetailActivity.java | 107 public void onSystemUiVisibilityChange(int vis) { 108 if ((vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) != 0) { 206 final int vis = mPager.getSystemUiVisibility(); local 207 if ((vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) != 0) {
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageDetailActivity.java | 107 public void onSystemUiVisibilityChange(int vis) { 108 if ((vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) != 0) { 206 final int vis = mPager.getSystemUiVisibility(); local 207 if ((vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) != 0) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Visibility1.java | 47 Button visibleButton = (Button) findViewById(R.id.vis);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
ImageDetailActivity.java | 107 public void onSystemUiVisibilityChange(int vis) { 108 if ((vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) != 0) { 206 final int vis = mPager.getSystemUiVisibility(); local 207 if ((vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) != 0) {
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
IStatusBarService.aidl | 41 void setImeWindowStatus(in IBinder token, int vis, int backDisposition, 64 void setSystemUiVisibility(int vis, int mask, String cause);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
Visibility.java | 40 Button visibleButton = (Button) findViewById(R.id.vis);
|