Searched refs:widthDips (Results 1 – 1 of 1) sorted by relevance
288 float widthDips = mWidth / mDisplayScaleX; in updateViewSize() local291 mShape.SetShape(scenic::Rectangle(&mScenicSession, widthDips, heightDips)); in updateViewSize()292 mShape.SetTranslation(0.5f * widthDips, 0.5f * heightDips, 0.f); in updateViewSize()