/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
|
/frameworks/base/core/java/com/android/internal/widget/ |
FaceUnlockView.java | 59 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); 61 final int chosenSize = Math.min(viewWidth, viewHeight);
|
LockPatternView.java | 491 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); 495 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); 498 viewHeight = Math.min(viewWidth, viewHeight); 501 viewWidth = Math.min(viewWidth, viewHeight); 504 // Log.v(TAG, "LockPatternView dimensions: " + viewWidth + "x" + viewHeight); 505 setMeasuredDimension(viewWidth, viewHeight); [all...] |
/packages/apps/Phone/src/com/android/phone/ |
SmallerHitTargetTouchListener.java | 68 final int viewHeight = v.getHeight(); 79 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) { 91 final int maxTouchY = viewHeight - edgeIgnoreY;
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 237 final int viewHeight = v.getHeight(); 240 float fromY = xy[1] + (viewHeight / 2.0f); 257 final int viewHeight = v.getHeight(); 260 float y = xy[1] + (viewHeight / 2.0f); 297 final int viewHeight = v.getHeight(); 300 float y = xy[1] + (viewHeight / 2.0f); 332 final int viewHeight = v.getHeight(); 335 float y = xy[1] + (viewHeight / 2.0f); 393 final int viewHeight = v.getHeight(); 396 float y = 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 | 209 final int viewHeight = videoView.getHeight(); 212 final float y = xy[1] + viewHeight / 2.0f;
|
CompoundButtonTest.java | 247 int viewHeight; 264 viewHeight = compoundButton.getHeight(); 281 assertEquals(viewHeight - drawableHeight, bounds.top); 282 assertEquals(viewHeight, bounds.bottom); 290 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); 291 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom);
|
PopupWindowTest.java | 675 final int viewHeight = mPopupWindow.getContentView().getHeight(); 677 float y = xy[1] + (viewHeight / 2.0f);
|
/external/webkit/Source/WebCore/rendering/ |
RenderView.cpp | 118 bool relayoutChildren = !printing() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); 318 rect.setY(viewHeight() - rect.maxY()); 699 int RenderView::viewHeight() const
|
/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);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 265 final float viewHeight = getHeight(); 275 float heightScale = Math.min(viewHeight / h, 10.0f); 278 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F); 280 matrix.postTranslate((viewWidth - w) / 2F, (viewHeight - h) / 2F); 327 public static float maxZoom(int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) { 329 final float fh = (float)bitmapHeight / viewHeight; 493 int viewHeight = getHeight(); 494 if (height < viewHeight) { 495 deltaY = (viewHeight - height) / 2 - rect.top; 498 } else if (rect.bottom < viewHeight) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
RenderManager.java | 81 private int viewX, viewY, viewWidth, viewHeight;
425 tempVec4.set(viewX, viewY, viewWidth, viewHeight);
429 tempVec2.set(viewWidth, viewHeight);
433 tempVec2.set(1f / viewWidth, 1f / viewHeight);
437 float aspect = ((float) viewWidth) / viewHeight;
[all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 137 final int viewHeight = mList.getHeight(); 142 } else if (newThumbY + mThumbH > viewHeight) { 143 newThumbY = viewHeight - mThumbH; 146 scrollTo((float) mThumbY / (viewHeight - mThumbH)); 773 final int viewHeight = mList.getHeight(); 778 } else if (newThumbY + mThumbH > viewHeight) { 779 newThumbY = viewHeight - mThumbH; 782 scrollTo((float) mThumbY / (viewHeight - mThumbH)); 824 final int viewHeight = mList.getHeight(); 829 } else if (newThumbY + mThumbH > viewHeight) { [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewClassic.java | [all...] |