Searched defs:height (Results 426 - 450 of 574) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/view/animation/
H A DAnimation.java65 * height or width of the object being animated.
71 * height or width of the parent of the object being animated.
341 * @param height Height of the object being animated
345 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java278 * <p>Returns the current height for the auto-complete drop down list. This can
279 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill
280 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height
283 * @return the height for the drop down list
292 * <p>Sets the current height for the auto-complete drop down list. This can
293 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill
294 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height
297 * @param height the height to use
301 public void setDropDownHeight(int height) { argument
[all...]
H A DLinearLayout.java699 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) {
709 if (lp.height == 0 && lp.weight > 0) {
713 // with a height of 0
715 lp.height = LayoutParams.WRAP_CONTENT;
727 lp.height = oldHeight;
824 // Check against our minimum height
862 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) {
962 // Temporarily force children to reuse their old measured height
964 int oldHeight = lp.height;
965 lp.height
1702 setChildFrame(View child, int left, int top, int width, int height) argument
1877 LayoutParams(int width, int height) argument
1892 LayoutParams(int width, int height, float weight) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java459 // Check against our minimum height and width
484 final int height = child.getMeasuredHeight();
489 childTop = parentBottom - height - lp.bottomMargin;
494 child.layout(childLeft, childTop, childLeft + width, childTop + height);
818 public LayoutParams(int width, int height) { argument
819 super(width, height);
H A DResolverDrawerLayout.java51 * Max total visible height of views not marked always-show when in the closed/initial state
56 * Max total visible height of views not marked always-show when in the closed/initial state
405 final int height = getHeight();
406 final int halfHeight = height / 2;
407 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / height);
416 final float pageDelta = (float) Math.abs(dy) / height;
774 public LayoutParams(int width, int height) { argument
775 super(width, height);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp118 int x, int y, int width, int height, const SkBitmap& dstBitmap) {
133 for (int y = 0; y < height; y++) {
318 jint offset, jint stride, jint width, jint height,
323 if (n < SkAbs32(stride) * (size_t)height) {
335 bitmap.setInfo(SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType));
344 0, 0, width, height, bitmap);
390 jint width, jint height, jint configHandle, jint allocSize,
400 if (width * height * SkColorTypeBytesPerPixel(colorType) > allocSize) {
417 bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType));
429 // hasn't been touched. This signals the renderer that the bitmap (including width, height,
117 SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, int x, int y, int width, int height, const SkBitmap& dstBitmap) argument
317 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, jint offset, jint stride, jint width, jint height, jint configHandle, jboolean isMutable) argument
389 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint width, jint height, jint configHandle, jint allocSize, jboolean requestPremul) argument
565 const int height = p->readInt32(); local
725 Bitmap_getPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
771 Bitmap_setPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp501 jint format, jint width, jint height)
500 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface, jint format, jint width, jint height) argument
H A Dandroid_view_SurfaceControl.cpp58 jfieldID height; member in struct:android::__anon873
119 jobject displayTokenObj, jobject sourceCropObj, jint width, jint height,
140 res = screenshot->update(displayToken, sourceCrop, width, height,
192 jobject surfaceObj, jobject sourceCropObj, jint width, jint height,
210 width, height, uint32_t(minLayer), uint32_t(maxLayer),
371 jobject tokenObj, jint width, jint height) {
374 SurfaceComposerClient::setDisplaySize(token, width, height);
396 env->SetIntField(infoObj, gPhysicalDisplayInfoClassInfo.height, info.h);
658 gPhysicalDisplayInfoClassInfo.height = env->GetFieldID(clazz, "height", "
118 nativeScreenshotBitmap(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform, int rotation) argument
191 nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject surfaceObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform) argument
370 nativeSetDisplaySize(JNIEnv* env, jclass clazz, jobject tokenObj, jint width, jint height) argument
[all...]
H A Dandroid_view_ThreadedRenderer.cpp284 jint width, jint height,
288 proxy->setup(width, height, (Vector3){lightX, lightY, lightZ}, lightRadius,
283 android_view_ThreadedRenderer_setup(JNIEnv* env, jobject clazz, jlong proxyPtr, jint width, jint height, jfloat lightX, jfloat lightY, jfloat lightZ, jfloat lightRadius, jint ambientShadowAlpha, jint spotShadowAlpha) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp254 ALOGE("Font size too large to fit in cache. width, height = %i, %i",
398 CacheTexture* FontRenderer::createCacheTexture(int width, int height, GLenum format, argument
400 CacheTexture* cacheTexture = new CacheTexture(width, height, format, gMaxNumberOfQuads);
600 image.height = 0;
656 image.height = paddedHeight;
731 void FontRenderer::blurImage(uint8_t** image, int32_t width, int32_t height, float radius) { argument
734 if (width * height * intRadius >= RS_MIN_INPUT_CUTOFF) {
735 uint8_t* outImage = (uint8_t*) memalign(RS_CPU_ALLOCATION_ALIGNMENT, width * height);
750 RSC::sp<const RSC::Type> t = RSC::Type::create(mRs, mRsElement, width, height, 0);
776 uint8_t* scratch = new uint8_t[width * height];
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java522 * Sets the width and height of the video to be captured. Must be called
527 * @param height the height of the video to be captured
531 public native void setVideoSize(int width, int height) argument
H A DRemoteController.java378 * @param height
382 public boolean setArtworkConfiguration(boolean wantBitmap, int width, int height) argument
386 if ((width > 0) && (height > 0)) {
388 if (height > mMaxBitmapDimension) { height = mMaxBitmapDimension; }
390 mArtworkHeight = height;
406 * @param height the maximum height in pixels
410 public boolean setArtworkConfiguration(int width, int height) throws IllegalArgumentException { argument
411 return setArtworkConfiguration(true, width, height);
[all...]
H A DTtmlRenderer.java718 public void setSize(int width, int height) { argument
720 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
723 layout(0, 0, width, height);
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java634 * @param height The new height of the {@link Surface}.
636 public void onSurfaceChanged(int format, int width, int height) { argument
646 * @param height The height of the overlay view.
650 public void onOverlayViewSizeChanged(int width, int height) { argument
910 void dispatchSurfaceChanged(int format, int width, int height) { argument
913 + ", height=" + height + ")");
915 onSurfaceChanged(format, width, height);
[all...]
H A DTvView.java109 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
112 + width + ", height=" + height + ")");
116 mSurfaceHeight = height;
591 int height = mSurfaceView.getMeasuredHeight();
594 resolveSizeAndState(height, heightMeasureSpec,
603 int height = getHeight();
604 if (width > 0 && height > 0) {
609 region.op(left, top, left + width, top + height, Region.Op.UNION);
685 private void dispatchSurfaceChanged(int format, int width, int height) { argument
793 onVideoSizeChanged(String inputId, int width, int height) argument
990 onVideoSizeChanged(Session session, int width, int height) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp101 void setBufferHeight(int height) { mHeight = height; } argument
297 width = (buffer->width + buffer->stride * (buffer->height - 1)) * 4;
368 dataSize = buffer->stride * (buffer->height - 1) + buffer->width;
370 dataSize = buffer->chromaStride * (buffer->height / 2 - 1) +
376 cr = buffer->data + (buffer->stride * buffer->height);
379 ySize = buffer->width * (buffer->height - 1) + buffer->width;
380 cSize = buffer->width * (buffer->height / 2 - 1) + buffer->width - 1;
396 ySize = buffer->stride * buffer->height;
399 cSize = cStride * buffer->height /
681 ImageReader_init(JNIEnv* env, jobject thiz, jobject weakThiz, jint width, jint height, jint format, jint maxImages) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp230 void ShaderProgram::SetSourceRect(float x, float y, float width, float height) { argument
233 Point(x, y + height),
234 Point(x + width, y + height));
246 void ShaderProgram::SetTargetRect(float x, float y, float width, float height) { argument
249 Point(x, y + height),
250 Point(x + width, y + height));
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11ExtensionPack.java150 int height,
163 int height,
324 int height
145 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
156 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetPager.java391 public void addView(View child, int width, int height) { argument
393 super.addView(child, width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java143 if (DEBUG) logf("peek to height=%.1f", mPeekHeight);
217 * We capture touch events here and update the expand height here in case according to
543 // the animation only to the last notification, and then jump to the maximum panel height so
609 public void setExpandedHeight(float height) { argument
610 if (DEBUG) logf("setExpandedHeight(%.1f)", height);
611 setExpandedHeightInternal(height + getOverExpansionPixels());
629 // If the user isn't actively poking us, let's update the height
679 * This returns the maximum height of the panel. Children should override this if their
680 * desired height is not the full height
[all...]
H A DStatusBarHeaderView.java312 int height = mExpanded ? mExpandedHeight : mCollapsedHeight;
314 if (lp.height != height) {
315 lp.height = height;
459 float height = mCollapsedHeight + t * (mExpandedHeight - mCollapsedHeight);
460 if (height < mCollapsedHeight) {
461 height = mCollapsedHeight;
463 if (height > mExpandedHeight) {
464 height
478 setClipping(float height) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java81 // a smaller scaled bitmap (The width and height of each scaled bitmap is
104 // The width and height of the full-sized bitmap
147 * the image size is (width, height), first take the intersection of (0,
148 * 0) - (width, height) and (x, y) - (x + tileSize, y + tileSize). If
235 public void setViewSize(int width, int height) { argument
237 mViewHeight = height;
370 int height = (int) Math.ceil(Math.max(
374 int top = (int) Math.floor(cY - height / (2f * scale));
376 int bottom = (int) Math.ceil(top + height / scale);
701 // We need to override the width and height, s
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java742 int width, int height, int flags, int session) {
755 advertiseDisplay(display, surface, width, height, flags);
946 final Surface surface, final int width, final int height, final int flags) {
950 || mAdvertisedDisplayHeight != height
958 mAdvertisedDisplayHeight = height;
979 mListener.onDisplayConnected(display, surface, width, height, flags);
1109 Surface surface, int width, int height, int flags);
945 advertiseDisplay(final WifiDisplay display, final Surface surface, final int width, final int height, final int flags) argument
1108 onDisplayConnected(WifiDisplay display, Surface surface, int width, int height, int flags) argument
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java217 int height = -1; field in class:WallpaperManagerService.WallpaperData
297 mEngine.setDesiredSize(mWallpaper.width, mWallpaper.height);
693 public void setDimensionHints(int width, int height) throws RemoteException { argument
701 if (width <= 0 || height <= 0) {
702 throw new IllegalArgumentException("width and height must be > 0");
707 height = Math.max(height, displaySize.y);
709 if (width != wallpaper.width || height != wallpaper.height) {
711 wallpaper.height
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConnection.java224 public void onPeerDimensionsChanged(VideoProvider videoProvider, int width, int height) {} argument
261 public void changePeerDimensions(int width, int height) {
263 l.onPeerDimensionsChanged(VideoProvider.this, width, height);

Completed in 1424 milliseconds

<<11121314151617181920>>