Home | History | Annotate | Download | only in shelf

Lines Matching defs:target_bounds

277   TargetBounds target_bounds;
278 CalculateTargetBounds(state_, &target_bounds);
279 GetLayer(shelf_)->SetOpacity(target_bounds.opacity);
283 target_bounds.shelf_bounds_in_root));
286 target_bounds.launcher_bounds_in_shelf);
288 target_bounds.status_opacity);
291 gfx::Rect status_bounds = target_bounds.status_bounds_in_shelf;
293 target_bounds.shelf_bounds_in_root.x());
295 target_bounds.shelf_bounds_in_root.y());
301 root_window_, target_bounds.work_area_insets);
598 TargetBounds target_bounds;
599 CalculateTargetBounds(state_, &target_bounds);
609 target_bounds.shelf_bounds_in_root);
610 GetLayer(shelf_)->SetOpacity(target_bounds.opacity);
658 gfx::Rect status_bounds = target_bounds.status_bounds_in_shelf;
660 target_bounds.shelf_bounds_in_root.x());
662 target_bounds.shelf_bounds_in_root.y());
664 layer->SetOpacity(target_bounds.status_opacity);
666 root_window_, target_bounds.work_area_insets);
706 TargetBounds* target_bounds) {
734 target_bounds->shelf_bounds_in_root = SelectValueForShelfAlignment(
750 target_bounds->status_bounds_in_shelf = SelectValueForShelfAlignment(
762 target_bounds->work_area_insets = SelectValueForShelfAlignment(
775 target_bounds->work_area_insets += keyboard_insets;
783 target_bounds->work_area_insets += dock_insets;
786 target_bounds->opacity =
790 target_bounds->status_opacity =
794 0.0f : target_bounds->opacity;
797 UpdateTargetBoundsForGesture(target_bounds);
801 target_bounds->launcher_bounds_in_shelf = SelectValueForShelfAlignment(
804 target_bounds->shelf_bounds_in_root.height()),
805 gfx::Rect(0, 0, target_bounds->shelf_bounds_in_root.width(),
807 gfx::Rect(0, 0, target_bounds->shelf_bounds_in_root.width(),
811 target_bounds->shelf_bounds_in_root.height()));
815 TargetBounds* target_bounds) const {
851 int shelf_height = target_bounds->shelf_bounds_in_root.height() - translate;
853 target_bounds->shelf_bounds_in_root.set_height(shelf_height);
855 target_bounds->shelf_bounds_in_root.set_y(
860 target_bounds->status_bounds_in_shelf.set_y(kStatusAreaInset);
863 gfx::Rect status_y = target_bounds->shelf_bounds_in_root;
866 target_bounds->status_bounds_in_shelf.size());
867 target_bounds->status_bounds_in_shelf.set_y(status_y.y());
871 int shelf_width = target_bounds->shelf_bounds_in_root.width();
877 target_bounds->shelf_bounds_in_root.set_width(shelf_width);
879 target_bounds->shelf_bounds_in_root.set_x(
885 target_bounds->shelf_bounds_in_root.set_x(
888 target_bounds->shelf_bounds_in_root.set_x(kStatusAreaInset);
892 gfx::Rect status_x = target_bounds->shelf_bounds_in_root;
895 target_bounds->status_bounds_in_shelf.size());
896 target_bounds->status_bounds_in_shelf.set_x(status_x.x());