Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java252 float offsetScale = (scale / mWindowScale - 1.0f) * 0.5f; in updateWindowParams() local
255 int x = (int)(mWindowX + mLiveTranslationX - width * offsetScale); in updateWindowParams()
256 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale); in updateWindowParams()
262 + ", offsetScale=" + offsetScale in updateWindowParams()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DOverlayDisplayWindow.java352 float offsetScale = (scale / mWindowScale - 1.0f) * 0.5f; in updateWindowParams() local
355 int x = (int)(mWindowX + mLiveTranslationX - width * offsetScale); in updateWindowParams()
356 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale); in updateWindowParams()
362 + ", offsetScale=" + offsetScale in updateWindowParams()