Searched refs:screenWidth (Results 1 – 7 of 7) sorted by relevance
44 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);
49 static float screenWidth;60 screenWidth = rsgGetWidth();62 halfScreenWidth = screenWidth/2.0f;64 quarterScreenWidth = screenWidth/4.0f;
146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; in onCreateView() local198 params.width = screenWidth; in onCreateView()202 listParams.width = screenWidth * 4 / 10; in onCreateView()205 detailsParams.width = screenWidth - listParams.width; in onCreateView()
70 public void setScreenWidth(int screenWidth) { in setScreenWidth() argument71 mScreenWidth = screenWidth; in setScreenWidth()
95 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local102 (screenPos[0] + width / 2) - screenWidth / 2, screenPos[1] + height); in onLongClick()
448 int screenWidth = mParentLayout.getWidth(); in onCreate()449 mFloatingActionButtonController.setScreenWidth(screenWidth); in onCreate()
788 final int screenWidth = getMeasuredWidth(); in getVisiblePages() local803 currPage.getX() - currPage.getPaddingLeft() < getScrollX() + screenWidth) { in getVisiblePages()