| /packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
| PendingAttachmentData.java | 58 @NonNull final Uri sourceUri, final int width, final int height, 60 super(caption, contentType, sourceUri, width, height, onlySingleAttachment); 75 final String contentType, final Uri sourceUri, final int width, final int height) { 77 return new PendingAttachmentData(caption, contentType, sourceUri, width, height, 82 final String contentType, final Uri sourceUri, final int width, final int height, 85 return new PendingAttachmentData(caption, contentType, sourceUri, width, height,
|
| /packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
| SimSelectorAvatarRequest.java | 57 final int height = mDescriptor.desiredHeight; local 62 return renderSimAvatarInternal(identifier, width, height, simColor, simSelected, 69 final int height, final int subColor, final boolean selected, final boolean incoming) { 72 final float halfHeight = height / 2; 73 final int minOfWidthAndHeight = Math.min(width, height); 77 final Bitmap bitmap = getBitmapPool().createOrReuseBitmap(width, height, backgroundColor);
|
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
| RecycleBitmapPool.java | 74 private static int getSize(int width, int height) { 75 if (width >= 2048 || height >= 2048) { 78 return width * height * 4; 107 public Bitmap getRecycledBitmap(int width, int height) { 108 int key = getSize(width, height); 132 Log.d(TAG, "not avaialbe for " + width + "," + height);
|
| /pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
| TextureViewSubPane.java | 115 int height = width * s.getHeight() / s.getWidth(); local 116 mTextureView.setLayoutParams(new LinearLayout.LayoutParams(width, height)); 121 int height = width / 2; local 122 mTextureView.setLayoutParams(new LinearLayout.LayoutParams(width, height)); 146 final int height) { 157 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
|
| /prebuilts/tools/linux-x86_64/kythe/web/ui/css/ |
| style.css | 19 height: 100%; 72 height: 33% !important; 76 height: auto;
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
| IncludeOverlay.java | 75 whole = new Rectangle(whole.x, whole.y, whole.width + 1, whole.height + 1); 81 mask.y + mask.height).toControl(); 123 tempResult.add(new Rectangle(r.x, h.y, h.x - r.x, h.height)); 127 int hy2 = h.y + h.height; 129 int ry2 = r.y + r.height; 138 tempResult.add(new Rectangle(hx2, h.y, rx2 - hx2, h.height));
|
| /system/core/adb/ |
| framebuffer_service.cpp | 46 unsigned int height; member in struct:fbinfo 97 fbinfo.height = h; 111 fbinfo.height = h; 125 fbinfo.height = h; 139 fbinfo.height = h; 153 fbinfo.height = h;
|
| /external/opencv/cv/src/ |
| cvlkpyramid.cpp | 55 ipt.y -= win_size.height; 58 win_size.height = win_size.height * 2 + 1; 63 max_pt->y = MIN( win_size.height, imgSize.height - ipt.y ); 69 return cvAlign(imgSize.width,8) * imgSize.height / 3; 135 levelSize.height = (levelSize.height + 1) >> 1; 138 pyrBytes += tstep * levelSize.height; 141 assert( pyrBytes <= imgSize.width * imgSize.height * elem_size * 4 / 3 ) 230 int x, height = src_size.height - 2; local [all...] |
| cvpyrsegmentation.cpp | 220 if( roi.width <= 0 || roi.height <= 0 || src_step < roi.width || dst_step < roi.width ) 229 if( ((roi.width | roi.height) & ((1 << level) - 1)) != 0 ) 243 buffer_size = roi.width * roi.height * (sizeof( float ) + sizeof( _CvPyramidBase )); 246 buffer_size += ((roi.width >> l) + 1) * ((roi.height >> l) + 1) * sizeof(_CvPyramid); 264 cvInitMatHeader( &_src, roi.height, roi.width, CV_8UC1, src_image, src_step ); 265 cvInitMatHeader( &_pyramida, roi.height, roi.width, CV_32FC1, pyramida, step ); 269 p_base = (_CvPyramidBase *) (buffer + step * roi.height); 273 for( i = 0; i < roi.height; i++ ) 288 CvSize dst_size = { size.width/2+1, size.height/2+1 }; 289 CvMat prev_level = cvMat( size.height, size.width, CV_32FC1 ) [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
| CpuSpriteBatch.java | 151 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, 154 super.draw(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight, 157 drawAdjusted(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight, 163 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, 166 super.draw(texture, x, y, width, height, srcX, srcY, srcWidth, srcHeight, flipX, flipY); 168 drawAdjusted(texture, x, y, 0, 0, width, height, 1, 1, 0, srcX, srcY, srcWidth, srcHeight, flipX, flipY); 183 public void draw (Texture texture, float x, float y, float width, float height, float u, float v, float u2, float v2) { 185 super.draw(texture, x, y, width, height, u, v, u2, v2); 187 drawAdjustedUV(texture, x, y, 0, 0, width, height, 1, 1, 0, u, v, u2, v2, false, false); 201 public void draw (Texture texture, float x, float y, float width, float height) { [all...] |
| /external/skia/src/core/ |
| SkBlitter_RGB16.cpp | 18 extern void blitmask_d565_opaque_mips(int width, int height, uint16_t* device, 26 int height, 68 void blitV(int x, int y, int height, SkAlpha alpha) override; 69 void blitRect(int x, int y, int width, int height) override; 95 void blitV(int x, int y, int height, SkAlpha alpha) override; 96 void blitRect(int x, int y, int width, int height) override; 123 void blitRect(int x, int y, int width, int height) override; 208 unsigned height = clip.height(); local 212 SkASSERT((int)height > 0) 379 int height = clip.height(); local 629 int height = clip.height(); local [all...] |
| /hardware/qcom/media/msm8974/libc2dcolorconvert/ |
| C2DColorConverter.cpp | 66 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 71 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 72 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 161 mBlit.source_rect.height = srcHeight << 16; 165 mBlit.target_rect.height = dstHeight << 16; 276 void* C2DColorConverter::getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) 283 surfaceDef->height = height; 307 surfaceDef->height = height; [all...] |
| /build/tools/droiddoc/templates-sac/assets/css/ |
| default.css | 17 height: 100%; 38 height: 80px; 41 line-height: 48px; 56 height: 0; 60 height: 1px; } 68 line-height: 15px; } 76 min-height: 10px; 86 min-height:5px; /* silly way to avoid doc floating left when nav goes fixed */ 163 height: 0; 167 height: 1px; [all...] |
| /art/test/079-phantom/src/ |
| Bitmap.java | 36 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { 39 mHeight = height; 68 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) {
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
| CubeRenderer.java | 88 public void onSurfaceChanged(GL10 gl, int width, int height) { 89 gl.glViewport(0, 0, width, height); 97 float ratio = (float) width / height;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
| RVCVCameraPreview.java | 98 layout.height = (int)Math.round(v_width * mAspect); 102 layout.height = v_height; 105 layout.width, layout.height));
|
| /cts/hostsidetests/theme/app/src/android/theme/app/ |
| ReferenceViewGroup.java | 28 * {@link ViewGroup} that inflates to a reference width and height. 58 int height = getMeasureSpec(params.height, mHeightDp); local 59 child.measure(width, height);
|
| /cts/tests/tests/mediastress/src/android/mediastress/cts/ |
| NativeMediaTest.java | 57 private void runPlayTest(int width, int height) throws InterruptedException { 58 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, width, height); 65 intent.putExtra(NativeMediaActivity.EXTRA_VIDEO_HEIGHT, height);
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
| PSNRComparer.java | 41 int height) { 44 for (int y = 0 ; y < height ; y += REGION_SIZE) { 57 for (int y = 0 ; y < height ; y += REGION_SIZE) {
|
| WeightedPixelDifference.java | 72 int height) { 76 for (int y = 0 ; y < height ; y += regionSize) { 89 for (int y = 0 ; y < height ; y++) {
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
| PerPixelBitmapVerifier.java | 56 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { 59 for (int y = 0 ; y < height ; y++) { 75 int toleratedFailures = (int) (mSpatialTolerance * width * height);
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
| InfrastructureTests.java | 51 CanvasClient canvasClient = (canvas, width, height) -> { 57 int height) { 63 width, height);
|
| /cts/tests/tests/view/src/android/view/cts/ |
| GLSurfaceViewCtsActivity.java | 39 public void onSurfaceChanged(GL10 gl, int width, int height) { 88 public static void setFixedSize(int width, int height) { 91 mFixedHeight = height;
|
| ViewGroup_LayoutParamsTest.java | 61 mockLayoutParams.height); 70 public MockLayoutParams(int width, int height) { 71 super(width, height);
|
| /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ |
| BitmapHelper.java | 64 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) 72 int scaleFactor = findScaleFactor(width, height, is); 74 width, "x", height, "requested dimension");
|