/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
H A D | FrameBuffer.h | 18 bool Init(int width, int height, GLenum format);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 78 public void setSize(int width, int height) { argument 80 mHeight = height; 82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0; 112 // Returns the height rounded to the next power of 2.
|
H A D | GLCanvas.java | 29 // [x, x+width) * [y, y+height) 38 // who only want to draw on the GLCanvas. Both width and height must be 40 public abstract void setSize(int width, int height); argument 92 public abstract void fillRect(float x, float y, float width, float height, int color); argument 96 BasicTexture texture, int x, int y, int width, int height); 206 * Gets the bounds given by x, y, width, and height as well as the internal 214 * @param height The height of the input rectangle. 216 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument 95 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
|
H A D | GLES20Canvas.java | 346 public void setSize(int width, int height) { argument 348 mHeight = height; 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 355 mScreenHeight = height; 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 486 public void drawRect(float x, float y, float width, float height, GLPaint paint) { argument 487 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint); 491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument 493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); 496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument 554 draw(ShaderParameter[] params, int type, int count, float x, float y, float width, float height) argument 566 setMatrix(ShaderParameter[] params, float x, float y, float width, float height) argument 575 fillRect(float x, float y, float width, float height, int color) argument 582 drawTexture(BasicTexture texture, int x, int y, int width, int height) argument 993 getBounds(Rect bounds, int x, int y, int width, int height) argument [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 78 public void setSize(int width, int height) { argument 80 mHeight = height; 82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0; 112 // Returns the height rounded to the next power of 2.
|
H A D | GLCanvas.java | 27 // [x, x+width) * [y, y+height) 36 // who only want to draw on the GLCanvas. Both width and height must be 38 public abstract void setSize(int width, int height); argument 90 public abstract void fillRect(float x, float y, float width, float height, int color); argument 94 BasicTexture texture, int x, int y, int width, int height); 204 * Gets the bounds given by x, y, width, and height as well as the internal 212 * @param height The height of the input rectangle. 214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument 93 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
|
H A D | GLES20Canvas.java | 346 public void setSize(int width, int height) { argument 348 mHeight = height; 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 355 mScreenHeight = height; 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 486 public void drawRect(float x, float y, float width, float height, GLPaint paint) { argument 487 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint); 491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument 493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); 496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument 554 draw(ShaderParameter[] params, int type, int count, float x, float y, float width, float height) argument 566 setMatrix(ShaderParameter[] params, float x, float y, float width, float height) argument 575 fillRect(float x, float y, float width, float height, int color) argument 582 drawTexture(BasicTexture texture, int x, int y, int width, int height) argument 993 getBounds(Rect bounds, int x, int y, int width, int height) argument [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
H A D | FrameBuffer.h | 15 bool Init(int width, int height, GLenum format);
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
H A D | VideoChatTestActivity.java | 96 logMessage(size.width + "x" + size.height); 258 public FrameCatcher(int width, int height) { argument 259 mExpectedSize = width * height * 3 / 2; 299 int width, int height, 303 width + "x" + height + " " + 308 Log.v(TAG, "Start test -- id " + whichCamera + " " + width + "x" + height + 338 publishProgress("Changing preview parameters " + width + "x" + height + baseStatus); 340 parameters.setPreviewSize(width, height); 350 if (setSize.width != width || setSize.height != height) { 298 TestCamera(int whichCamera, int width, int height, int frameRate, List<Integer> setDisplayOrentationAngles) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
H A D | SetupStartIndicatorView.java | 101 final int height = getHeight(); 102 final float halfHeight = height / 2.0f; 109 path.lineTo(width, height); 114 path.lineTo(0.0f, height);
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
H A D | HoloSpiralView.java | 78 public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) { argument 79 super.surfaceChanged(surfaceHolder, format, width, height); 81 mRenderScript.setSurface(surfaceHolder, width, height); 89 mWallpaperRS.resize(width, height);
|
H A D | HoloSpiralWallpaper.java | 84 int width, int height) { 85 super.onSurfaceChanged(surfaceHolder, format, width, height); 88 mRenderScript.setSurface(surfaceHolder, width, height); 96 mWallpaperRS.resize(width, height); 83 onSurfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | LeaveBehindItem.java | 52 * The height of this view. Typically, this matches the height of the originating 113 ToastBarOperation undoOp, Conversation target, Folder folder, int height) { 118 mHeight = height; 166 * Animate shrinking the height of this view. 175 final ObjectAnimator height = ObjectAnimator.ofInt(this, "animatedHeight", mHeight, 0); 178 height.setInterpolator(new DecelerateInterpolator(1.75f)); 179 height.setDuration(sShrinkAnimationDuration); 180 height.addListener(listener); 181 height 112 bind(int pos, Account account, AnimatedAdapter adapter, ToastBarOperation undoOp, Conversation target, Folder folder, int height) argument 291 setAnimatedHeight(int height) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | MultiShrinkScroller.java | 83 * In portrait mode, the height:width ratio of the photo's starting height. 123 * header, that contains the contact photo, can expand to a height equal its width. 315 // We never want the height of the photo view to exceed its width. 331 // Permanently set photo width and height. 337 photoLayoutParams.height = mMaximumHeaderHeight; 366 actionBarGradientLayoutParams.height 373 titleGradientLayoutParams.height = (int) ((mLargeTextView.getHeight() 554 // We finish scrolling above the empty starting height, and aren't projected 596 * Return ratio of non-transparent:viewgroup-height fo 702 setHeaderHeight(int height) argument 862 setTransparentViewHeight(int height) argument 1118 calculateHeightRatio(int height) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | GalleryThumbnailView.java | 45 * @return width / height 136 Log.e(TAG, "onMeasure: must have an exact height or match_parent! " + 143 float height = getMeasuredHeight() / portSpaces; 144 mLargeColumnWidth = (int) (height / ASPECT_RATIO); 146 height = getMeasuredHeight() / portSpaces; 147 mSmallColumnWidth = (int) (height / ASPECT_RATIO); 157 final int height = b - t; 158 mLeftEdge.setSize(width, height); 159 mRightEdge.setSize(width, height); 438 final int height 729 LayoutParams(int height) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ActivityPicker.java | 332 public IconResizer(int width, int height, DisplayMetrics metrics) { argument 338 mIconHeight = height; 355 int height = mIconHeight; 358 return new EmptyDrawable(width, height); 365 painter.setIntrinsicHeight(height); 378 if (width < iconWidth || height < iconHeight) { 382 height = (int) (width / ratio); 384 width = (int) (height * ratio); 399 final int y = (mIconHeight - height) / 2; 400 icon.setBounds(x, y, x + width, y + height); 437 EmptyDrawable(int width, int height) argument [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | VideoCallFragment.java | 92 * The height of the surface. 124 * @param height The height of the surface. 126 public VideoCallSurface(int surfaceId, TextureView textureView, int width, int height) { argument 128 mHeight = height; 156 * @param height The height of the {@link SurfaceTexture}. 160 int height) { 184 * @param height The new height 159 onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) argument 187 onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) argument 264 setSurfaceDimensions(int width, int height) argument 516 setPreviewSize(int width, int height) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | Thumbnail.java | 59 int height = bitmap.getHeight(); 63 int h = Math.round(scale * height);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | Thumbnail.java | 59 int height = bitmap.getHeight(); 63 int h = Math.round(scale * height);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | MediaSaver.java | 74 * @param height The height of the image data before the orientation is 84 void addImage(byte[] data, String title, long date, Location loc, int width, int height, argument 89 * saves the file to the storage in the background. The width and height 118 * @param height The height of the image data before the orientation is 126 void addImage(byte[] data, String title, Location loc, int width, int height, int orientation, argument
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | VideoRotationMetadataLoader.java | 47 int height = Integer.parseInt(val); 49 data.getMetadata().putInt(HEIGHT_KEY, height);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/ |
H A D | LetterTileDrawable.java | 111 private void drawBitmap(final Bitmap bitmap, final int width, final int height, argument 114 // height ratio. 118 final int halfLength = (int) (mScale * Math.min(destRect.width(), destRect.height()) / 2); 121 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()), 123 (int) (destRect.centerY() + halfLength + mOffset * destRect.height())); 126 sRect.set(0, 0, width, height); 137 final int minDimension = Math.min(bounds.width(), bounds.height()); 159 bounds.centerY() + mOffset * bounds.height() + sRect.height() / 2, 233 * If set to -0.5f, the letter will be shifted upwards by 0.5 times the height o [all...] |
/packages/apps/Gallery2/jni/filters/ |
H A D | bwfilter.c | 20 void JNIFUNCF(ImageFilterBwFilter, nativeApplyFilter, jobject bitmap, jint width, jint height, jint rw, jint gw, jint bw) argument 38 int len = width * height * 4;
|
H A D | gradient.c | 19 void JNIFUNCF(ImageFilter, nativeApplyGradientFilter, jobject bitmap, jint width, jint height, argument 35 int len = width * height * 4;
|
H A D | hue.c | 19 void JNIFUNCF(ImageFilterHue, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloatArray matrix) argument 25 int len = width * height * 4;
|