/external/replicaisland/src/com/replica/replicaisland/ |
ContextParameters.java | 24 public int viewHeight;
|
DrawableBitmap.java | 69 * @param viewHeight The height of the screen. 71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { 80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f); 114 final float viewHeight = mViewHeight; 121 || snappedY > viewHeight
|
/cts/tests/autofillservice/src/android/autofillservice/cts/common/ |
ShellHelper.java | 57 final int viewHeight = view.getHeight(); 59 final int y = (int) (xy[1] + (viewHeight / 2.0f));
|
/cts/tests/tests/view/src/android/view/cts/util/ |
DrawingUtils.java | 44 final int viewHeight = view.getHeight(); 46 final Bitmap bitmap = Bitmap.createBitmap(viewWidth, viewHeight, Bitmap.Config.ARGB_8888); 53 final Bitmap goldenBitmap = Bitmap.createBitmap(viewWidth, viewHeight, 61 goldenCanvas.drawRect(0, 0, viewWidth, viewHeight, goldenPaint); 73 for (int row = 0; row < viewHeight; row++) {
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
VideoScale.java | 32 float viewHeight = textureView.getHeight(); 33 float viewAspectRatio = viewWidth / viewHeight; 42 scaleHeight = desiredScaledHeight / viewHeight; 45 float scaleFactor = viewHeight / videoHeight; 56 scaleWidth = viewHeight / viewWidth * scaleY; 57 scaleHeight = viewWidth / viewHeight * scaleX; 70 viewHeight, 84 viewHeight / 2.0f); 86 transform.postRotate(rotationDegrees, viewWidth / 2.0f, viewHeight / 2.0f); 98 int viewHeight = textureView.getHeight() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
LivePreviewWidgetCell.java | 63 int viewHeight = dp.cellHeightPx * info.spanY; 69 MeasureSpec.makeMeasureSpec(viewHeight, MeasureSpec.EXACTLY)); 72 viewHeight = v.getMeasuredHeight(); 73 v.layout(0, 0, viewWidth, viewHeight); 84 bitmapHeight = (int) (viewHeight * scale); 88 bitmapHeight = viewHeight;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
GridTaskViewThumbnail.java | 75 final int viewHeight = mTaskViewRect.height() - titleHeight; 78 final int thumbnailHeight = Math.min(viewHeight, 95 // mRestBackgroundOutline (thumbnailHeight < viewHeight) 122 if (thumbnailHeight < viewHeight) { 140 createThumbnailPath(0, 0, viewWidth, viewHeight, mThumbnailOutline); 164 final int viewHeight = mTaskViewRect.height() - titleHeight; 167 final int thumbnailHeight = Math.min(viewHeight, 183 if (thumbnailHeight < viewHeight) {
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 231 final int viewHeight = v.getHeight(); 234 float fromY = xy[1] + (viewHeight / 2.0f); 251 final int viewHeight = v.getHeight(); 254 float y = xy[1] + (viewHeight / 2.0f); 291 final int viewHeight = v.getHeight(); 294 float y = xy[1] + (viewHeight / 2.0f); 326 final int viewHeight = v.getHeight(); 329 float y = xy[1] + (viewHeight / 2.0f); 387 final int viewHeight = v.getHeight(); 390 float y = xy[1] + (viewHeight / 2.0f) [all...] |
/frameworks/support/car/src/main/java/androidx/car/widget/ |
PagedSnapHelper.java | 211 int viewHeight = helper.getDecoratedMeasurement(view); 212 return 1.f - ((float) (Math.abs(viewStart) + Math.abs(viewEnd)) / viewHeight);
|
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/ |
CircleImageView.java | 147 final int viewHeight = CircleImageView.this.getHeight(); 148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2, mShadowPaint); 149 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2 - mShadowRadius, paint);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
TouchUtils.java | 36 final int viewHeight = v.getHeight(); 39 float y = xy[1] + (viewHeight / 2.0f); 67 final int viewHeight = v.getHeight(); 70 float y = xy[1] + (viewHeight / 2.0f); 94 final int viewHeight = v.getHeight(); 97 float y = xy[1] + (viewHeight / 2.0f); 131 final int viewHeight = v.getHeight(); 134 float y = xy[1] + (viewHeight / 2.0f); 177 final int viewHeight = v.getHeight(); 180 float fromY = xy[1] + (viewHeight / 2.0f) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlideshowView.java | 140 int viewHeight = getHeight(); 143 viewWidth / mWidth, (float) viewHeight / mHeight); 147 float centerY = viewHeight / 2 + mMovingVector.y * mProgress;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MediaControllerTest.java | 193 final int viewHeight = videoView.getHeight(); 196 final float y = xy[1] + viewHeight / 2.0f;
|
CompoundButtonTest.java | 276 int viewHeight; 293 viewHeight = compoundButton.getHeight(); 310 assertEquals(viewHeight - drawableHeight, bounds.top); 311 assertEquals(viewHeight, bounds.bottom); 319 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); 320 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom);
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
TestUtils.java | 149 final int viewHeight = view.getHeight();
|
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViEAndroidGLES20.java | 42 private int viewHeight = 0; 320 if(0 != CreateOpenGLNative(nativeObject, viewWidth, viewHeight)) { 332 viewHeight = height;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewThumbnail.java | 142 int viewHeight = mTaskViewRect.height(); 145 int thumbnailHeight = Math.min(viewHeight, 149 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, 161 viewWidth, viewHeight, 164 if (thumbnailHeight < viewHeight) { 167 viewWidth, viewHeight, 175 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius,
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
BrowseFragmentTest.java | 328 final int viewHeight = v.getHeight(); 331 float y = xy[1] + (viewHeight / 2.0f);
|
BrowseSupportFragmentTest.java | 325 final int viewHeight = v.getHeight(); 328 float y = xy[1] + (viewHeight / 2.0f);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
CtsTouchUtils.java | 386 final int viewHeight = view.getHeight(); 388 final int startY = isDownwardsFlingGesture ? viewOnScreenXY[1] + viewHeight / 4 389 : viewOnScreenXY[1] + 3 * viewHeight / 4; 390 final int amountY = isDownwardsFlingGesture ? viewHeight / 2 : -viewHeight / 2; 394 final int durationMs = (1000 * viewHeight) / (2 * flingVelocity);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
TransformState.java | 138 int viewHeight = getViewHeight(); 140 boolean differentHeight = otherHeight != viewHeight && otherHeight != 0 && viewHeight != 0; 178 / (float) viewHeight);
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 205 int viewHeight = getHeight(); 206 if (height < viewHeight) { 207 deltaY = (viewHeight - height) / 2 - rect.top; 210 } else if (rect.bottom < viewHeight) { 261 float viewHeight = getHeight(); 270 float heightScale = Math.min(viewHeight / h, 3.0f); 278 (viewHeight - h * scale) / 2F);
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2MultiViewTestCase.java | 192 int viewHeight = textureView.getHeight(); 193 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); 212 Math.max(viewWidth / (float) effectiveWidth, viewHeight / (float) effectiveHeight);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
BaseCardView.java | 476 int viewHeight = infoView.getMeasuredHeight(); 477 if (viewHeight > infoHeight) { 478 viewHeight = (int) infoHeight; 483 (int) (currBottom + viewHeight)); 484 currBottom += viewHeight; 485 infoHeight -= viewHeight; [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
FastScroller.java | 320 int viewHeight = mRecyclerViewHeight; 322 int top = viewHeight - mHorizontalThumbHeight;
|