Home
last modified time | relevance | path

Searched refs:one_pixel (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/aura/test/
Dtest_screen.cc64 float one_pixel = 1.0f / display_.device_scale_factor(); in GetRotationTransform() local
69 rotate.Translate(display_.bounds().height() - one_pixel, 0); in GetRotationTransform()
73 rotate.Translate(0, display_.bounds().width() - one_pixel); in GetRotationTransform()
77 rotate.Translate(display_.bounds().width() - one_pixel, in GetRotationTransform()
78 display_.bounds().height() - one_pixel); in GetRotationTransform()
/external/chromium_org/ash/display/
Droot_window_transformers.cc72 float one_pixel = 1.0f / display.device_scale_factor(); in CreateRotationTransform() local
77 rotate.Translate(display.bounds().height() - one_pixel, 0); in CreateRotationTransform()
81 rotate.Translate(0, display.bounds().width() - one_pixel); in CreateRotationTransform()
85 rotate.Translate(display.bounds().width() - one_pixel, in CreateRotationTransform()
86 display.bounds().height() - one_pixel); in CreateRotationTransform()