/frameworks/base/libs/hwui/ |
H A D | TextureCache.h | 127 void uploadLoFiTexture(bool resize, SkBitmap* bitmap, uint32_t width, uint32_t height); 128 void uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height,
|
H A D | FontRenderer.h | 68 width(dropShadow.width), height(dropShadow.height), 74 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow 113 CacheTexture* createCacheTexture(int width, int height, bool allocate); 180 int32_t width, int32_t height); 182 int32_t width, int32_t height); 183 static void blurImage(uint8_t* image, int32_t width, int32_t height, int32_t radius);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestViewDrawText.java | 57 final int height = getHeight(); 64 canvas.drawText(mText, width / 2, height * 2 / 3, paint);
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
H A D | GLJNIView.java | 75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 76 GLJNILib.init(width, height);
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | EffectKenBurns.java | 56 if ( (startRect.width() <= 0) || (startRect.height() <= 0) ) { 59 if ( (endRect.width() <= 0) || (endRect.height() <= 0) ) {
|
H A D | MediaVideoItem.java | 132 (properties.height > maxInputHeight)) { 135 maxInputWidth + " height:" + maxInputHeight + 137 " height:" + properties.height); 169 mHeight = properties.height; 171 properties.height); 283 public Bitmap getThumbnail(int width, int height, long timeMs) { argument 292 if ((width <= 0) || (height <= 0)) { 298 width = height; 299 height 310 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument [all...] |
H A D | OverlayFrame.java | 208 /* get height and width for story board aspect ratio */ 241 void setOverlayFrameHeight(int height) { argument 242 mOFHeight = height; 253 * Set the resized RGB widht and height 255 void setResizedRGBSize(int width, int height) { argument 257 mResizedRGBHeight = height; 310 void generateOverlayWithRenderingMode (MediaItem mediaItemsList, OverlayFrame overlay, int height , int width) 331 /* Get original bitmap height if it is not resized */ 336 if (resizedRGBFileWidth != width || resizedRGBFileHeight != height 342 (int)height, [all...] |
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | FilterEffect.java | 88 protected Frame frameFromTexture(int texId, int width, int height) { argument 90 FrameFormat format = ImageFormat.create(width, height,
|
H A D | SizeChangeEffect.java | 47 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 50 Frame inputFrame = frameFromTexture(inputTexId, width, height);
|
/frameworks/base/native/graphics/jni/ |
H A D | bitmap.cpp | 33 info->height = bm->height();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | TrackingPatternView.java | 53 final int height = getHeight(); 63 while (y < height) {
|
H A D | QuickSettingsContainerView.java | 65 int height = MeasureSpec.getSize(heightMeasureSpec); 84 int newHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); 87 // Save the cell height 95 // Set the measured dimensions. We always fill the tray width, but wrap to the height of 120 y += lp.height + mCellGap; 125 v.layout(x, y, x + lp.width, y + lp.height); 134 y += lp.height + mCellGap;
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVCanvas.cpp | 35 for (int32_t y = 0; y < mYUVImage.height(); ++y) { 66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) { 92 CHECK((srcOffsetY + (mYUVImage.height() - 1) * skipY) < srcImage.height()); 99 for (int32_t y = 0; y < mYUVImage.height(); ++y) {
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 89 * return value is the height of the DockWindow, and its width is 92 * DockWindow, and its height is equal to the height of the screen. 98 return lp.height; 108 * <var>size</var> is the height of the DockWindow, and its width is 111 * DockWindow, and its height is equal to the height of the screen. 118 lp.height = size; 121 lp.height = -1; 145 lp.width = lp.height; [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 115 public void setFixedSize(int width, int height) { argument 116 if (mRequestedWidth != width || mRequestedHeight != height) { 118 mRequestedHeight = height; 227 public void setSurfaceFrameSize(int width, int height) { argument 231 mSurfaceFrame.bottom = height;
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | OverlayDisplayAdapter.java | 143 int height = Integer.parseInt(matcher.group(2), 10); 146 && height >= MIN_HEIGHT && height <= MAX_HEIGHT 156 + ": name=" + name + ", width=" + width + ", height=" + height 160 width, height, densityDpi, gravity)); 198 int width, int height, float refreshRate, int densityDpi, 203 mHeight = height; 238 mInfo.height = mHeight; 268 int width, int height, in 197 OverlayDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int densityDpi, SurfaceTexture surfaceTexture) argument 267 OverlayDisplayHandle(String name, int width, int height, int densityDpi, int gravity) argument [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 24 * -s [width, height] - Starting dimension 236 static EGLint width, height; variable 516 == searchLimits.sourceCrop.height()) ? ">= " : "", 526 searchLimits.sourceCrop.height())) ? ">= " : "", 551 >= Rational(searchLimits.sourceCrop.height(), 552 measPtr->df.minDim.height())) ? ">= " : "", 650 (y + startDim.height()) < (unsigned int) height; 651 y += (allowOverlap) ? 1 : startDim.height()) { 656 rect.displayFrame.bottom = y + startDim.height(); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 277 // by making the height less than arrow + bg, arrow and bg will be scrunched together, 281 final int height = mBackgroundHeight + arrowH - arrowScrunch; 284 setMeasuredDimension(length, height); 286 setMeasuredDimension(height, length); 303 final int height = getHeight(); 323 mArrowMatrix.postTranslate(0, height); 331 // since bg width is > height of screen in landscape mode... 332 mArrowMatrix.postTranslate(0, height + (mBackgroundWidth - height)); 342 height [all...] |
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 136 DXT1HasAlpha(const GLvoid *data, int width, int height) { argument 147 int yblocks = (height + 3)/4; 187 printf("Scanned w=%d h=%d in %ld usec\n", width, height, usec); 194 decodeDXT1(const GLvoid *data, int width, int height, argument 212 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) { 289 if (base_y + y >= height) { 307 decodeDXT3(const GLvoid *data, int width, int height, argument 324 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) { 395 if (base_y + y >= height) { 416 decodeDXT5(const GLvoid *data, int width, int height, argument 599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument [all...] |
H A D | TextureObjectManager.cpp | 78 int h = surface.height; 151 sur.height= native_buffer->height; 181 surface.height = h; 213 mipmap.height = h; 229 uint32_t h = (prev->height >> 1) ? : 1; 230 if (w != curr->width || h != curr->height) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | OverScrollGlow.java | 162 int height = mHostView.getHeight(); 169 mEdgeGlowTop.setSize(width, height); 177 + height); 179 mEdgeGlowBottom.setSize(width, height); 187 canvas.translate(-height - scrollY, Math.min(0, scrollX)); 188 mEdgeGlowLeft.setSize(height, width); 198 mEdgeGlowRight.setSize(height, width);
|
/frameworks/av/cmds/stagefright/ |
H A D | record.cpp | 45 DummySource(int width, int height, int colorFormat) 47 mHeight(height), 49 mSize((width * height * 3) / 2) { 203 int width, height; 205 success = success && meta->findInt32(kKeyHeight, &height); 209 int height = 480; 210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat); 218 enc_meta->setInt32(kKeyHeight, height); 222 enc_meta->setInt32(kKeySliceHeight, height);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchImpl.cpp | 78 } else if (src.width() == 1 && src.height() == 1) { 146 ALOGV("======== ninepatch bounds [%g %g]\n", SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height())); 147 ALOGV("======== ninepatch paint bm [%d,%d]\n", bitmap.width(), bitmap.height()); 154 bitmap.width() == 0 || bitmap.height() == 0 || 187 const int bitmapHeight = bitmap.height(); 205 bitmap.width(), bitmap.height(), 207 SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()), 216 // The last row always ends with the bottom being bitmap.height and the top 217 // being either yDivs[numYDivs-2] (if yDivs[numYDivs-1]=bitmap.height) or 309 src.fLeft, src.fTop, src.width(), src.height(), [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorThumbnailMain.cpp | 70 * @param height (IN) Height of thumbnail 76 M4OSA_UInt32 width, M4OSA_UInt32 height, 221 M4OSA_UInt32 width, M4OSA_UInt32 height, 228 if ((pC->m_width != width) || (pC->m_height != height)) 231 0, 0, width, height); 234 pC->m_height = height; 267 M4OSA_UInt32 height, M4OSA_UInt32* timeMS, 281 err = ThumbnailGetPixels(pContext, pixelArray, width, height, timeMS, tolerance); 290 M4OSA_UInt32 height, M4OSA_UInt32* timeMS, 303 err = ThumbnailGetPixels(pContext, (M4OSA_Int32*)pixelArray, width, height, 219 ThumbnailGetPixels(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance) argument 265 ThumbnailGetPixels32(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument 288 ThumbnailGetPixels16(const M4OSA_Context pContext, M4OSA_Int16* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 61 /** Frame height to request from camera. Actual size may not match requested. */ 62 @GenerateFieldPort(name = "height", hasDefault = true) 283 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument 288 int smallestHeight = previewSizes.get(0).height; 295 size.height <= height && 297 size.height >= closestHeight) { 299 closestHeight = size.height; 302 size.height < smallestHeight) { 304 smallestHeight = size.height; [all...] |