HomeSort by relevance Sort by last modified time
    Searched full:targetheight (Results 26 - 50 of 70) sorted by null

12 3

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 275 int targetHeight = h;
281 if (Math.abs(size.height - targetHeight) < minDiff) {
283 minDiff = Math.abs(size.height - targetHeight);
291 if (Math.abs(size.height - targetHeight) < minDiff) {
293 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 295 int targetHeight = h;
302 if (Math.abs(size.height - targetHeight) < minDiff) {
304 minDiff = Math.abs(size.height - targetHeight);
312 if (Math.abs(size.height - targetHeight) < minDiff) {
314 minDiff = Math.abs(size.height - targetHeight);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ExpandHelper.java 549 float targetHeight = nowExpanded ? naturalHeight : mSmallSize;
550 if (targetHeight != currentHeight) {
551 mScaleAnimation.setFloatValues(targetHeight);
575 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity);
588 if (DEBUG) Log.d(TAG, "targetHeight is: " + targetHeight);
  /frameworks/base/core/java/com/android/internal/widget/
MessagingLinearLayout.java 104 final int targetHeight = MeasureSpec.getSize(heightMeasureSpec);
118 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) {
139 if (newHeight <= targetHeight) {
SlidingTab.java 348 final int targetHeight = targetDrawable.getIntrinsicHeight();
359 final int targetTop = (parentHeight - targetHeight) / 2;
360 final int targetBottom = targetTop + targetHeight;
380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight;
385 target.layout(targetLeft, top, targetRight, top + targetHeight);
390 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight);
    [all...]
FloatingToolbar.java 729 final int targetHeight = mOverflowPanelSize.getHeight();
759 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight));
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 101 final int targetHeight = (int) (minPercentage * toFit.getHeight());
103 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) {
111 Bitmap toReuse = pool.get(targetWidth, targetHeight, config);
113 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config);
Downsampler.java 198 int targetHeight = (int) Math.ceil(inHeight / (double) sampleSize);
200 setInBitmap(options, pool.getDirty(targetWidth, targetHeight, config));
  /external/webrtc/webrtc/modules/video_processing/
frame_preprocessor.cc 94 return spatial_resampler_->TargetHeight();
spatial_resampler.cc 81 int32_t VPMSimpleSpatialResampler::TargetHeight() {
  /external/deqp/modules/egl/
teglNativeCoordMappingTests.cpp 229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, int y, int width, int height)
233 toGLCoord(targetWidth, targetHeight, x, y),
234 toGLCoord(targetWidth, targetHeight, x+width, y),
235 toGLCoord(targetWidth, targetHeight, x+width, y+height),
237 toGLCoord(targetWidth, targetHeight, x+width, y+height),
238 toGLCoord(targetWidth, targetHeight, x, y+height),
239 toGLCoord(targetWidth, targetHeight, x, y)
250 gl.viewport(0, 0, targetWidth, targetHeight);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CropFilter.java 106 float targetHeight = croppedDims[1] / (float)extDims[1];
107 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight);
  /packages/apps/TV/src/com/android/tv/ui/
ChannelBannerView.java 741 int targetHeight = getMeasuredHeight();
745 mCurrentHeight = targetHeight;
747 if (targetHeight != layoutParams.height) {
748 layoutParams.height = targetHeight;
751 } else if (mCurrentHeight != targetHeight || needFadeAnimation) {
756 mResizeAnimator = createResizeAnimator(targetHeight, needFadeAnimation);
761 private Animator createResizeAnimator(int targetHeight, boolean addFadeAnimation) {
762 final ValueAnimator heightAnimator = ValueAnimator.ofInt(mCurrentHeight, targetHeight);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 354 int sourceHeight, targetHeight;
369 targetHeight = DrawableTestUtils.scaleBitmapFromDensity(
372 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight());
383 targetHeight = DrawableTestUtils.scaleBitmapFromDensity(
386 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight());
398 targetHeight = DrawableTestUtils.scaleBitmapFromDensity(
401 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight());
NinePatchDrawableTest.java 342 int targetHeight = DrawableTestUtils.scaleBitmapFromDensity(
345 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight());
  /packages/apps/LegacyCamera/src/com/android/camera/
Util.java 390 int targetHeight = Math.min(display.getHeight(), display.getWidth());
392 if (targetHeight <= 0) {
394 targetHeight = display.getHeight();
401 if (Math.abs(size.height - targetHeight) < minDiff) {
403 minDiff = Math.abs(size.height - targetHeight);
413 if (Math.abs(size.height - targetHeight) < minDiff) {
415 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDecodeRunnable.java 150 int targetHeight = mPhotoTask.getTargetHeight();
177 int hScale = bitmapOptions.outHeight / targetHeight;
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 543 int targetHeight = Math.min(defaultDisplaySize.getWidth(), defaultDisplaySize.getHeight());
552 double heightDiff = Math.abs(size.getHeight() - targetHeight);
559 if (size.getHeight() < targetHeight) {
572 if (Math.abs(size.getHeight() - targetHeight) < minDiff) {
574 minDiff = Math.abs(size.getHeight() - targetHeight);
589 * @param targetHeight the ideal height of the video snapshot
594 int targetHeight) {
608 if (size.height() == targetHeight && size.width() == targetWidth) {
614 final double targetRatio = (double) targetWidth / targetHeight;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 388 int targetHeight = h;
401 curDiff = Math.abs(size.height - targetHeight) +
404 && size.height <= targetHeight
  /external/opencv3/modules/cudacodec/src/
video_reader.cpp 183 videoDecPostProcessFrame(decodedFrame, frame, videoDecoder_->targetWidth(), videoDecoder_->targetHeight());
  /packages/apps/Settings/src/com/android/settings/widget/
ChartSweepView.java 183 final float targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top
185 return mSweepPadding.top + (targetHeight / 2) + mSweepOffset.y;
654 final int targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top
656 mMargins.top = -(mSweepPadding.top + (targetHeight / 2));
  /frameworks/base/core/java/android/app/
ActivityOptions.java 537 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight,
540 targetWidth, targetHeight, handler, listener, true);
563 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight,
566 targetWidth, targetHeight, handler, listener, false);
570 int startX, int startY, int targetWidth, int targetHeight,
582 opts.mHeight = targetHeight;
    [all...]
  /cts/hostsidetests/services/activitymanager/src/android/server/cts/
ActivityAndWindowManagersState.java 481 int targetHeight = (int) Math.max(aTaskMinHeight,
485 targetHeight, (int) wTaskBounds.getHeight());
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
IWindowManagerImpl.java 237 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PanelView.java     [all...]

Completed in 6681 milliseconds

12 3