/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionScroll.java | 55 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); 58 2 * screenHeight); // 2x screen height to ensure scrolling
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisible.java | 50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); 51 int numLinesForScreen = screenHeight / 18;
|
ScrollViewButtonsAndLabels.java | 66 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); 67 mNumGroups = screenHeight / 30;
|
ScrollViewButtonsAndLabelsTest.java | 182 int screenHeight = mScrollView.getHeight(); 190 if (buttonLoc[1] - origin[1] > screenHeight) {
|
/cts/tests/tests/security/src/android/security/cts/ |
Movie33897722.java | 60 private void test_movie(int resId, int screenWidth, int screenHeight, 62 assertTrue(drawWidth <= screenWidth && drawHeight <= screenHeight); 68 assertEquals(movie.height(), screenHeight);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCache.java | 47 final int screenHeight = display.getHeight(); 52 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
VideoFragment.java | 92 int screenHeight = getView().getHeight(); 95 if (screenWidth * height > width * screenHeight) { 97 p.height = screenHeight; 98 p.width = screenHeight * width / height;
|
VideoSupportFragment.java | 89 int screenHeight = getView().getHeight(); 92 if (screenWidth * height > width * screenHeight) { 94 p.height = screenHeight; 95 p.width = screenHeight * width / height;
|
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/ |
DeviceHelper.java | 67 int screenHeight = Math.max( 69 int smallestScreenWidthDp = (Math.min(screenWidth, screenHeight)
|
/external/skia/src/codec/ |
SkFrameHolder.h | 165 int screenHeight() const { return fScreenHeight; }
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 242 int screenHeight = getWindowManager().getDefaultDisplay().getHeight() 255 height = (int) (viewFactory.getHeightRatio() * screenHeight);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderDrawable.java | 122 final int screenHeight = hardwareConfig.getScreenHeight(); 127 h = screenHeight; 128 } else if (w > screenWidth || h > screenHeight) { 131 // We need to find scale such that scale * w <= screenWidth, scale * h <= screenHeight 132 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactsUnavailableFragment.java | 65 final int screenHeight = getResources().getDisplayMetrics().heightPixels; 67 screenHeight / getResources()
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 225 int screenHeight = activity.getWindowManager().getDefaultDisplay().getHeight(); 235 float toY = screenHeight - 1;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
SnackBarManager.java | 341 final int screenHeight = displayMetrics.heightPixels; 348 return screenHeight - displayRect.bottom;
|
BugleActionBarActivity.java | 129 int screenHeight = getResources().getDisplayMetrics().heightPixels; 131 if (screenHeight != mLastScreenHeight) { 133 mLastScreenHeight = screenHeight; 135 " screenHeight: " + screenHeight + " lastScreenHeight: " + mLastScreenHeight + 141 screenHeight -= actionBar.getHeight(); 146 mImeOpen = screenHeight - height > 100; 150 "imeWasOpen: " + imeWasOpen + " mImeOpen: " + mImeOpen + " screenHeight: " + 151 screenHeight + " height: " + height);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
SystemGesturesPointerEventListener.java | 60 int screenHeight; 142 } else if (!mMouseHoveringAtEdge && event.getY() >= screenHeight - 1) { 146 && (event.getY() > 0 && event.getY() < screenHeight - 1)) { 226 if (fromY >= screenHeight - mSwipeStartThreshold
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
DetailsFragmentTest.java | 291 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() 296 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 308 return firstRow.getTop() >= screenHeight; 355 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() 360 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 368 return firstRow.getTop() >= screenHeight; 426 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() 431 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 439 return firstRow.getTop() >= screenHeight; 503 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView( [all...] |
DetailsSupportFragmentTest.java | 294 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() 299 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 311 return firstRow.getTop() >= screenHeight; 358 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() 363 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 371 return firstRow.getTop() >= screenHeight; 429 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() 434 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 442 return firstRow.getTop() >= screenHeight; 506 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView( [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
UberColorPickerDialog.java | 109 int screenHeight = dm.heightPixels; 114 setContentView(new ColorPickerView(getContext(), l, screenWidth, screenHeight, mInitialColor));
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
VideoRendererGui.java | 69 private int screenHeight; 142 // |screenHeight|, |videoWidth|, |videoHeight|, |rotationDegree|, |scalingType|, and |mirror|. 148 private int screenHeight; 208 (screenHeight * layoutInPercentage.top + 99) / 100, 210 (screenHeight * layoutInPercentage.bottom) / 100); 281 final int viewportY = screenHeight - displayLayout.bottom; 313 public void setScreenSize(final int screenWidth, final int screenHeight) { 315 if (screenWidth == this.screenWidth && screenHeight == this.screenHeight) { 319 screenWidth + " x " + screenHeight); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
ImageViewer.java | 408 int screenHeight = size.y; 418 int verticalScroll = imageHeight - (screenHeight - horizontalBarSize);
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 314 int screenHeight = dm.heightPixels; 316 assertTrue(decor.getHeight() >= screenHeight); [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupMembersFragment.java | 772 final int screenHeight = getResources().getDisplayMetrics().heightPixels; 773 params.setMargins(0, screenHeight / [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraManager.java | [all...] |