HomeSort by relevance Sort by last modified time
    Searched refs:mWidth (Results 1 - 25 of 742) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
ManualLayoutFrame.java 25 private int mWidth;
33 mWidth = 0;
38 if (mWidth != 0) {
39 int newWidth = mWidth;
43 newWidth = Math.min(mWidth, MeasureSpec.getSize(widthMeasureSpec));
49 if (newWidth != mWidth) {
50 mWidth = newWidth;
52 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY);
55 if (mWidth == 0) {
56 mWidth = getMeasuredWidth()
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/params/
InputConfiguration.java 30 private final int mWidth;
50 mWidth = width;
61 return mWidth;
100 if (otherInputConfig.getWidth() == mWidth &&
113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat);
126 return String.format("InputConfiguration(w:%d, h:%d, format:%d)", mWidth, mHeight, mFormat);
HighSpeedVideoConfiguration.java 59 mWidth = checkArgumentPositive(width, "width must be positive");
62 mSize = new Size(mWidth, mHeight);
73 return mWidth;
148 return mWidth == other.mWidth &&
162 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax);
165 private final int mWidth;
StreamConfiguration.java 63 mWidth = checkArgumentPositive(width, "width must be positive");
87 return mWidth;
105 return new Size(mWidth, mHeight);
152 mWidth == other.mWidth &&
164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0);
168 private final int mWidth;
StreamConfigurationDuration.java 58 mWidth = checkArgumentPositive(width, "width must be positive");
82 return mWidth;
100 return new Size(mWidth, mHeight);
131 mWidth == other.mWidth &&
143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight,
148 private final int mWidth;
MeteringRectangle.java 76 private final int mWidth;
94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative");
118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative");
139 mWidth = checkArgumentNonnegative(rect.width(), "rect.width must be nonnegative");
168 return mWidth;
206 return new Size(mWidth, mHeight);
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight);
245 && mWidth == other.mWidth
255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeight, mWeight)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
AspectRatio.java 36 private final int mWidth;
44 mWidth = width;
72 return mWidth;
76 return (float) mWidth / (float) mHeight;
90 if (mWidth != that.mWidth)
98 return Objects.hashCode(mWidth, mHeight);
110 return of(mHeight, mWidth);
151 // this.mWidth other.mWidth
    [all...]
  /frameworks/base/core/java/android/util/
Size.java 32 mWidth = width;
41 return mWidth;
74 return mWidth == other.mWidth && mHeight == other.mHeight;
86 return mWidth + "x" + mHeight;
147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2)));
150 private final int mWidth;
SizeF.java 43 mWidth = checkArgumentFinite(width, "width");
52 return mWidth;
84 return mWidth == other.mWidth && mHeight == other.mHeight;
96 return mWidth + "x" + mHeight;
159 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight);
162 private final float mWidth;
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
ColorTexture.java 25 private int mWidth;
30 mWidth = 1;
36 draw(canvas, x, y, mWidth, mHeight);
50 mWidth = width;
56 return mWidth;
FadeTexture.java 31 private final int mWidth;
37 mWidth = width;
46 draw(canvas, x, y, mWidth, mHeight);
56 return mWidth;
  /frameworks/base/libs/hwui/
RenderBuffer.h 36 : mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
73 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight);
84 if (isAllocated() && (width != mWidth || height != mHeight)) {
88 mWidth = width;
95 uint32_t getWidth() const { return mWidth; }
107 return (uint32_t)((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
170 uint32_t mWidth;
VkLayer.h 33 , mWidth(layerWidth)
39 uint32_t getWidth() const override { return mWidth; }
44 mWidth = width;
61 int mWidth;
  /packages/apps/Launcher2/src/com/android/launcher2/
FastBitmapDrawable.java 30 private int mWidth;
38 mWidth = mBitmap.getWidth();
41 mWidth = mHeight = 0;
78 return mWidth;
88 return mWidth;
99 mWidth = mBitmap.getWidth();
102 mWidth = mHeight = 0;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/
Intrinsics.java 36 private int mWidth;
48 mWidth = width;
55 return mWidth;
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
UserActivityEmulator.java 26 private final int mWidth;
35 mWidth = Integer.valueOf(sizes[0].trim());
40 mDevice.executeShellCommand(String.format("input tap %d %d", mWidth / 2, mHeight / 2));
  /frameworks/base/libs/hwui/renderthread/
Frame.h 31 : mWidth(width), mHeight(height), mBufferAge(bufferAge) {}
33 int32_t width() const { return mWidth; }
44 int32_t mWidth;
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
Shape.java 35 private float mWidth;
42 return mWidth;
77 if (mWidth != width || mHeight != height) {
78 mWidth = width;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
StraightenFilter.java 47 private int mWidth = 0;
97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
98 mWidth = inputFormat.getWidth();
123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
124 -sinTheta * mWidth - cosTheta * mHeight);
126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
127 sinTheta * mWidth - cosTheta * mHeight);
129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
130 -sinTheta * mWidth + cosTheta * mHeight);
132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
Texture.cpp 24 : mTextureName(0), mTextureTarget(TEXTURE_2D), mWidth(0), mHeight(0), mFiltering(false) {}
29 mWidth(0),
49 mWidth = width;
70 return mWidth;
  /packages/services/BuiltInPrintService/src/com/android/bips/jni/
SizeD.java 27 private final double mWidth;
33 mWidth = width;
49 return mWidth;
63 out.writeDouble(mWidth);
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
GrallocBufferBase.cpp 54 yStride = align_to(align_to(mWidth, 32), yStride_align);
58 yStride = align_to(align_to(mWidth, 32), 64);
65 yStride = align_to(align_to(mWidth, 32), 64);
72 yStride = align_to(align_to(mWidth, 32), 64);
79 yStride = align_to((align_to(mWidth, 32) << 1), 64);
85 mStride.rgb.stride = align_to(((mBpp >> 3) * align_to(mWidth, 32)), 64);
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
GrallocBufferBase.cpp 56 yStride = align_to(align_to(mWidth, 32), yStride_align);
60 yStride = align_to(align_to(mWidth, 32), 64);
67 yStride = align_to(align_to(mWidth, 32), 64);
74 yStride = align_to(align_to(mWidth, 32), 64);
81 yStride = align_to((align_to(mWidth, 32) << 1), 64);
87 mStride.rgb.stride = align_to(((mBpp >> 3) * align_to(mWidth, 32)), 64);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
ZoomControlBar.java 40 private int mWidth;
64 pos = mWidth - mTotalIconWidth - x;
75 mWidth = w;
78 mSliderLength = mWidth - (2 * mTotalIconWidth);
83 if (!isEnabled() || (mWidth == 0)) return false;
129 mBar.layout(mTotalIconWidth, 0, mWidth - mTotalIconWidth, height);
141 mZoomOut.layout(mWidth - mIconWidth, 0, mWidth, height);
145 mZoomIn.layout(mWidth - mIconWidth, 0, mWidth, height)
    [all...]
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DrawingTestHelper.java 61 private final int mWidth;
67 mWidth = width;
76 MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY),
78 view.layout(0, 0, mWidth, mHeight);
83 int[] out = new int[mWidth * mHeight];
84 mBitmap.getPixels(out, 0, mWidth, 0, 0, mWidth, mHeight);

Completed in 420 milliseconds

1 2 3 4 5 6 7 8 91011>>