/external/replicaisland/src/com/replica/replicaisland/ |
ContextParameters.java | 23 public int viewWidth;
|
DrawableBitmap.java | 68 * @param viewWidth The width 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); 113 final float viewWidth = mViewWidth; 117 if (viewWidth > 0) { 119 || snappedX > viewWidth
|
/frameworks/base/core/java/com/android/internal/widget/ |
FaceUnlockView.java | 56 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); 59 final int chosenSize = Math.min(viewWidth, viewHeight);
|
LockPatternView.java | 498 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); 503 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); 506 viewHeight = Math.min(viewWidth, viewHeight); 509 viewWidth = Math.min(viewWidth, viewHeight); 512 // Log.v(TAG, "LockPatternView dimensions: " + viewWidth + "x" + viewHeight); 513 setMeasuredDimension(viewWidth, viewHeight); [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
CircleView.java | 93 int viewWidth = getWidth(); 94 if (viewWidth == 0 || !mIsInitialized) {
|
AmPmCirclesView.java | 152 int viewWidth = getWidth(); 153 if (viewWidth == 0 || !mIsInitialized) {
|
RadialTextsView.java | 175 int viewWidth = getWidth(); 176 if (viewWidth == 0 || !mIsInitialized) {
|
RadialSelectorView.java | 273 int viewWidth = getWidth(); 274 if (viewWidth == 0 || !mIsInitialized) {
|
/packages/apps/InCallUI/src/com/android/incallui/ |
SmallerHitTargetTouchListener.java | 66 final int viewWidth = v.getWidth(); 78 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) { 88 final int maxTouchX = viewWidth - edgeIgnoreX;
|
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ |
ValidationMessageBubble.java | 147 final int viewWidth = coordinates.getLastFrameViewportWidthPixInt(); 154 } else if (x + width > viewWidth) { 155 x = viewWidth - width;
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 224 final int viewWidth = v.getWidth(); 227 final float x = xy[0] + (viewWidth / 2.0f); 244 final int viewWidth = v.getWidth(); 247 final float x = xy[0] + (viewWidth / 2.0f); 284 final int viewWidth = v.getWidth(); 287 final float x = xy[0] + (viewWidth / 2.0f); 319 final int viewWidth = v.getWidth(); 322 final float x = xy[0] + (viewWidth / 2.0f); 380 final int viewWidth = v.getWidth(); 383 final float x = xy[0] + (viewWidth / 2.0f) [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
CircleImageView.java | 146 final int viewWidth = CircleImageView.this.getWidth(); 148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, (mCircleDiameter / 2 + mShadowRadius), 150 canvas.drawCircle(viewWidth / 2, viewHeight / 2, (mCircleDiameter / 2), paint);
|
/packages/apps/FMRadio/src/com/android/fmradio/views/ |
FmVisualizerView.java | 151 int viewWidth = getWidth(); 156 float colWidth = ((float) (viewWidth - paddingLeft - paddingRight - COLUME_PADDING_COUNTS
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlideshowView.java | 139 int viewWidth = getWidth(); 143 viewWidth / mWidth, (float) viewHeight / mHeight); 146 float centerX = viewWidth / 2 + mMovingVector.x * mProgress;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ModePicker.java | 258 int viewWidth = mModeSelectionIcon[MODE_CAMERA].getWidth(); 261 int padding = (viewWidth - iconWidth) / 2; 262 int l = mModeSelectionFrame.getLeft() + mCurrentMode * viewWidth;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MediaControllerTest.java | 219 final int viewWidth = videoView.getWidth(); 222 final float x = xy[0] + viewWidth / 2.0f;
|
PopupWindowTest.java | 721 final int viewWidth = mPopupWindow.getContentView().getWidth(); 723 final float x = xy[0] + (viewWidth / 2.0f); [all...] |
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViEAndroidGLES20.java | 40 private int viewWidth = 0; 319 if(0 != CreateOpenGLNative(nativeObject, viewWidth, viewHeight)) { 330 viewWidth = width;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewModel.java | 94 public int viewWidth; 208 return Objects.hashCode(mDataHashCode, viewWidth, standardScaledDimen, gadgetMode);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderView.cpp | 170 if (!style()->isHorizontalWritingMode() || width() != viewWidth()) 201 bool relayoutChildren = !shouldUsePrintingLayout() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); 382 rect.setX(viewWidth() - rect.maxX()); 782 int RenderView::viewWidth(IncludeScrollbarsInRect scrollbarInclusion) const 793 return style()->isHorizontalWritingMode() ? viewHeight(ExcludeScrollbars) : viewWidth(ExcludeScrollbars); [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 155 final int viewWidth = getWidth(); 157 if (viewWidth <= 0) { 216 int viewWidth = getWidth(); 217 if (width < viewWidth) { 218 deltaX = (viewWidth - width) / 2 - rect.left; 221 } else if (rect.right < viewWidth) { 222 deltaX = viewWidth - rect.right; 260 float viewWidth = getWidth(); 269 float widthScale = Math.min(viewWidth / w, 3.0f); 277 (viewWidth - w * scale) / 2F [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/ |
Camera2MultiViewTestCase.java | 176 int viewWidth = textureView.getWidth(); 178 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); 197 Math.max(viewWidth / (float) effectiveWidth, viewHeight / (float) effectiveHeight);
|
/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); 253 int viewWidth = canvas.getWidth(); 258 imageHeight, viewWidth, viewHeight); 269 imageHeight, viewWidth, viewHeight); 281 float step = Math.max(viewWidth, viewHeight) / NBLINES; 291 canvas.drawLine(0, p, viewWidth, p, mPaint);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 444 final float viewWidth = getWidth(); 448 if (!mTransformsEnabled || drawWidth <= viewWidth) { 454 } else if (viewWidth >= drawWidth + transX) { 477 final float viewWidth = getWidth(); 481 if (!mTransformsEnabled || drawWidth <= viewWidth) { 487 } else if (viewWidth >= drawWidth + transX) { [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | [all...] |