HomeSort by relevance Sort by last modified time
    Searched full:getwidth (Results 126 - 150 of 2031) sorted by null

1 2 3 4 56 7 8 91011>>

  /packages/apps/Launcher3/src/com/android/launcher3/
FocusIndicatorView.java 68 if (!mInitiated && (getWidth() == 0)) {
82 int indicatorWidth = getWidth();
85 float scaleX = v.getScaleX() * v.getWidth() / indicatorWidth;
PendingAppWidgetHostView.java 166 getWidth() - getPaddingLeft() - getPaddingRight(),
171 mRect.offsetTo((getWidth() - mRect.width()) / 2, (getHeight() - mRect.height()) / 2);
186 int availableWidth = getWidth() - paddingLeft - paddingRight;
198 mRect.offsetTo((getWidth() - mRect.width()) / 2,
211 getWidth() - paddingLeft - paddingRight,
214 mRect.offsetTo((getWidth() - mRect.width()) / 2, (getHeight() - mRect.height()) / 2);
  /packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
ImageCaptureIntentTest.java 68 assertTrue(bitmap.getWidth() > 0);
102 assertTrue(b.getWidth() > 0);
121 assertTrue(bitmap.getWidth() > 0);
  /development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
ListViewRemovalAnimation.java 109 v.setAlpha(1 - deltaXAbs / v.getWidth());
124 if (deltaXAbs > v.getWidth() / 4) {
126 fractionCovered = deltaXAbs / v.getWidth();
127 endX = deltaX < 0 ? -v.getWidth() : v.getWidth();
132 fractionCovered = 1 - (deltaXAbs / v.getWidth());
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
BookmarkUtils.java 119 if (favicon.getWidth() >= smallestSide / 2 && favicon.getHeight() >= smallestSide / 2) {
157 Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight());
158 Rect src = new Rect(0, 0, touchIcon.getWidth(), touchIcon.getHeight());
181 Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight());
185 iconBounds.exactCenterX() - scaledFavicon.getWidth() / 2.0f,
198 Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight());
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 118 int width = Math.round(bitmap.getWidth() * scale);
120 if (width == bitmap.getWidth()
141 int srcWidth = bitmap.getWidth();
150 int w = bitmap.getWidth();
159 int width = Math.round(scale * bitmap.getWidth());
181 int w = source.getWidth();
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BitmapUtils.java 118 int width = Math.round(bitmap.getWidth() * scale);
120 if (width == bitmap.getWidth()
141 int srcWidth = bitmap.getWidth();
150 int w = bitmap.getWidth();
159 int width = Math.round(scale * bitmap.getWidth());
181 int w = source.getWidth();
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
BitmapUtils.java 118 int width = Math.round(bitmap.getWidth() * scale);
120 if (width == bitmap.getWidth()
141 int srcWidth = bitmap.getWidth();
150 int w = bitmap.getWidth();
159 int width = Math.round(scale * bitmap.getWidth());
181 int w = source.getWidth();
  /packages/apps/Mms/src/com/android/mms/dom/smil/
SmilRegionElementImpl.java 87 int bbw = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth();
192 public int getWidth() {
196 ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth() :
203 int bbw = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth();
262 value *= ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth();
280 + ", width=" + getWidth()
  /cts/tests/tests/graphics/src/android/opengl/cts/
CompressedTextureSurfaceView.java 160 int byteBufferSize = mBaseTexture.getWidth() *
201 int w = mBaseTexture.getWidth();
226 int w = mBaseTexture.getWidth();
227 int h = mBaseTexture.getWidth();
248 GLES20.glViewport(0, 0, mBaseTexture.getWidth(), mBaseTexture.getHeight());
251 GLES20.glReadPixels(0, 0, mBaseTexture.getWidth(), mBaseTexture.getHeight(),
290 mBaseTexture.getWidth(), mBaseTexture.getHeight(), 0,
354 mCompressedTexture.getWidth(),
  /cts/tests/tests/textureview/src/android/textureview/cts/
TextureViewSnapshotTestActivity.java 82 Assert.assertEquals(mTexView.getWidth(), bitmap.getWidth());
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoframe.cc 58 const size_t width = GetWidth();
90 int32 src_width = static_cast<int>(GetWidth());
101 memcpy(dst_y, GetYPlane(), GetWidth() * GetHeight());
128 size_t src_width = GetWidth();
143 int32 iwidth_offset = ROUNDTO2((GetWidth() - src_width) / 2);
201 dst->GetWidth(), dst->GetHeight(),
225 static_cast<int>(GetWidth()),
230 memset(GetYPlane(), 16, GetWidth() * GetHeight());
  /external/chromium_org/ui/webui/resources/js/cr/ui/table/
table_splitter.js 49 this.columnWidth_ = cm.getWidth(this.columnIndex);
50 this.nextColumnWidth_ = cm.getWidth(this.columnIndex + 1);
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
AttributeStrategy.java 14 final Key key = keyPool.get(bitmap.getWidth(), bitmap.getHeight(), bitmap.getConfig());
52 return getBitmapString(bitmap.getWidth(), bitmap.getHeight(), bitmap.getConfig());
  /frameworks/base/core/java/android/hardware/camera2/utils/
SizeAreaComparator.java 45 long width = size.getWidth();
46 long width2 = size2.getWidth();
  /frameworks/base/core/tests/coretests/src/android/view/
BigCacheTest.java 59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max);
67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/
RequestRectangleVisible.java 69 rect.set(0, 0, topBlob.getWidth(), topBlob.getHeight());
85 rect.set(0, 0, bottomBlob.getWidth(), bottomBlob.getHeight());
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ClipRegion3Activity.java 63 mClipPath.addCircle(0.0f, 0.0f, getWidth() / 4.0f, Path.Direction.CW);
71 canvas.translate(mClipPosition * getWidth(), getHeight() / 2.0f);
ClipRegionActivity.java 82 mClipPath.addCircle(mClipPosition * getWidth(), getHeight() / 2.0f,
83 getWidth() / 4.0f, Path.Direction.CW);
RevealActivity.java 60 view.getWidth() / 2, view.getHeight() / 2,
61 0, Math.max(view.getWidth(), view.getHeight()));
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
HorizontalHoverCardSwitcher.java 43 int rightLimit = getParentViewGroup().getWidth() -
64 mTmpRect.set(0, 0, childView.getWidth(), childView.getHeight());
  /packages/apps/Camera2/src/com/android/camera/widget/
Cling.java 84 int refCenterX = mLocation[0] + mReferenceView.getWidth() / 2;
87 int left = refCenterX - getWidth() / 2;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
IconUtilities.java 63 int w = bitmap.getWidth();
65 int fxw = fxBitmap.getWidth();
ImageFilterCurves.java 60 nativeApplyGradientFilter(bitmap, bitmap.getWidth(), bitmap.getHeight(),
80 nativeApplyGradientFilter(bitmap, bitmap.getWidth(), bitmap.getHeight(),
ImageFilterFx.java 64 int w = bitmap.getWidth();
87 int fxw = mFxBitmap.getWidth();

Completed in 2975 milliseconds

1 2 3 4 56 7 8 91011>>