/external/webkit/WebCore/rendering/ |
SVGRenderSupport.cpp | 216 int viewWidth = frameView->visibleWidth(); 219 if (size.width() > viewWidth) 220 size.setWidth(viewWidth);
|
RenderView.cpp | 90 setWidth(viewWidth()); 118 bool relayoutChildren = !printing() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); 644 int RenderView::viewWidth() const
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 235 final int viewWidth = v.getWidth(); 238 final float x = xy[0] + (viewWidth / 2.0f); 255 final int viewWidth = v.getWidth(); 258 final float x = xy[0] + (viewWidth / 2.0f); 295 final int viewWidth = v.getWidth(); 298 final float x = xy[0] + (viewWidth / 2.0f); 330 final int viewWidth = v.getWidth(); 333 final float x = xy[0] + (viewWidth / 2.0f); 391 final int viewWidth = v.getWidth(); 394 final float x = xy[0] + (viewWidth / 2.0f) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
MediaControllerTest.java | 341 final int viewWidth = videoView.getWidth(); 344 final float x = xy[0] + viewWidth / 2.0f;
|
GalleryTest.java | 193 final int viewWidth = v.getWidth(); 197 xy[0] += viewWidth / 2;
|
PopupWindowTest.java | [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 103 int viewWidth = mList.getWidth(); 104 mList.invalidate(viewWidth - mThumbW, mThumbY, viewWidth, mThumbY + mThumbH); 115 final int viewWidth = mList.getWidth(); 117 mThumbDrawable.setBounds(viewWidth - mThumbW, 0, viewWidth, mThumbH); 177 final int viewWidth = mList.getWidth(); 186 int left = viewWidth - (mThumbW * alpha) / ScrollFade.ALPHA_MAX; 187 mThumbDrawable.setBounds(left, 0, viewWidth, mThumbH); 207 mList.invalidate(viewWidth - mThumbW, y, viewWidth, y + mThumbH); [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...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ImageViewTouchBase.java | 142 final int viewWidth = getWidth(); 144 if (viewWidth <= 0) { 201 int viewWidth = getWidth(); 202 if (width < viewWidth) { 203 deltaX = (viewWidth - width) / 2 - rect.left; 206 } else if (rect.right < viewWidth) { 207 deltaX = viewWidth - rect.right; 245 float viewWidth = getWidth(); 254 float widthScale = Math.min(viewWidth / w, 2.0f); 261 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F) [all...] |
MenuBar.java | 344 float viewWidth = mWidth; 353 if (totalDesiredWidth > viewWidth) { 355 int widthPerMenu = (int) Math.floor(viewWidth / numMenus); 371 menu.mWidth = (int) viewWidth - x; 392 if (cumulativeWidth < viewWidth || !foundANewMaxWidth || menusProcessed == numMenus - 1) { 393 float delta = (viewWidth - cumulativeWidth) / numMenus;
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 450 int viewWidth = width; 454 viewWidth = viewHeight = Math.min(width, height); 457 viewWidth = width; 461 viewWidth = Math.min(width, height); 465 setMeasuredDimension(viewWidth, viewHeight); [all...] |
/packages/apps/Phone/src/com/android/phone/ |
InCallTouchUi.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | [all...] |