/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/libs/hwui/ |
H A D | PatchCache.cpp | 85 const uint32_t width, const uint32_t height, const int8_t numColors) { 100 if (transparentQuads == int8_t((width + 1) * (height + 1))) { 105 pixelWidth, pixelHeight, width, height, transparentQuads, colorKey); 116 width, height, pixelWidth, pixelHeight, bitmapWidth, bitmapHeight); 118 mesh = new Patch(width, height, transparentQuads); 82 get(const uint32_t bitmapWidth, const uint32_t bitmapHeight, const float pixelWidth, const float pixelHeight, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, const uint32_t width, const uint32_t height, const int8_t numColors) argument
|
H A D | FontRenderer.h | 79 width(dropShadow.width), height(dropShadow.height), 85 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow 112 CacheTexture* createCacheTexture(int width, int height, bool allocate); 178 int32_t width, int32_t height); 180 int32_t width, int32_t height); 183 void blurImage(uint8_t** image, int32_t width, int32_t height, int32_t radius);
|
H A D | Layer.cpp | 40 texture.height = layerHeight; 71 bool Layer::resize(const uint32_t width, const uint32_t height) { argument 73 uint32_t desiredHeight = computeIdealWidth(height); 157 const float height = layer.getHeight(); local 160 dirtyRect.right >= width && dirtyRect.bottom >= height)) { 161 dirtyRect.set(0, 0, width, height); 164 renderer->initViewport(width, height);
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 67 void reset(int width, int height) { argument 72 android.util.Log.v("cpa", "reset " + width + ", " + height); 73 mHeight = height; 126 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 133 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | OverlayDisplayAdapter.java | 144 int height = Integer.parseInt(matcher.group(2), 10); 147 && height >= MIN_HEIGHT && height <= MAX_HEIGHT 157 + ": name=" + name + ", width=" + width + ", height=" + height 161 width, height, densityDpi, gravity)); 199 int width, int height, float refreshRate, int densityDpi, 204 mHeight = height; 239 mInfo.height = mHeight; 269 int width, int height, in 198 OverlayDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int densityDpi, SurfaceTexture surfaceTexture) argument 268 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/android/widget/ |
H A D | VideoView.java | 115 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 126 height = heightSpecSize; 129 if ( mVideoWidth * height < width * mVideoHeight ) { 131 width = height * mVideoWidth / mVideoHeight; 132 } else if ( mVideoWidth * height > width * mVideoHeight ) { 134 height = width * mVideoHeight / mVideoWidth; 137 // only the width is fixed, adjust the height to match aspect ratio if possible 139 height = width * mVideoHeight / mVideoWidth; 140 if (heightSpecMode == MeasureSpec.AT_MOST && height > heightSpecSize) { 142 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/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 50 * @param height The pixel height of current display 53 int width, int height) { 63 rotation, width, height); 73 * @param height The pixel height of current display 76 int width, int height) { 89 dumpNodeRec(root, serializer, 0, width, height); 102 int width, int height) throws IOException { 123 node, width, height) 52 dumpWindowToFile(AccessibilityNodeInfo root, int rotation, int width, int height) argument 75 dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, int width, int height) argument 101 dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, int width, int height) argument [all...] |
/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/java/android/media/videoeditor/ |
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/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...] |
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 67 int height = mDrawable.getIntrinsicHeight(); 68 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | RotateAnimation.java | 178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 179 super.initialize(width, height, parentWidth, parentHeight); 181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 56 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height, bool empty = false): argument 57 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { 76 CacheTexture(uint16_t width, uint16_t height, uint32_t maxQuadCount);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FixedRotationFilter.java | 74 int height = inputFormat.getHeight(); 83 outputFormat.setDimensions(height, width); 90 outputFormat.setDimensions(height, width);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 206 int height, int nativeConfig, boolean mutable) { 210 BufferedImage image = new BufferedImage(width, height, imageType); 213 image.setRGB(0, 0, width, height, colors, offset, stride); 232 int height = srcImage.getHeight(); 237 BufferedImage image = new BufferedImage(width, height, imageType); 240 int[] argb = new int[width * height]; 241 srcImage.getRGB(0, 0, width, height, argb, 0, width); 242 image.setRGB(0, 0, width, height, argb, 0, width); 367 int stride, int x, int y, int width, int height) { 373 delegate.getImage().getRGB(x, y, width, height, pixel 205 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 366 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 388 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.cpp | 131 EGLint width, height; local 133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); 134 RSD_CALL_GL(glViewport, 0, 0, width, height);
|