/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | ExploreByTouchHelperActivity.java | 78 // Adds an item at the top-left quarter of the custom view. 150 * @param top Top coordinate as a fraction of the parent height, range 159 public CustomItem addItem(String description, float left, float top, float right, argument 163 item.mBounds = new RectF(left, top, right, bottom); 196 parent.mBounds.top + bounds.top * parent.mBounds.height(), 198 parent.mBounds.top + bounds.bottom * parent.mBounds.height()); 275 out.top = (int) (in.top * height);
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | ViewOverlayApi14.java | 297 int top = child.getTop(); 304 dirty.offset(left + offset[0], top + offset[1]); 313 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument 318 sInvalidateChildInParentFastMethod.invoke(mHostView, left, top, dirty);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextHelper.java | 284 void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | AppCompatTextView.java | 177 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 178 super.onLayout(changed, left, top, right, bottom); 180 mTextHelper.onLayout(changed, left, top, right, bottom);
|
H A D | ListViewCompat.java | 94 mSelectionTopPadding = padding.top; 227 selectorRect.top -= mSelectionTopPadding; 399 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 401 super.setHotspotBounds(left, top, right, bottom);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 45 * sides and <code>maxCardElevation * 1.5 + (1 - cos45) * cornerRadius</code> on top and bottom. 125 public void setPadding(int left, int top, int right, int bottom) { argument 130 public void setPaddingRelative(int start, int top, int end, int bottom) { argument 174 * @param top The top padding in pixels 183 public void setContentPadding(int left, int top, int right, int bottom) { argument 184 mContentPadding.set(left, top, right, bottom); 243 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, 320 * Returns the inner padding after the Card's top edge 322 * @return the inner padding after the Card's top edg [all...] |
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | BoxInsetLayout.java | 44 * specify the child's edges to be boxed in: {@code left|top|right|bottom} or {@code all}. The 204 maxHeight += getPaddingTop() + mForegroundPadding.top + getPaddingBottom() 231 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 237 final int parentTop = getPaddingTop() + mForegroundPadding.top; 238 final int parentBottom = bottom - top - getPaddingBottom() - mForegroundPadding.bottom; 335 int topParentPadding = getPaddingTop() + mForegroundPadding.top; 425 /** The view will force an inset on the top edge of the children. */
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 215 public void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, argument 218 nDrawRoundRect(mNativeCanvasWrapper, left.getNativeContainer(), top.getNativeContainer(),
|
H A D | WindowManagerInternal.java | 69 * @param top The rectangle top. 73 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 337 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 339 region.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | CursorAnchorInfo.java | 336 * @param top y coordinate of the top edge of the character in local coordinates. 345 public Builder addCharacterBounds(final int index, final float left, final float top, argument 353 mCharacterBoundsArrayBuilder.append(index, left, top, right, bottom, flags); 494 * Returns the vertical top position of the insertion marker, in the local coordinates that
|
/frameworks/base/core/java/android/widget/ |
H A D | CheckedTextView.java | 336 protected void internalSetPadding(int left, int top, int right, int bottom) { argument 337 super.internalSetPadding(left, top, right, bottom); 400 final int top = y; 401 final int bottom = top + height; 411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom); 416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
|
H A D | DayPickerView.java | 214 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 226 final int height = bottom - top;
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 335 final int top = mLastYOffset + newBounds.top; 339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 347 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight); 353 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height); 358 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets); 366 private void drawColorViews(int left, int top, int width, int height, argument 372 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left + width, top [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 135 // Let the view's click listener have top priority (the More button relies on this) 252 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 253 super.onLayout(changed, left, top, right, bottom); 298 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorCaptionView.java | 60 * caption will be the second. This way the caption will always be drawn on top of the content when 67 * down action is performed on top close or maximize buttons; the reason for that is we want these 296 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 318 // This assumes that the caption bar is at the top.
|
/frameworks/base/core/jni/android/graphics/ |
H A D | GIFMovie.cpp | 204 static void fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, argument 209 uint32_t* dst = bm->getAddr32(left, top); 216 if (top + copyHeight > bmHeight) { 217 copyHeight = bmHeight - top;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 54 jfieldID top; member in struct:android::__anon1039 144 // is the top-left. So, translate the PDF coordinates to ours. 230 float top; local 235 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom) 236 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom); 251 env->SetIntField(outBox, gRectClassInfo.top, (int) top); 285 const int top = env->GetIntField(box, gRectClassInfo.top); local 290 FPDFPage_SetMediaBox(page, left, top, righ [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 76 public Region(int left, int top, int right, int bottom) { argument 78 nativeSetRect(mNativeRegion, left, top, right, bottom); 97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 102 public boolean set(int left, int top, int right, int bottom) { argument 103 return nativeSetRect(mNativeRegion, left, top, right, bottom); 182 return quickContains(r.left, r.top, r.right, r.bottom); 191 public native boolean quickContains(int left, int top, int right, argument 200 return quickReject(r.left, r.top, r.right, r.bottom); 208 public native boolean quickReject(int left, int top, in argument 267 op(int left, int top, int right, int bottom, Op op) argument 412 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 420 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | ClipArea.cpp | 37 handlePoint(transformedBounds, transform, r.left, r.top); 38 handlePoint(transformedBounds, transform, r.right, r.top); 155 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom); 211 void ClipArea::setClip(float left, float top, float right, float bottom) { argument 214 mClipRect.set(left, top, right, bottom); 541 other.op(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kUnion_Op);
|
H A D | GlopBuilder.cpp | 58 quadVertex[0] = {0, 0, uvs.left, uvs.top}; 59 quadVertex[1] = {1, 0, uvs.right, uvs.top}; 501 mOutGlop->transform.modelView.loadTranslate(destination.left, destination.top, 0.0f); 511 float top = destination.top; local 520 top = (int) floorf(top + translateY + 0.5f) - translateY; 524 mOutGlop->transform.modelView.loadTranslate(left, top, 0.0f); 547 offsetY = (int) floorf(offsetY + translateY + source.top + 0.5f) - translateY - source.top; [all...] |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 400 data[kScaleY] = 2.0f / (top - bottom); 403 data[kTranslateY] = -(top + bottom) / (top - bottom); 454 MUL_ADD_STORE(r.top, data[kScaleY], data[kTranslateY]); 463 if (r.top > r.bottom) { 464 float y = r.top; 465 r.top = r.bottom; 473 r.left, r.top, 474 r.right, r.top, [all...] |
H A D | PathCache.h | 94 float top = 0; member in struct:android::uirenderer::PathTexture
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 44 && MathUtils::areEqual((a).top, (b).top) \ 81 * Like gtest's TEST, but runs on the RenderThread, and 'renderThread' is passed, in top level scope 178 snapshot->setClip(clip.left, clip.top, clip.right, clip.bottom); 210 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument 220 props.setLeftTopRightBottom(left, top, right, bottom); 232 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument 242 props.setLeftTopRightBottom(left, top, right, bottom); 260 static sp<RenderNode> createSkiaNode(int left, int top, int right, int bottom, argument 273 props.setLeftTopRightBottom(left, top, righ [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 265 * @param top 270 float left, float right, float bottom, float top, 275 if (bottom == top) { 276 throw new IllegalArgumentException("bottom == top"); 283 final float r_height = 1.0f / (top - bottom); 289 final float ty = -(top + bottom) * r_height; 319 * @param top 324 float left, float right, float bottom, float top, 329 if (top == bottom) { 330 throw new IllegalArgumentException("top 269 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument 323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument [all...] |