/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/tests/view/src/android/view/cts/util/ |
DrawingUtils.java | 43 final int viewHeight = view.getHeight(); 45 final Bitmap bitmap = Bitmap.createBitmap(viewWidth, viewHeight, Bitmap.Config.ARGB_8888); 52 final Bitmap goldenBitmap = Bitmap.createBitmap(viewWidth, viewHeight, 60 goldenCanvas.drawRect(0, 0, viewWidth, viewHeight, goldenPaint); 72 for (int row = 0; row < viewHeight; row++) {
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
BitmapFontMetricsTest.java | 51 int viewHeight = Gdx.graphics.getHeight(); 65 smallFont.draw(spriteBatch, "draw position", 20, viewHeight - 0); 67 smallFont.draw(spriteBatch, "bounds", 20, viewHeight - 20); 69 smallFont.draw(spriteBatch, "baseline", 20, viewHeight - 40); 71 smallFont.draw(spriteBatch, "x height", 20, viewHeight - 60); 73 smallFont.draw(spriteBatch, "ascent", 20, viewHeight - 80); 75 smallFont.draw(spriteBatch, "descent", 20, viewHeight - 100); 77 smallFont.draw(spriteBatch, "line height", 20, viewHeight - 120); 79 smallFont.draw(spriteBatch, "cap height", 20, viewHeight - 140);
|
BitmapFontTest.java | 90 int viewHeight = Gdx.graphics.getHeight(); 157 font.draw(spriteBatch, text, x, viewHeight - y, alignmentWidth, Align.right, false); 162 font.draw(spriteBatch, text, x, viewHeight - y, alignmentWidth, Align.right, true); 213 renderer.rect(x, viewHeight - y - 200, alignmentWidth, 200);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
TouchUtils.java | 38 final int viewHeight = v.getHeight(); 41 float y = xy[1] + (viewHeight / 2.0f); 69 final int viewHeight = v.getHeight(); 72 float y = xy[1] + (viewHeight / 2.0f); 96 final int viewHeight = v.getHeight(); 99 float y = xy[1] + (viewHeight / 2.0f); 133 final int viewHeight = v.getHeight(); 136 float y = xy[1] + (viewHeight / 2.0f); 174 final int viewHeight = v.getHeight(); 177 float fromY = xy[1] + (viewHeight / 2.0f) [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/ |
FreeTypeMetricsTest.java | 61 int viewHeight = Gdx.graphics.getHeight(); 75 smallFont.draw(spriteBatch, "draw position", 20, viewHeight - 0); 77 smallFont.draw(spriteBatch, "bounds", 20, viewHeight - 20); 79 smallFont.draw(spriteBatch, "baseline", 20, viewHeight - 40); 81 smallFont.draw(spriteBatch, "x height", 20, viewHeight - 60); 83 smallFont.draw(spriteBatch, "ascent", 20, viewHeight - 80); 85 smallFont.draw(spriteBatch, "descent", 20, viewHeight - 100); 87 smallFont.draw(spriteBatch, "line height", 20, viewHeight - 120); 89 smallFont.draw(spriteBatch, "cap height", 20, viewHeight - 140);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewThumbnail.java | 131 int viewHeight = mTaskViewRect.height(); 134 int thumbnailHeight = Math.min(viewHeight, 145 viewWidth, viewHeight, 148 if (thumbnailHeight < viewHeight) { 151 viewWidth, viewHeight, 159 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius,
|
/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/core-ui/java/android/support/v4/widget/ |
CircleImageView.java | 146 final int viewHeight = CircleImageView.this.getHeight(); 147 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2, mShadowPaint); 148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2 - mShadowRadius, paint);
|
/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 | 220 final int viewHeight = videoView.getHeight(); 223 final float y = xy[1] + viewHeight / 2.0f;
|
CompoundButtonTest.java | 256 int viewHeight; 273 viewHeight = compoundButton.getHeight(); 290 assertEquals(viewHeight - drawableHeight, bounds.top); 291 assertEquals(viewHeight, bounds.bottom); 299 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); 300 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom);
|
PopupWindowTest.java | [all...] |
/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;
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidLiveWallpaperService.java | 71 protected int viewHeight;
263 viewHeight = 0;
279 engineHeight = viewHeight;
322 if (!forceUpdate && format == viewFormat && width == viewWidth && height == viewHeight) {
335 viewHeight = engineHeight;
336 view.surfaceChanged(this.getSurfaceHolder(), viewFormat, viewWidth, 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 | 181 int viewHeight = textureView.getHeight(); 182 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); 201 Math.max(viewWidth / (float) effectiveWidth, viewHeight / (float) effectiveHeight);
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
ParticleEditor.java | 353 int viewHeight = Gdx.graphics.getHeight();
366 worldCamera.setToOrtho(false, viewWidth / pixelsPerMeter.getValue(), viewHeight / pixelsPerMeter.getValue());
381 bgImage.setPosition(viewWidth / 2 - bgImage.getWidth() / 2, viewHeight / 2 - bgImage.getHeight() / 2);
420 // gl.drawLine((int)(viewWidth * getCurrentParticles().getPercentComplete()), viewHeight - 1, viewWidth, viewHeight -
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseCardView.java | 453 int viewHeight = infoView.getMeasuredHeight(); 454 if (viewHeight > infoHeight) { 455 viewHeight = (int) infoHeight; 460 (int) (currBottom + viewHeight)); 461 currBottom += viewHeight; 462 infoHeight -= viewHeight; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageStraighten.java | 207 int imageHeight, int viewWidth, int viewHeight) { 225 float scale = GeometryMathUtils.scale(iw, ih, viewWidth, viewHeight); 229 tmp.offset(viewWidth / 2f - tmp.centerX(), viewHeight / 2f - tmp.centerY()); 232 imageHeight, viewWidth, viewHeight); 254 int viewHeight = canvas.getHeight(); 258 imageHeight, viewWidth, viewHeight); 269 imageHeight, viewWidth, viewHeight); 281 float step = Math.max(viewWidth, viewHeight) / NBLINES; 290 canvas.drawLine(p, 0, p, viewHeight, mPaint);
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
CircledImageView.java | 347 final int viewHeight = getMeasuredHeight(); 357 * viewHeight / nativeDrawableHeight : 1)); 366 final int drawableTop = (viewHeight - drawableHeight) / 2;
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 649 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); 653 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); 656 viewHeight = Math.min(viewWidth, viewHeight); 659 viewWidth = Math.min(viewWidth, viewHeight); 662 // Log.v(TAG, "LockPatternView dimensions: " + viewWidth + "x" + viewHeight); 663 setMeasuredDimension(viewWidth, viewHeight); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationContentView.java | [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
TvViewUiManager.java | 226 int viewHeight = mContentView.getHeight(); 229 if (viewWidth <= 0 || viewHeight <= 0 || videoDisplayAspectRatio <= 0f) { 234 + ", viewHeight=" + viewHeight 241 float viewRatio = viewWidth / (float) viewHeight; [all...] |