HomeSort by relevance Sort by last modified time
    Searched defs:mWidth (Results 151 - 175 of 252) sorted by null

1 2 3 4 5 67 8 91011

  /development/samples/ApiDemos/src/com/example/android/apis/os/
Sensors.java 69 private float mWidth;
94 mWidth = w;
96 if (mWidth < mHeight) {
129 if (mWidth < mHeight) {
130 float w0 = mWidth * 0.333333f;
154 canvas.translate(mWidth - (h*0.5f + 4.0f), y);
  /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;
GameRenderer.java 39 private int mWidth;
67 mWidth = gameWidth;
204 DrawableBitmap.beginDrawing(gl, mWidth, mHeight);
269 //mWidth = w;0
272 float scaleX = (float)w / mWidth;
274 final int viewportWidth = (int)(mWidth * scaleX);
286 float ratio = (float) mWidth / mHeight;
TiledVertexGrid.java 28 private int mWidth;
44 mWidth = width;
189 final int horzTileCount = (int)Math.ceil((float)mWidth / mTileWidth);
  /frameworks/base/libs/hwui/
PathCache.h 122 float mWidth;
131 float mWidth;
135 float mWidth;
139 float mWidth;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
CameraSource.java 59 private int mWidth = 320;
127 mOutputFormat = ImageFormat.create(mWidth, mHeight,
261 int closestSize[] = findClosestSize(mWidth, mHeight, mCameraParameters);
262 mWidth = closestSize[0];
264 mCameraParameters.setPreviewSize(mWidth, mHeight);
276 params.setPreviewSize(mWidth, mHeight);
  /frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
RgbPlayerActivity.java 73 private int mWidth = 0;
121 mWidth = Integer.parseInt(prop.getProperty("width"));
129 mBytesPerLine = mWidth * mBytesPerPixel;
132 mBitmap = Bitmap.createBitmap(mWidth, mHeight,
  /frameworks/base/services/java/com/android/server/display/
OverlayDisplayAdapter.java 191 private final int mWidth;
206 mWidth = width;
238 mInfo.width = mWidth;
263 private final int mWidth;
275 mWidth = width;
295 mWidth, mHeight, refreshRate, mDensityDpi, mSecure, surfaceTexture);
314 pw.println(" mWidth=" + mWidth);
333 mName, mWidth, mHeight, mDensityDpi, mGravity, mSecure,
OverlayDisplayWindow.java 63 private final int mWidth;
100 mWidth = width;
108 mName, mWidth, mHeight, mDensityDpi);
191 mTextureView.getLayoutParams().width = mWidth;
233 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth);
238 int width = (int)(mWidth * scale);
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DisplaySourceService.java 174 private final int mWidth;
181 mWidth = width;
188 MediaFormat format = MediaFormat.createVideoFormat("video/avc", mWidth, mHeight);
201 DISPLAY_NAME, mWidth, mHeight, mDensityDpi, surface, 0);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
Camera2Source.java 63 private int mWidth = 640;
168 yuvBuilder.setX(mWidth);
176 mBitmap = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888);
219 mWidth, mHeight
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
RsBenchRS.java 46 int mWidth;
60 mWidth = width;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
UriImage.java 55 private int mWidth;
177 mWidth = decoder.getWidth();
253 if (mWidth != 0 && mHeight != 0) {
254 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorHueView.java 40 private float mWidth;
130 if (mDotX > mWidth - mBorder) {
131 mDotX = mWidth - mBorder;
133 mHSVO[0] = 360 * (mDotX - mBorder) / (mWidth - mBorder * 2);
148 float pos = mHSVO[0] / 360 * (mWidth - mBorder * 2);
160 mWidth = w;
173 mRect.right = mWidth - mBorder;
180 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1);
ColorOpacityView.java 41 private float mWidth;
120 if (mDotX > mWidth - mBorder) {
121 mDotX = mWidth - mBorder;
123 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2);
136 float pos = mHSVO[3] * (mWidth - mBorder * 2);
148 mWidth = w;
161 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP);
170 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mCheckPaint);
171 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mBarPaint1);
172 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1)
    [all...]
ColorRectView.java 62 private int mWidth;
100 x = Math.max(Math.min(x, mWidth - mBorder), mBorder);
122 mWidth = w;
148 mBorder, 0, mWidth - mBorder, 0, wheelColor, null, Shader.TileMode.CLAMP);
165 rect.right = mWidth - mBorder;
  /packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectPickerAdapter.java 246 private int mWidth;
258 mWidth = width;
276 mWidth,
280 final Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight,
287 (mWidth - previewBitmap.getWidth()) / 2,
303 result = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888);
  /packages/apps/VideoEditor/src/com/android/videoeditor/service/
MovieMediaItem.java 43 private final int mWidth;
104 mWidth = mediaItem.getWidth();
347 return mWidth;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoCarousel.java 58 private int mWidth;
212 if (width < mWidth && height < mHeight) {
280 mWidth = right - left;
282 mOrientation = (mWidth > mHeight ? LANDSCAPE : PORTRAIT);
284 mLongSide = (int) Math.max(mWidth, mHeight);
285 mShortSide = (int) Math.min(mWidth, mHeight);
  /cts/tests/src/android/opengl/cts/
CompressedTextureLoader.java 52 mWidth = width;
63 public int getWidth() { return mWidth; }
89 private int mWidth;
126 int mWidth; // width of input surface
156 header.mWidth = headerBuffer.getInt();
253 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3;
255 Texture tex = new Texture(header.mWidth, header.mHeight,
320 int mWidth;
365 header.mWidth = headerBuffer.getInt();
428 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3
    [all...]
CompressedTextureSurfaceView.java 135 int mWidth;
256 GLES20.glViewport(0, 0, mWidth, mHeight);
266 mWidth = width;
  /cts/tests/tests/media/src/android/media/cts/
PresentationSyncTest.java 48 private int mWidth;
90 mWidth = output.getWidth();
92 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight);
211 mWidth = output.getWidth();
213 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight);
386 startX = (num % 16) * (mWidth / 16);
390 startX = (mWidth - mWidth/16) - startX;
399 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4);
416 mWidth = width
    [all...]
  /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;
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
OverlayDisplayWindow.java 57 protected final int mWidth;
66 mWidth = width;
140 if (mWidth > mHeight) {
141 height = mHeight * width / mWidth;
143 width = mWidth * height / mHeight;
251 if (mWidth * height < mHeight * width) {
252 mTextureView.getLayoutParams().width = mWidth;
253 mTextureView.getLayoutParams().height = mWidth * height / width;
289 mTextureView.getLayoutParams().width = mWidth;
331 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth);
    [all...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
VideoCapture.java 29 public int mWidth = 0;
177 mCurrentCapability.mWidth = matchedWidth;
227 return mCurrentCapability.mWidth;
426 final int ySize = mCurrentCapability.mWidth * mCurrentCapability.mHeight;

Completed in 831 milliseconds

1 2 3 4 5 67 8 91011