/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 193 mLabels.beginDrawing(gl, mWidth, mHeight); 197 float msPFX = mWidth - mLabels.getWidth(mLabelMsPF) - 1; 219 mNumericSprite.draw(gl, x, 0, mWidth, mHeight); 241 mWidth = w; 259 private int mWidth;
|
/external/replicaisland/src/com/replica/replicaisland/ |
BackgroundCollisionComponent.java | 28 private int mWidth; 60 mWidth = width; 105 mWidth = width; 144 final int right = left + mWidth; 146 final float centerOffsetX = ((mWidth) / 2.0f) + left;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
VectorDrawableAtlas.cpp | 31 : mWidth((int)std::sqrt(surfaceArea)) 38 mSurface = createSurface(mWidth, mHeight, context); 39 mRectanizer = std::make_unique<GrRectanizerPow2>(mWidth, mHeight); 81 newSurface = createSurface(mWidth, mHeight, context); 87 mRectanizer = std::make_unique<GrRectanizerPow2>(mWidth, mHeight);
|
/hardware/interfaces/automotive/evs/1.0/default/ |
EvsCamera.cpp | 54 mWidth = 640; // full NTSC/VGA 58 mWidth = 320; // 1/2 NTSC/VGA 314 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, 317 ALOGE("Error %d allocating %d x %d graphics buffer", result, mWidth, mHeight); 424 buff.width = mWidth;
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
ComplicationSimpleWatchFaceService.java | 101 private int mWidth; 331 (mWidth / 2), // right 339 (mWidth / 2), // left 341 mWidth, // right 480 mWidth = width; 488 mCenterX = mWidth / 2f; 610 complicationsX = (int) ((mWidth / 2) - textWidth) / 2; 613 int offset = (int) ((mWidth / 2) - textWidth) / 2; 614 complicationsX = (mWidth / 2) + offset;
|
/frameworks/base/core/java/android/app/ |
ActivityOptions.java | 294 private int mWidth; 474 opts.mWidth = width; 501 opts.mWidth = width; 636 opts.mWidth = targetWidth; [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
Renderbuffer.cpp | 454 mWidth = 0; 466 return mWidth; 490 mWidth = renderTarget->getWidth(); 518 mWidth = width; 568 mWidth = depthStencil->getWidth(); 596 mWidth = width;
|
/frameworks/base/libs/hwui/ |
RenderProperties.h | 351 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; 377 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; 414 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; 442 int getWidth() const { return mPrimitiveFields.mWidth; } 531 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && 550 int mWidth = 0, mHeight = 0;
|
Texture.cpp | 97 if (mWidth == width && mHeight == height && mFormat == format && 101 mWidth = width; 106 notifySizeChanged(mWidth * mHeight * bytesPerPixel(internalFormat)); 132 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, mWidth, mHeight, 0, format, type, pixels); 134 glTexSubImage2D(GL_TEXTURE_2D, 0, internalFormat, mWidth, mHeight, 0, format, type, pixels); 384 mWidth = width;
|
Texture.h | 116 uint32_t width() const { return mWidth; } 187 uint32_t mWidth = 0;
|
/frameworks/base/services/core/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 253 mModes[i] = createMode(mode.mWidth, mode.mHeight, refreshRate); 464 mName, mode.mWidth, mode.mHeight, mode.mDensityDpi, mGravity, mSecure, 503 window.resize(mode.mWidth, mode.mHeight, mode.mDensityDpi); 512 final int mWidth; 517 mWidth = width; 525 .append("width=").append(mWidth)
|
OverlayDisplayWindow.java | 64 private int mWidth; 148 mWidth = width; 153 mName, mWidth, mHeight, mDensityDpi); 206 mTextureView.getLayoutParams().width = mWidth; 248 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth); 253 int width = (int)(mWidth * scale);
|
VirtualDisplayAdapter.java | 199 private int mWidth; 219 mWidth = width; 274 t.setDisplaySize(getDisplayTokenLocked(), mWidth, mHeight); 295 if (mWidth != width || mHeight != height || mDensityDpi != densityDpi) { 298 mWidth = width; 327 mInfo.width = mWidth;
|
/frameworks/av/media/libstagefright/ |
FrameDecoder.cpp | 533 frame->mWidth, 552 mWidth(0), 573 if (!findThumbnailInfo(trackMeta(), &mWidth, &mHeight, &type, &data, &size)) { 580 overrideMeta->setInt32(kKeyWidth, mWidth); 585 CHECK(trackMeta()->findInt32(kKeyWidth, &mWidth)); 596 if (mWidth <= tileWidth * gridCols && mHeight <= tileHeight * gridRows) { 598 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); 609 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); 664 || rect->right != mWidth || rect->bottom != expectedBot) { 687 trackMeta(), mWidth, mHeight, mTileWidth, mTileHeight, dstBpp()) [all...] |
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
FullPipelineRenderer.cpp | 134 float ratio = (float) mWidth / mHeight; 145 mTextureId = GLUtils::genTexture(mWidth, mHeight, GLUtils::RANDOM_FILL);
|
/frameworks/av/cmds/screenrecord/ |
EglWindow.cpp | 47 surface->query(NATIVE_WINDOW_WIDTH, &mWidth); 73 mWidth = width;
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
SoftVPXEncoder.cpp | 126 mCodecConfiguration->g_w = mWidth; 298 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { 299 ALOGE("b/25812794, Buffer size is too big, width=%d, height=%d.", mWidth, mHeight); 302 mConversionBuffer = (uint8_t *)malloc(mWidth * mHeight * 3 / 2); 666 size_t frameSize = mWidth * mHeight * 3 / 2; 671 mWidth, mHeight); 680 source, mConversionBuffer, mWidth, mHeight); 686 vpx_img_wrap(&raw_frame, VPX_IMG_FMT_I420, mWidth, mHeight,
|
/frameworks/av/media/ndk/ |
NdkImageReaderPriv.h | 73 int32_t getWidth() const { return mWidth; }; 116 const int32_t mWidth;
|
/frameworks/base/core/java/android/view/ |
Display.java | [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpView.java | 341 private int mWidth = 0; 439 GLES20.glReadPixels(mStartX, mStartY, mWidth, mHeight, 476 mWidth = Math.min(VideoDumpConfig.MAX_DUMP_WIDTH, video_width); 478 mStartX = video_width / mWidth / 2 * mWidth; 482 + "size " + mWidth + "x" + mHeight); 484 int image_size = mWidth * mHeight * VideoDumpConfig.BYTES_PER_PIXEL; 496 prop.setProperty("width", Integer.toString(mWidth));
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 152 protected int mWidth; 422 mWidth = w; 453 int x = (mWidth + 2 * mEdgePadding) / 2; 460 int dayWidthHalf = (mWidth - mEdgePadding * 2) / (mNumDays * 2); 481 final float dayWidthHalf = (mWidth - mEdgePadding * 2) / (mNumDays * 2.0f); 550 if (x < dayStart || x > mWidth - mEdgePadding) { 555 int column = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mEdgePadding)); 778 final int cellWidth = ((mWidth - (2 * mEdgePadding)) / mNumDays);
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
RSTestCore.java | 30 int mWidth; 59 mWidth = width;
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
RSTestCore.java | 30 int mWidth; 59 mWidth = width;
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
RSTestCore.java | 30 int mWidth; 59 mWidth = width;
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
FindRegion.java | 105 int mWidth = (((int) (8 + mRect.width())) & ~3); // bounding rectangle that is a power of 8 109 return new Rect(mPasteOffX, mPasteOffY, mPasteOffX + mWidth, mPasteOffY + mHeight);
|