/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/ |
H A D | SetupWizardRecyclerLayout.java | 102 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 103 super.onLayout(changed, left, top, right, bottom); 179 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts).
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 254 // is also the destination, e.g. left.loadMultiply(left, right); 276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 278 m[0] = 2.f / (right - left); 281 m[12]= -(right + left) / (right - left); 286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument 288 m[0] = 2.f * near / (right - left); 290 m[8] = (right + left) / (right - left); 302 float right local [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 153 void setExpandedBounds(int left, int top, int right, int bottom) { 154 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) { 155 mExpandedBounds.set(left, top, right, bottom); 161 void setCollapsedBounds(int left, int top, int right, int bottom) { 162 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) { 163 mCollapsedBounds.set(left, top, right, bottom); 384 mCollapsedDrawX = mCollapsedBounds.right - width; 416 mExpandedDrawX = mExpandedBounds.right - width; 435 mCurrentBounds.right = lerp(mExpandedBounds.right, mCollapsedBound 662 rectEquals(Rect r, int left, int top, int right, int bottom) argument [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCommon.java | 96 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 98 DrawableCompat.setHotspotBounds(mDelegateDrawable, left, top, right, bottom);
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 47 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument 84 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 218 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 219 DrawableCompatLollipop.setHotspotBounds(drawable, left, top, right, bottom); 323 * direction is RTL (right-to left). See 339 * direction is RTL right-to-left. See {@link android.util.LayoutDirection}. 370 int right, int bottom) { 371 IMPL.setHotspotBounds(drawable, left, top, right, bottom); 369 setHotspotBounds(@onNull Drawable drawable, int left, int top, int right, int bottom) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 155 public void setPadding(int left, int top, int right, int bottom) { argument 159 super.setPadding(left, top, right, bottom); 266 final int right = mCurrText.getRight() + mTabPadding; 270 canvas.drawRect(left, top, right, bottom, mTabPaint); 284 int right = mCurrText.getRight() + mTabPadding; 287 r.set(left, top, right, bottom); 293 right = mCurrText.getRight() + mTabPadding; 294 r.union(left, top, right, bottom);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 104 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); 233 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); 270 void setBounds(int left, int top, int right, int bottom) { argument 273 mBounds.right = right;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListViewCompat.java | 91 mSelectionRightPadding = padding.right; 224 selectorRect.right += mSelectionRightPadding; 395 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 397 super.setHotspotBounds(left, top, right, bottom);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 125 public void setPadding(int left, int top, int right, int bottom) { argument 174 * @param right The right padding in pixels 182 public void setContentPadding(int left, int top, int right, int bottom) { argument 183 mContentPadding.set(left, top, right, bottom); 244 mContentPadding.right = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingRight, 310 * Returns the inner padding before the Card's right edge 312 * @return the inner padding before the Card's right edge 315 return mContentPadding.right; 457 public void setShadowPadding(int left, int top, int right, in [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 30 short right; member in struct:__anon1754 245 mixBuffer->right += (short) (source->right * track->mGains[1]); 251 mixBuffer->right += source->right; 259 mixBuffer->right = (short) (source->right * track->mGains[1]);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 53 short right; member in struct:__anon1828 154 sine[i].right = sine[i].left; 158 square[i].right = square[i].left; 162 sawtooth[i].right = sawtooth[i].left; 166 half[i].right = sawtooth[i].right / 2;
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 244 CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, 247 right.getNativeContainer(), bottom.getNativeContainer(), 243 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) 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 | 127 * insertion marker or character bounds is placed at right-to-left (RTL) character. 337 * @param right x coordinate of the right edge of the character in local coordinates. 346 final float right, final float bottom, final int flags) { 353 mCharacterBoundsArrayBuilder.append(index, left, top, right, bottom, flags); 345 addCharacterBounds(final int index, final float left, final float top, final float right, final float bottom, final int flags) argument
|
/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); 403 final int right; 406 right = left + mCheckMarkWidth; 408 right = width - mBasePadding; 409 left = right - mCheckMarkWidth; 411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom); 416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
|
H A D | DayPickerView.java | 213 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 224 final int width = right - left;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 241 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 242 super.onLayout(changed, left, top, right, bottom); 304 * Shortcut has changed and we're showing it right now, need to
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorCaptionView.java | 271 // first child to get the right Z-Ordering. 299 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 50 jfieldID right; member in struct:android::__anon848 276 float right; local 280 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom) 281 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom); 291 env->SetIntField(outBox, gRectClassInfo.right, (int) right); 324 const int right = env->GetIntField(box, gRectClassInfo.right); local 328 FPDFPage_SetMediaBox(page, left, top, right, bottom); 330 FPDFPage_SetCropBox(page, left, top, right, botto [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 72 jfieldID right; member in struct:android::__anon947 306 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); 342 dirtyRect.right, dirtyRect.bottom); 348 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right); 591 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
|
/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, int right, 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 | CanvasState.cpp | 206 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument 207 mSnapshot->clip(Rect(left, top, right, bottom), op); 232 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); 263 float right, float bottom, 266 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 270 Rect r(left, top, right, bottom); 293 float right, float bottom) const { 294 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 298 Rect r(left, top, right, bottom); 262 calculateQuickRejectForScissor(float left, float top, float right, float bottom, bool* clipRequired, bool* roundRectClipRequired, bool snapOut) const argument 292 quickRejectConservative(float left, float top, float right, float bottom) const argument
|
H A D | ClipArea.cpp | 38 handlePoint(transformedBounds, transform, r.right, r.top); 40 handlePoint(transformedBounds, transform, r.right, r.bottom); 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);
|
H A D | LayerRenderer.cpp | 47 float left, float top, float right, float bottom, bool opaque) { 55 Rect dirty(left, top, right, bottom); 57 dirty.right >= width && dirty.bottom >= height)) { 62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); 68 dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); 71 void LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 79 OpenGLRenderer::clear(left, top, right, bottom, opaque); 173 const float u2 = r->right * texX; 177 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 179 TextureVertex::set(mesh++, r->right, 46 prepareDirty(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument [all...] |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 399 data[kScaleX] = 2.0f / (right - left); 402 data[kTranslateX] = -(right + left) / (right - left); 453 MUL_ADD_STORE(r.right, data[kScaleX], data[kTranslateX]); 457 if (r.left > r.right) { 459 r.left = r.right; 460 r.right = x; 474 r.right, r.top, 475 r.right, [all...] |