Home
last modified time | relevance | path

Searched refs:screenWidth (Results 1 – 7 of 7) sorted by relevance

/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
Dgalaxy.rs44 static float screenWidth;
77 screenWidth = rsgGetWidth();
83 if (screenWidth > screenHeight) {
84 wRatio = screenWidth/screenHeight;
85 screenHeight = screenWidth;
87 hRatio = screenHeight/screenWidth;
88 screenWidth = screenHeight;
91 float scale = gGalaxyRadius / (screenWidth * 0.5f);
147 xpos = -(screenWidth-rsgGetWidth())/2.0f;
156 rsgDrawRect(xpos, ypos, screenWidth+xpos, screenHeight+ypos, 0.0f);
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
Dphasebeam.rs49 static float screenWidth;
60 screenWidth = rsgGetWidth();
62 halfScreenWidth = screenWidth/2.0f;
64 quarterScreenWidth = screenWidth/4.0f;
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaFragment.java146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; in onCreateView() local
198 params.width = screenWidth; in onCreateView()
202 listParams.width = screenWidth * 4 / 10; in onCreateView()
205 detailsParams.width = screenWidth - listParams.width; in onCreateView()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DFloatingActionButtonController.java70 public void setScreenWidth(int screenWidth) { in setScreenWidth() argument
71 mScreenWidth = screenWidth; in setScreenWidth()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DViewPagerTabs.java95 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local
102 (screenPos[0] + width / 2) - screenWidth / 2, screenPos[1] + height); in onLongClick()
/packages/apps/Dialer/src/com/android/dialer/
DDialtactsActivity.java448 int screenWidth = mParentLayout.getWidth(); in onCreate()
449 mFloatingActionButtonController.setScreenWidth(screenWidth); in onCreate()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java788 final int screenWidth = getMeasuredWidth(); in getVisiblePages() local
803 currPage.getX() - currPage.getPaddingLeft() < getScrollX() + screenWidth) { in getVisiblePages()