/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 53 const float height = mLayer->layer.getHeight(); 163 const float texY = 1.0f / float(mLayer->getHeight()); 164 const float height = mLayer->layer.getHeight(); 208 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) { 221 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 316 layer->getWidth(), layer->getHeight(), layer->getFbo());
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | CameraWidgetFrame.java | 219 final int height = root.getHeight() - mInsets.bottom; // for bars 234 final int thisHeight = getHeight() - getPaddingTop() - getPaddingBottom(); 270 final float pvHeight = mPreview.getHeight() * mPreview.getScaleY(); 277 + root.getWidth() + "x" + root.getHeight()); 285 root.getHeight() - navHeight)); 288 final float fsHeight = root.getHeight() - navHeight; 391 int rawBottom = mTmpLoc[1] + getHeight();
|
/frameworks/base/services/java/com/android/server/ |
H A D | AssetAtlasService.java | 147 totalPixelCount += bitmap.getWidth() * bitmap.getHeight(); 157 return b2.getHeight() - b1.getHeight(); 258 final Canvas canvas = acquireCanvas(buffer.getWidth(), buffer.getHeight()); 274 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) { 286 canvas.translate(bitmap.getHeight(), 0.0f); 727 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) {
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 1205 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom; 1471 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom; 1478 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom; 1739 ss.height = getHeight(); 1949 int height = view.getHeight(); 1956 height = view.getHeight(); 1958 extent -= ((bottom - getHeight()) * 100) / height; 1977 int height = view.getHeight(); 1980 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); 2005 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCoun [all...] |
H A D | SlidingDrawer.java | 349 mHandleHeight = handle.getHeight(); 515 (position > (mVertical ? getHeight() : getWidth()) / 2 && 549 (mVertical ? getHeight() - mHandleHeight : getWidth() - mHandleWidth); 595 frame.bottom - deltaY + mContent.getHeight()); 625 frame.right - deltaX + mContent.getWidth(), getHeight()); 683 if (mAnimationPosition >= mBottomOffset + (mVertical ? getHeight() : getWidth()) - 1) {
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 509 if((mCurrentDimX != b.getWidth()) || (mCurrentDimY != b.getHeight())) { 692 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888); 1103 Bitmap newBitmap = Bitmap.createBitmap(data.getWidth(), data.getHeight(), Bitmap.Config.ARGB_8888); 1110 validate2DRange(xoff, yoff, data.getWidth(), data.getHeight()); 1473 tb.setY(b.getHeight()); 1502 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888); 1614 int height = b.getHeight(); 1689 int height = xpos.getHeight(); 1691 xneg.getWidth() != height || xneg.getHeight() != height || 1692 ypos.getWidth() != height || ypos.getHeight() ! [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 325 float yScale = crop.getHeight() / float(winHeight); 535 mTexture.setDimensions(mActiveBuffer->getWidth(), mActiveBuffer->getHeight()); 564 const uint32_t fbHeight = hw->getHeight(); 641 const uint32_t hw_h = hw->getHeight(); 735 c.active.crop.getHeight(), 742 c.requested.crop.getHeight(), 749 s.active.crop.getHeight(), 756 s.requested.crop.getHeight()); 977 uint32_t bufHeight = buf->getHeight(); 1020 front.active.crop.getHeight(), [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 198 mBackgroundHeight = mBackground.getHeight(); 275 final int arrowH = mArrowShortLeftAndRight.getHeight(); 300 canvas.drawRect(0, 0, width, getHeight(), mPaint); 303 final int height = getHeight(); 501 final int height = getHeight(); 691 int h = d.getHeight();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 152 public float getHeight() { method in class:ExpandHelper.ViewScaler 290 if (DEBUG) Log.d(TAG, " inside (" + v.getWidth() + ", " + v.getHeight() + ")"); 291 boolean inside = (x > 0f && y > 0f && x < v.getWidth() & y < v.getHeight()); 512 mOldHeight = mScaler.getHeight(); 530 float currentHeight = mScaler.getHeight(); 532 float h = mScaler.getHeight();
|
H A D | ImageWallpaper.java | 326 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " + 338 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { 341 mBackground.getHeight()); 347 final int availh = dh - mBackground.getHeight(); 427 c.clipRect(0, 0, mBackground.getWidth(), mBackground.getHeight(), 445 final float bottom = top + mBackground.getHeight();
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 283 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), 292 startY - tempLocation[1] + view.getHeight()); 295 endY - tempLocation[1] + view.getHeight());
|
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 178 rect.set(Rect(buffer->getWidth(), buffer->getHeight())); 194 buffer->getWidth(), buffer->getHeight(), bytesCount); 196 if (buffer->getWidth() > 0 && buffer->getHeight() > 0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 114 final int h = getHeight(); 184 final float h = getHeight(); 264 && y < getHeight() + mTouchSlop);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DayPickerView.java | 262 long currScroll = view.getFirstVisiblePosition() * child.getHeight() - child.getBottom(); 327 final int midpoint = getHeight() / 2; 346 final int height = getHeight();
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.h | 106 uint32_t getHeight() const;
|
/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 108 (widget.getHeight() - padding));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | AdjacentListsWithAdjacentISVsInside.java | 69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight());
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 178 public int getHeight() { method in class:YuvImage
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | BitmapOverlayFilter.java | 134 mBitmap.getHeight(),
|
H A D | CropFilter.java | 126 mOutputHeight == -1 ? outputFormat.getHeight() : mOutputHeight);
|
H A D | FixedRotationFilter.java | 74 int height = inputFormat.getHeight();
|
H A D | ImageSlicer.java | 79 mInputHeight = frame.getFormat().getHeight();
|
H A D | ResizeFilter.java | 98 mOHeight = mOWidth * inputFormat.getHeight() / inputFormat.getWidth();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | StatsFilter.java | 100 calcMeanAndStd(pixelBuffer, inputFrame.getWidth(), inputFrame.getHeight(), mCropRect);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | CanvasTextureViewActivity.java | 101 if (y + 20.0f + speedY >= mSurface.getHeight() || y + speedY <= 0.0f) {
|