Searched refs:one_pixel (Results 1 – 2 of 2) sorted by relevance
64 float one_pixel = 1.0f / display_.device_scale_factor(); in GetRotationTransform() local69 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()
72 float one_pixel = 1.0f / display.device_scale_factor(); in CreateRotationTransform() local77 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()