Searched refs:screenWidth (Results 1 – 10 of 10) sorted by relevance
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()
72 public void setScreenWidth(int screenWidth) { in setScreenWidth() argument73 mScreenWidth = screenWidth; in setScreenWidth()
965 int screenWidth; in chooseBestPictureSize() local977 screenWidth = displayMetrics.widthPixels; in chooseBestPictureSize()980 screenWidth = displayMetrics.heightPixels; in chooseBestPictureSize()989 final float scaleFactor = getScaleFactorForMaxAllowedSize(screenWidth, screenHeight, in chooseBestPictureSize()991 screenWidth *= scaleFactor; in chooseBestPictureSize()996 screenWidth / (float) screenHeight); in chooseBestPictureSize()
94 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local100 (screenPos[0] + width / 2) - screenWidth / 2, screenPos[1] + height); in onLongClick()
394 int screenWidth = mAppContext.getResources().getDisplayMetrics().widthPixels; in setSearchBoxMode() local402 if (screenWidth - searchBoxMargin * 2 > maxSearchBoxWidth) { in setSearchBoxMode()403 searchBoxMarginEnd = (screenWidth - maxSearchBoxWidth) / 2; in setSearchBoxMode()
107 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local114 (screenPos[0] + width / 2) - screenWidth / 2, screenPos[1] + height); in onLongClick()
523 float screenWidth = a.mCropView.getWidth() / scale;524 center.x = screenWidth / 2 + offset * (crop.width() - screenWidth) + crop.left;
483 int screenWidth = mParentLayout.getWidth(); in onCreate()484 mFloatingActionButtonController.setScreenWidth(screenWidth); in onCreate()
788 final int screenWidth = getMeasuredWidth(); in getVisiblePages() local803 currPage.getX() - currPage.getPaddingLeft() < getScrollX() + screenWidth) { in getVisiblePages()
498 int screenWidth = size.x; in onCreate() local566 mPipView.setFixedSurfaceSize(screenWidth / 2, screenHeight / 2); in onCreate()