| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
| Camera2SurfaceViewActivity.java | 102 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 103 Log.i(TAG, "Surface Changed to: " + width + "x" + height); 106 currentHeight = height;
|
| /frameworks/base/native/android/ |
| native_window.cpp | 62 int32_t height, int32_t format) { 65 err = native_window_set_buffers_user_dimensions(window, width, height); 68 if (width && height) {
|
| /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
| CubeRenderer.java | 85 public void onSurfaceChanged(GL10 gl, int width, int height) { 86 gl.glViewport(0, 0, width, height); 94 float ratio = (float) width / height;
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
| stats_scorer.cpp | 44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, 50 int yStart = static_cast<int>(height * top); 51 int yEnd = static_cast<int>(height * bottom);
|
| /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
| TextViewWithCircularIndicator.java | 73 final int height = getHeight(); local 74 int radius = Math.min(width, height) / 2; 75 canvas.drawCircle(width / 2, height / 2, radius, mCirclePaint);
|
| /frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
| FindRegion.java | 55 if (mRoiBounds.height() <= 2 || 64 mPaste = new int[this.mRoiBounds.width() * this.mRoiBounds.height()]; 66 mRoiBounds.left, mRoiBounds.top, mRoiBounds.width(), mRoiBounds.height()); 109 builderF32.setY(mSearchRange.height()); 119 options.setY(0, mSearchRange.height() - mRoiBounds.height()); 124 Log.v(TAG, "noSearch " + mRoiBounds.width() + ", " + mRoiBounds.height()); 129 mRoiBounds.width(), mRoiBounds.height()); 151 int mHeight = (((int) (8 + mRect.height())) & ~3); 172 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8) [all...] |
| /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
| Blur25.java | 64 int height = mInPixelsAllocation.getType().getY(); local 74 tb.setY(height); 80 mScript.set_height(height);
|
| /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
| BitmapHelper.java | 66 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) 74 int scaleFactor = findScaleFactor(width, height, is); 76 + width + "x" + height + "requested dimension");
|
| /packages/apps/Camera2/src/com/android/camera/ui/ |
| RotateLayout.java | 56 int height = bottom - top; local 60 mChild.layout(0, 0, width, height); 64 mChild.layout(0, 0, height, width);
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
| ViewPagerTabStrip.java | 99 int height = getHeight(); local 100 canvas.drawRect(selectedLeft, height - mSelectedUnderlineThickness, 101 selectedRight, height, mSelectedUnderlinePaint);
|
| /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
| Blend.h | 94 // Height and width of individual frames 95 int width, height; member in class:Blend 97 // Height and width of mosaic 103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect); 107 int DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation);
|
| /packages/apps/LegacyCamera/src/com/android/camera/ui/ |
| RotateLayout.java | 51 int height = bottom - top; local 55 mChild.layout(0, 0, width, height); 59 mChild.layout(0, 0, height, width);
|
| /packages/apps/Messaging/src/com/android/messaging/ui/ |
| ViewPagerTabStrip.java | 93 int height = getHeight(); local 94 canvas.drawRect(selectedLeft, height - mSelectedUnderlineThickness, 95 selectedRight, height, mSelectedUnderlinePaint);
|
| /platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/ |
| SimpleGLRenderer.java | 96 public void onSurfaceChanged(GL10 unused, int width, int height) { 99 GLES20.glViewport(0, 0, width, height); 101 float ratio = (float) width / height;
|
| /external/pdfium/core/src/fxge/dib/ |
| fx_dib_convert.cpp | 219 int height = pBitmap->GetHeight(); local 228 for (row = 0; row < height; row++) { 259 int height, 266 for (int row = 0; row < height; row++) { 282 int height, 286 for (int row = 0; row < height; row++) { 296 int height, 342 for (int row = 0; row < height; row++) { 358 int height, 398 for (int row = 0; row < height; row++) [all...] |
| /bionic/libc/kernel/uapi/drm/ |
| drm_sarea.h | 46 unsigned int height; member in struct:drm_sarea_frame
|
| /bootable/recovery/ |
| interlace-frames.py | 81 width, height = img.size 82 height /= num_frames 84 out = Image.new('RGB', (width, height)) 87 for j in range(height):
|
| /bootable/recovery/minui/ |
| graphics.cpp | 60 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; 76 int width, int height) 78 for (int j = 0; j < height; ++j) { 112 bold = bold && (font->texture->height != font->cheight); 148 if (outside(x, y) || outside(x+icon->width-1, y+icon->height-1)) return; 155 icon->width, icon->height); 176 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); 179 for (int y = 0; y < gr_draw->height; ++y) { 267 return surface->height; 280 gr_font->cheight = gr_font->texture->height / 2 [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
| PlayVideoActivity.java | 169 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) { 170 if (width != 0 && height != 0) { 172 mVideoHeight = height; 195 if (rect.width() / aspectRatio <= rect.height()) { 197 lp.height = (int) (rect.width() / aspectRatio); 199 lp.width = (int) (rect.height() * aspectRatio); 200 lp.height = rect.height(); 205 @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {}
|
| /cts/tests/openglperf2/jni/graphics/ |
| GLUtils.h | 44 static bool createFBO(GLuint& fboId, GLuint& rboId, GLuint& cboId, int width, int height);
|
| /cts/tests/openglperf2/jni/reference/scene/glowing/ |
| BlurMeshNode.h | 25 BlurMeshNode(const Mesh* mesh, GLuint fboTexId, GLuint tmpTexId1, GLuint tmpTexId2, float width, float height);
|
| /cts/tests/tests/graphics2/src/android/graphics2/cts/ |
| TextureViewCameraActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 57 mHeight = height; 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 83 mHeight = height;
|
| /cts/tests/tests/media/src/android/media/cts/ |
| CodecUtils.java | 166 int width, height, rowStride, pixelStride, x, y; local 171 height = imageHeight; 174 height = imageHeight /2; 177 byte[] bb = new byte[width * height]; 182 for (y = 0; y < height; ++y) { 187 for (y = 0; y < height; ++y) { 197 for (y = 0; y < height; ++y) { 205 for (y = 0; y < height; ++y) { 216 md.update(bb, 0, width * height);
|
| MediaPlayerTestBase.java | 190 protected void playVideoTest(String path, int width, int height) throws Exception { 191 playVideoWithRetries(path, width, height, 0); 194 protected void playVideoWithRetries(String path, Integer width, Integer height, int playTime) 200 playLoadedVideo(width, height, playTime); 211 protected void playVideoTest(int resid, int width, int height) throws Exception { 216 playLoadedVideo(width, height, 0); 223 * @param height height of the video to verify, or null to skip verification 230 protected void playLoadedVideo(final Integer width, final Integer height, int playTime) 249 if (height != null) [all...] |
| /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
| CanvasStateTests.java | 41 .addCanvasClient((canvas, width, height) -> { 56 .addCanvasClient((canvas, width, height) -> { 86 .addCanvasClient((canvas, width, height) -> { 104 .addCanvasClient((canvas, width, height) -> {
|