/packages/apps/Camera2/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 23 int GetWidth() const;
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglDisplay.java | 57 if (mode.getWidth() == width
72 if (settings.getWidth() <= 0 || settings.getHeight() <= 0){
74 settings.setResolution(displayMode.getWidth(), displayMode.getHeight());
76 displayMode = getFullscreenDisplayMode(settings.getWidth(), settings.getHeight(),
81 displayMode = new DisplayMode(settings.getWidth(), settings.getHeight());
178 listener.reshape(settings.getWidth(), settings.getHeight());
214 BufferedImage convertedImage = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_ARGB_PRE);
216 double width = image.getWidth() * (double) 1;
218 g.drawImage(image, (int) ((convertedImage.getWidth() - width) / 2),
225 byte[] imageBuffer = new byte[image.getWidth() * image.getHeight() * 4]; [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
WeightSumTest.java | 52 final int childWidth = mChild.getWidth(); 53 final int containerWidth = mContainer.getWidth();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapScreenNail.java | 33 public int getWidth() { 34 return mBitmapTexture.getWidth();
|
SlideshowView.java | 69 mCurrentTexture.getWidth(), mCurrentTexture.getHeight(), 73 mCurrentTexture.getHeight(), mCurrentTexture.getWidth(), 104 mPrevTexture.draw(canvas, -mPrevTexture.getWidth() / 2, 114 mCurrentTexture.draw(canvas, -mCurrentTexture.getWidth() / 2, 139 int viewWidth = getWidth();
|
/packages/apps/Launcher3/ |
proguard.flags | 25 public int getWidth(); 36 public int getWidth();
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Renderbuffer.cpp | 102 GLsizei RenderbufferTexture2D::getWidth() const 104 return mTexture2D->getWidth(0); 171 GLsizei RenderbufferTextureCubeMap::getWidth() const 173 return mTextureCubeMap->getWidth(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0); 245 GLsizei Renderbuffer::getWidth() const 247 return mInstance->getWidth(); 341 GLsizei RenderbufferStorage::getWidth() const 389 mWidth = mRenderTarget->getWidth(); 434 mWidth = mDepthStencil->getWidth(); 447 mWidth = mDepthStencil->getWidth(); [all...] |
Texture.cpp | 201 image->loadData(0, 0, image->getWidth(), image->getHeight(), unpackAlignment, pixels); 210 image->loadCompressedData(0, 0, image->getWidth(), image->getHeight(), pixels); 349 GLsizei Texture2D::getWidth(GLint level) const 352 return mImageArray[level]->getWidth(); 386 const int storageWidth = std::max(1, mImageArray[0]->getWidth() >> level); 427 mImageArray[0]->redefine(mRenderer, internalformat, surface->getWidth(), surface->getHeight(), true); 527 if (xoffset + width > mImageArray[level]->getWidth() || yoffset + height > mImageArray[level]->getHeight()) 593 GLsizei width = mImageArray[0]->getWidth(); 652 GLsizei width = mImageArray[0]->getWidth(); 669 if (mImageArray[level]->getWidth() != std::max(1, width >> level) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ZoomControl.java | 146 final float x = ev.getX() - (getWidth() / 2); 156 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); 160 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); 164 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); 168 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); 231 if (getWidth() == 0) { // Layout is not yet complete 245 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); 249 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); 253 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); 257 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
PopupWindowTest.java | 77 assertEquals(0, mPopupWindow.getWidth()); 81 assertEquals(50, mPopupWindow.getWidth()); 85 assertEquals(-1, mPopupWindow.getWidth()); 93 assertEquals(0, mPopupWindow.getWidth()); 98 assertEquals(50, mPopupWindow.getWidth()); 103 assertEquals(-1, mPopupWindow.getWidth()); 108 assertEquals(0, mPopupWindow.getWidth()); 114 assertEquals(50, mPopupWindow.getWidth()); 120 assertEquals(-1, mPopupWindow.getWidth()); 225 assertEquals(0, mPopupWindow.getWidth()); [all...] |
/frameworks/base/libs/hwui/ |
Layer.cpp | 74 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) { 85 uint32_t oldWidth = getWidth(); 179 ALOGD(" Allocate layer: %dx%d", getWidth(), getHeight()); 183 glTexImage2D(renderTarget, 0, GL_RGBA, getWidth(), getHeight(), 0, 189 const float width = layer.getWidth(); 227 renderer->setViewport(layer.getWidth(), layer.getHeight()); 242 renderer->setViewport(layer.getWidth(), layer.getHeight());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
MediaItemThumbnailTest.java | 75 assertEquals("Thumbnail Width", outWidth, thumbNailBmp.getWidth()); 95 final int outWidth = (mediaVideoItem.getWidth() / 2); 115 final int outWidth = (mediaVideoItem.getWidth() / 2); 134 final int outWidth = mediaVideoItem.getWidth() / 2; 154 final int outWidth = mediaVideoItem.getWidth() * 2; 174 final int outWidth = mediaVideoItem.getWidth(); 194 final int outWidth = mediaVideoItem.getWidth() * 2; 291 final int outWidth = mediaVideoItem.getWidth() / 2; 314 final int outWidth = mediaVideoItem.getWidth(); 344 final int outWidth = mediaVideoItem.getWidth(); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameImage2D.java | 137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) { 138 throw new IllegalArgumentException("Cannot assign bitmap of size " + bitmap.getWidth() 160 Rect srcIRect = new Rect((int) srcRect.left * srcImage.getWidth(), 162 (int) srcRect.right * srcImage.getWidth(), 164 Rect dstIRect = new Rect((int) dstRect.left * srcImage.getWidth(), 166 (int) dstRect.right * srcImage.getWidth(), 171 Bitmap dstBitmap = Bitmap.createBitmap(dstImage.getWidth(), dstImage.getHeight(), config);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
TimeBar.java | 124 mScrubberLeft = mPlayedBar.right - mScrubber.getWidth() / 2; 154 int scrubberRight = mScrubberLeft + mScrubber.getWidth(); 161 int half = mScrubber.getWidth() / 2; 168 return (int) ((long) (mScrubberLeft + mScrubber.getWidth() / 2 - mProgressBar.left) 179 int margin = mScrubber.getWidth() / 3; 210 getWidth() - getPaddingRight() - mTimeBounds.width() / 2, 226 : mScrubber.getWidth() / 2;
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ShapeHolder.java | 89 public float getWidth() { 90 return mShape.getShape().getWidth(); 104 s.resize(s.getWidth(), height);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RectShapeTest.java | 70 assertEquals(100f, rectShape.getWidth()); 74 assertEquals(rectShape.getWidth(), clonedShape.getWidth());
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 81 public float getWidth() { 82 return shape.getShape().getWidth(); 94 s.resize(s.getWidth(), height);
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
RenderImageJme.java | 61 width = image.getWidth(); 71 width = image.getWidth(); 79 public int getWidth() {
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ClipRegion2Activity.java | 72 mRegion.set(0, 0, getWidth(), getHeight()); 73 mRegion.op(getWidth() / 4, getHeight() / 4, 3 * getWidth() / 4, 3 * getHeight() / 4,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageShow.java | 126 Bitmap a = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ALPHA_8); 229 reflectRotation, master.getOriginalBounds(), getWidth(), getHeight()); 233 m.postScale(scaleFactor, scaleFactor, getWidth() / 2.0f, getHeight() / 2.0f); 260 getWidth() - 2*mShadowMargin, 298 float dx = (getHeight() - getWidth()) / 2f; 299 if (getWidth() > getHeight()) { 300 dx = - (getWidth() - getHeight()) / 2f; 303 canvas.rotate(180, getWidth()/2, getHeight()/2); 305 canvas.rotate(90, getWidth()/2, getHeight()/2); 308 canvas.rotate(270, getWidth()/2, getHeight()/2) [all...] |
/developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/ |
DefaultCardStreamAnimator.java | 83 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); 107 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); 110 endX = deltaX < 0 ? -view.getWidth() : view.getWidth();
|
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/ |
DefaultCardStreamAnimator.java.ftl | 81 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); 105 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); 108 endX = deltaX < 0 ? -view.getWidth() : view.getWidth();
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
DemoKitLaunch.java | 15 int maxExtent = Math.max(display.getWidth(), display.getHeight());
|
/external/chromium_org/android_webview/native/ |
aw_picture.h | 27 jint GetWidth(JNIEnv* env, jobject obj);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
RenderTarget.h | 31 GLsizei getWidth() { return mWidth; }
|