Lines Matching defs:height
105 int width, height; /* of window */
405 center_y = w->height/2;
447 int width, height;
453 center_y = w->height/2;
482 height = ay->maximum - ay->minimum;
483 outline_height = 1.0 * height/width * normalized_width;
487 y = 1.0 * (w->evdev.y - ay->minimum)/height * outline_height;
501 y = 1.0 * (y - ay->minimum)/height * outline_height;
514 y + finger_text_extents.height/2);
573 cairo_translate(cr, w->width/2, w->height/2 + 100);
654 cairo_rel_move_to(cr, -te.width/2, -fe.descent + te.height/2);
672 cairo_rectangle(cr, w->width/2 - 40, w->height - 150, 80, 30);
677 draw_text(cr, name, w->width/2, w->height - 150 + 15);
681 cairo_rectangle(cr, w->width/2 - 40, w->height - 150, 80, 30);
694 cairo_rectangle(cr, w->width/2 - 100, w->height - 200, 70, 30);
696 cairo_rectangle(cr, w->width/2 - 20, w->height - 200, 40, 30);
698 cairo_rectangle(cr, w->width/2 + 30, w->height - 200, 70, 30);
703 cairo_rectangle(cr, w->width/2 - 100, w->height - 200, 70, 30);
704 cairo_rectangle(cr, w->width/2 - 20, w->height - 200, 40, 30);
705 cairo_rectangle(cr, w->width/2 + 30, w->height - 200, 70, 30);
720 ry = w->height/2 + 100;
752 ry = w->height/2 + 50;
783 ry = w->height/2 + 50;
933 y1 = w->height/2 - 200;
935 y2 = w->height/2 - 200;
950 y3 = w->height/2 + 200;
952 y4 = w->height/2 + 100;
967 y1 = w->height * 1.0/4.0;
968 y2 = w->height * 3.0/4.0;
986 cairo_rectangle(cr, 0, 0, w->width, w->height);
1010 int height,
1022 w->height = gtk_widget_get_height(w->area);
1024 gtk_window_get_size(GTK_WINDOW(widget), &w->width, &w->height);
1028 w->pointer.y = w->height/2;
1030 w->unaccelerated.y = w->height/2;
1035 w->scroll.vy = w->height/2;
1037 w->scroll.hy = w->height/2;
1039 w->scroll.vy_discrete = w->height/2;
1041 w->scroll.hy_discrete = w->height/2;
1044 w->swipe.y = w->height/2;
1048 w->pinch.y = w->height/2;
1053 map_event_cb(GtkDrawingArea *widget, int width, int height, gpointer data)
1404 w->pointer.y = clip(w->pointer.y + dy, 0.0, w->height);
1406 w->unaccelerated.y = clip(w->unaccelerated.y + dy_unaccel, 0.0, w->height);
1422 y = libinput_event_pointer_get_absolute_y_transformed(p, w->height);
1453 y = libinput_event_touch_get_y_transformed(t, w->height);
1474 w->scroll.vy = clip(w->scroll.vy, 0, w->height);
1478 w->scroll.vy_discrete = clip(w->scroll.vy_discrete, 0, w->height);
1561 w->swipe.y = w->height/2;
1572 w->swipe.y = w->height/2;
1592 w->pinch.y = w->height/2;
1605 w->pinch.y = w->height/2;
1648 y = libinput_event_tablet_tool_get_y_transformed(t, w->height);
1665 w->tool.deltas[0].y = w->height/2;