HomeSort by relevance Sort by last modified time
    Searched defs:newHeight (Results 1 - 25 of 57) sorted by null

1 2 3

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterDownsample.java 69 int newHeight = orig_h * p / 100;
72 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) {
75 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
  /external/skia/gm/
etc1bitmap.cpp 47 int newHeight = (blockHeight - 1) << 2;
49 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE;
54 etc1_pkm_format_header(newData, newWidth, newHeight);
67 *height = newHeight;
  /frameworks/av/media/libstagefright/omx/
SoftVideoDecoderOMXComponent.cpp 416 uint32_t newHeight = video_def->nFrameHeight;
420 if (newWidth > 32768 || newHeight > 32768
425 if (newWidth != oldWidth || newHeight != oldHeight) {
430 mHeight = newHeight;
440 def->format.video.nFrameHeight = newHeight;
  /frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
ImfBaseTestCase.java 125 int newHeight;
133 newHeight = rootView.getHeight();
135 while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) {
136 newHeight = rootView.getHeight();
139 return (Math.abs(origHeight - newHeight) >= IME_MIN_HEIGHT);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 269 final int newHeight = Math.round(newRect.height());
271 Bitmap result = pool.get(newWidth, newHeight, toOrient.getConfig());
273 result = Bitmap.createBitmap(newWidth, newHeight, toOrient.getConfig());
  /external/mesa3d/src/mesa/main/
framebuffer.c 347 GLuint newWidth, newHeight;
353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight );
356 if (buffer->Width != newWidth || buffer->Height != newHeight) {
358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
364 GLuint newWidth, newHeight;
370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight );
373 if (buffer->Width != newWidth || buffer->Height != newHeight) {
375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
texcompress_fxt1.c     [all...]
  /external/opencv3/modules/videoio/src/
cap_giganetix.cpp 449 UINT32 newWidth, newHeight;
452 imageInfo->GetSize(newWidth, newHeight);
475 m_raw_image = cvCreateImageHeader (cvSize((int)newWidth, (int)newHeight),IPL_DEPTH_8U,1);
492 m_raw_image = cvCreateImageHeader (cvSize((int)newWidth, (int)newHeight), IPL_DEPTH_32F, 3);
  /frameworks/base/core/java/com/android/internal/widget/
MessagingLinearLayout.java 135 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
139 if (newHeight <= targetHeight) {
140 totalHeight = newHeight;
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
ContactsAsyncHelper.java 184 int newHeight = (int) (orgHeight / ratio);
187 if (newWidth <= 0 || newHeight <= 0) {
194 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 226 final int newHeight = (int) (cropHeight * scaleFactor);
227 if (newWidth <= 0 || newHeight <= 0) {
230 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
  /packages/services/Telecomm/src/com/android/server/telecom/
ContactsAsyncHelper.java 169 int newHeight = (int) (orgHeight / ratio);
172 if (newWidth <= 0 || newHeight <= 0) {
179 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
  /external/deqp/framework/egl/
egluGLContextFactory.cpp 526 int newHeight = 0;
529 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &newHeight);
533 newHeight != m_glRenderTarget.getHeight())
536 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight);
538 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight,
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 494 int newWidth, newHeight;
497 newHeight = newLongSize;
500 newHeight = newShortSize;
504 float sh = height/(float)newHeight;
512 outDm.heightPixels = newHeight;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
BoundedRect.java 304 float newHeight = Math.abs(fixed_y - p[1]);
305 newWidth = Math.max(newWidth, aspRatio * newHeight);
  /external/deqp/modules/egl/
teglResizeTests.cpp 278 const int newHeight = newSurface.getHeight();
280 const int minHeight = de::min(oldHeight, newHeight);
290 const int newY = yCorner == 0 ? 0 : newHeight - minHeight;
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 562 int32_t newHeight = getWindowProp(code->nativeWindow.get(),
565 || newHeight != code->lastWindowHeight) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
StackScrollAlgorithm.java 153 float newHeight = state.height;
154 float newNotificationEnd = newYTranslation + newHeight;
473 float newHeight = bottomStackStart - childViewState.yTranslation;
474 if (newHeight < minHeight) {
475 newHeight = minHeight;
478 childViewState.height = (int) newHeight;
502 int newHeight = childHeight;
504 newHeight = (int) Math.max(Math.min(transitioningPositionStart + offset -
507 childViewState.height = newHeight;
509 childViewState.yTranslation = transitioningPositionStart + offset - newHeight
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ScrollViewTest.java     [all...]
  /external/deqp/modules/gles3/functional/
es3fFboRenderTest.cpp     [all...]
  /frameworks/base/media/java/android/media/session/
MediaSessionLegacyHelper.java 345 int newHeight = Math.round(scale * height);
350 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ExpandHelper.java 190 float newHeight = clamp(target);
191 mScaler.setHeight(newHeight);
438 final float newHeight = clamp(rawHeight);
457 mScaler.setHeight(newHeight);
  /frameworks/native/libs/gui/
GLConsumer.cpp 931 uint32_t newHeight = static_cast<uint32_t>(mCurrentCrop.height());
933 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
934 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
936 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
937 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
938 GLC_LOGV("too tall: newHeight = %d", newHeight);
952 } else if (newHeight < currentHeight) {
953 uint32_t dh = currentHeight - newHeight
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java 409 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop -
424 if (newY + newHeight > mDragLayer.getHeight()) {
426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight());
433 lp.height = newHeight;
444 newHeight);
PagedViewCellLayout.java 200 int newHeight = heightSpecSize;
204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) +
206 setMeasuredDimension(newWidth, newHeight);
216 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() -
221 setMeasuredDimension(newWidth, newHeight);

Completed in 836 milliseconds

1 2 3