/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | EmbeddedContentContainer.java | 39 protected void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { in onSizeChanged() argument 40 super.onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); in onSizeChanged() 42 mSizeChangeListener.onSizeChanged(newWidth, newHeight); in onSizeChanged()
|
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
D | ImfBaseTestCase.java | 125 int newHeight; in destructiveCheckImeUp() local 133 newHeight = rootView.getHeight(); in destructiveCheckImeUp() 135 …while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTi… in destructiveCheckImeUp() 136 newHeight = rootView.getHeight(); in destructiveCheckImeUp() 139 return (Math.abs(origHeight - newHeight) >= IME_MIN_HEIGHT); in destructiveCheckImeUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | StackScrollState.java | 107 int newHeight = state.height; in apply() local 149 if (height != newHeight) { in apply() 150 child.setActualHeight(newHeight, false /* notifyListeners */); in apply() 171 updateChildClip(child, newHeight, state.topOverLap); in apply()
|
D | StackScrollAlgorithm.java | 199 float newHeight = state.height * state.scale; in updateClipping() local 201 float newNotificationEnd = newYTranslation + newHeight; in updateClipping() 207 clipHeight = newHeight; in updateClipping() 223 updateChildClippingAndBackground(state, newHeight, clipHeight, in updateClipping() 224 newHeight - (previousNotificationStart - newYTranslation)); in updateClipping() 502 int newHeight = childHeight; in updateStateForChildTransitioningInBottom() local 504 newHeight = (int) Math.max(Math.min(transitioningPositionStart + offset - in updateStateForChildTransitioningInBottom() 506 childViewState.height = newHeight; in updateStateForChildTransitioningInBottom() 508 childViewState.yTranslation = transitioningPositionStart + offset - newHeight in updateStateForChildTransitioningInBottom() 512 clampPositionToTopStackEnd(childViewState, newHeight); in updateStateForChildTransitioningInBottom()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 494 int newWidth, newHeight; in computeCompatibleScaling() local 497 newHeight = newLongSize; in computeCompatibleScaling() 500 newHeight = newShortSize; in computeCompatibleScaling() 504 float sh = height/(float)newHeight; in computeCompatibleScaling() 512 outDm.heightPixels = newHeight; in computeCompatibleScaling()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 403 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { in setDisplaySize() argument 411 mDisplaySurface->resizeBuffers(newWidth, newHeight); in setDisplaySize() 420 LOG_FATAL_IF(mDisplayHeight != newHeight, in setDisplaySize() 421 "Unable to set new height to %d", newHeight); in setDisplaySize()
|
D | DisplayDevice.h | 113 void setDisplaySize(const int newWidth, const int newHeight);
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 876 int32_t newHeight = mCurrentCrop.height(); in getCurrentCrop() local 878 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { in getCurrentCrop() 879 newWidth = newHeight * mDefaultWidth / mDefaultHeight; in getCurrentCrop() 881 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { in getCurrentCrop() 882 newHeight = newWidth * mDefaultHeight / mDefaultWidth; in getCurrentCrop() 883 ST_LOGV("too tall: newHeight = %d", newHeight); in getCurrentCrop() 892 } else if (newHeight < mCurrentCrop.height()) { in getCurrentCrop() 893 int32_t dh = (newHeight - mCurrentCrop.height())/2; in getCurrentCrop()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoDecoderOMXComponent.cpp | 390 uint32_t newHeight = video_def->nFrameHeight; in internalSetParameter() local 391 if (newWidth != oldWidth || newHeight != oldHeight) { in internalSetParameter() 396 mHeight = newHeight; in internalSetParameter() 406 def->format.video.nFrameHeight = newHeight; in internalSetParameter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 199 float newHeight = clamp(target); in updateExpansion() local 200 mScaler.setHeight(newHeight); in updateExpansion() 438 final float newHeight = clamp(rawHeight); in onTouchEvent() local 455 mScaler.setHeight(newHeight); in onTouchEvent()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 574 uint32_t newHeight = needSwap ? kFallbackWidth : kFallbackHeight; in recordScreen() local 575 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen() 578 gVideoWidth, gVideoHeight, newWidth, newHeight); in recordScreen() 580 gVideoHeight = newHeight; in recordScreen()
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 958 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure() local 963 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, in onMeasure() 967 if (newHeight <= heightSize) { in onMeasure() 968 heightSize = newHeight; in onMeasure()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ListRowPresenter.java | 421 int newHeight = expanded ? getExpandedRowHeight() : getRowHeight(); in onRowViewExpanded() local 422 vh.getGridView().setRowHeight(newHeight); in onRowViewExpanded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelView.java | 304 final float newHeight = Math.max(0, h + mInitialOffsetOnTouch); in onTouchEvent() local 305 if (newHeight > mPeekHeight) { in onTouchEvent() 315 setExpandedHeightInternal(newHeight); in onTouchEvent()
|
D | NotificationPanelView.java | 332 private void startQsSizeChangeAnimation(int oldHeight, final int newHeight) { in startQsSizeChangeAnimation() argument 337 mQsSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight); in startQsSizeChangeAnimation()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 352 int newHeight = Math.round(scale * height); in scaleBitmapIfTooBig() local 357 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig); in scaleBitmapIfTooBig()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 960 final int newHeight = isFullscreen ? MATCH_PARENT : WRAP_CONTENT; in onConfigureWindow() local 961 if (mIsInputViewShown && currentHeight != newHeight) { in onConfigureWindow() 963 + currentHeight + " -> " + newHeight); in onConfigureWindow() 965 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight); in onConfigureWindow()
|
D | Keyboard.java | 613 final void resize(int newWidth, int newHeight) { in resize() argument
|
/frameworks/base/docs/html/training/gestures/ |
D | scroll.jd | 321 float newHeight = (1f - mZoomer.getCurrZoom()) * 331 mZoomFocalPoint.y - newHeight * pointWithinViewportY, 333 mZoomFocalPoint.y + newHeight * (1 - pointWithinViewportY));
|
D | scale.jd | 382 float newHeight = lastSpanY / spanY * mCurrentViewport.height(); 397 - newHeight * (mContentRect.bottom - focusY) 402 mCurrentViewport.bottom = mCurrentViewport.top + newHeight;
|
/frameworks/base/core/jni/ |
D | android_app_NativeActivity.cpp | 527 int32_t newHeight = getWindowProp(code->nativeWindow.get(), in onSurfaceChanged_native() local 530 || newHeight != code->lastWindowHeight) { in onSurfaceChanged_native()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 85 int newHeight = availablePreviewSizes[i].height; in initialize() local 86 if (newWidth >= previewWidth && newHeight >= previewHeight && in initialize() 88 newHeight <= MAX_INITIAL_PREVIEW_HEIGHT) { in initialize() 91 availableVideoSizes[j].height == newHeight) { in initialize() 93 previewHeight = newHeight; in initialize()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 15735 int newHeight = bottom - top; 15736 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight); 15751 sizeChange(newWidth, newHeight, oldWidth, oldHeight); 15785 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { 15786 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 15789 mOverlay.getOverlayView().setBottom(newHeight);
|