Searched refs:viewHeight (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 249 final int viewHeight = v.getHeight(); in dragViewToBottom() local 252 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom() 269 final int viewHeight = v.getHeight(); in tapView() local 272 float y = xy[1] + (viewHeight / 2.0f); in tapView() 309 final int viewHeight = v.getHeight(); in touchAndCancelView() local 312 float y = xy[1] + (viewHeight / 2.0f); in touchAndCancelView() 344 final int viewHeight = v.getHeight(); in clickView() local 347 float y = xy[1] + (viewHeight / 2.0f); in clickView() 405 final int viewHeight = v.getHeight(); in longClickView() local 408 float y = xy[1] + (viewHeight / 2.0f); in longClickView() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 171 private void updateDraggableBound(int viewWidth, int viewHeight) { in updateDraggableBound() argument 174 mDraggableBound.set(0, 0, size.x - viewWidth, size.y - viewHeight); in updateDraggableBound()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 707 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); in onMeasure() local 711 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 714 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 717 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 721 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 669 int viewHeight = getHeight(); 672 dy = slider == mRightSlider ? (top + viewHeight - holdOffset) 673 : - ((viewHeight - bottom) + viewHeight - holdOffset);
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MainActivity.java | 646 private void configureTransform(int viewWidth, int viewHeight) { in configureTransform() argument 652 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() 658 float scale = Math.max((float) viewHeight / mPreviewSize.getHeight(), in configureTransform()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1029 int viewHeight = mContentHeight; in calculateVisibleType() local 1032 viewHeight = Math.min(mContentHeight, intrinsicHeight); in calculateVisibleType() 1034 return getVisualTypeForHeight(viewHeight); in calculateVisibleType() 1037 private int getVisualTypeForHeight(float viewHeight) { in getVisualTypeForHeight() argument 1039 if (!noExpandedChild && viewHeight == getViewHeight(VISIBLE_TYPE_EXPANDED)) { in getVisualTypeForHeight() 1048 if (viewHeight <= getViewHeight(VISIBLE_TYPE_HEADSUP) || noExpandedChild) { in getVisualTypeForHeight() 1055 && viewHeight <= getViewHeight(VISIBLE_TYPE_CONTRACTED) in getVisualTypeForHeight()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 401 int viewHeight = mCache.getMetaData().getLoadingTemplate(getContext()).defaultHeight; in getDefaultView() local 406 loadingTextView.setHeight(viewHeight); in getDefaultView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 2196 final float viewHeight; 2198 viewHeight = mShelf.getIntrinsicHeight(); 2201 viewHeight = expandableView.getIntrinsicHeight(); 2208 height += viewHeight; 2211 if (viewHeight > 0 || !(expandableView instanceof MediaHeaderView)) {
|