/frameworks/base/core/java/android/widget/ |
H A D | CheckedTextView.java | 177 protected void internalSetPadding(int left, int top, int right, int bottom) { argument 178 super.internalSetPadding(left, top, right, bottom); 237 final int left; 240 left = mBasePadding; 241 right = left + mCheckMarkWidth; 244 left = right - mCheckMarkWidth; 246 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 28 * region by left, top, width and height. 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); 182 int[] calculateOffsets(int left, int top) { argument 185 offsets = new int[] {top * mStrides[0] + left, 187 + left / 2 * 2 }; 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; 218 // Make sure left, top, width and height are all even. 221 rect.left &= ~1; 223 rect.right = rect.left + width; 228 // Make sure left an [all...] |
H A D | Rect.java | 28 * represented by the coordinates of its 4 edges (left, top, right bottom). 31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 34 public int left; field in class:Rect 49 * checking is performed, so the caller must ensure that left <= right and 52 * @param left The X coordinate of the left side of the rectangle 57 public Rect(int left, int top, int right, int bottom) { argument 58 this.left = left; 66 * rectangle (which is left unmodifie 247 set(int left, int top, int right, int bottom) argument 339 contains(int left, int top, int right, int bottom) argument 380 intersect(int left, int top, int right, int bottom) argument 443 intersects(int left, int top, int right, int bottom) argument 471 union(int left, int top, int right, int bottom) argument [all...] |
H A D | RectF.java | 28 * represented by the coordinates of its 4 edges (left, top, right bottom). 31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 34 public float left; field in class:RectF 46 * checking is performed, so the caller must ensure that left <= right and 49 * @param left The X coordinate of the left side of the rectangle 54 public RectF(float left, float top, float right, float bottom) { argument 55 this.left = left; 63 * rectangle (which is left unmodifie 198 set(float left, float top, float right, float bottom) argument 303 contains(float left, float top, float right, float bottom) argument 345 intersect(float left, float top, float right, float bottom) argument 418 intersects(float left, float top, float right, float bottom) argument 467 union(float left, float top, float right, float bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Snapshot.cpp | 81 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 98 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument 100 tmp.set(left, top, right, bottom); 114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument 115 Rect r(left, top, right, bottom); 127 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 138 setClip(r.left, r.top, r.right, r.bottom); 144 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); 156 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 157 clipRect->set(left, to 178 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | Rect.h | 31 (r).left, (r).top, (r).right, (r).bottom 39 float left; member in class:android::uirenderer::Rect 51 left(0), 57 inline Rect(float left, float top, float right, float bottom): argument 58 left(left), 65 left(0.0f), 80 left = top = right = bottom = 0.0f; 86 return !((left < right) && (top < bottom)); 90 left 93 set(float left, float top, float right, float bottom) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | FadedEdgeDrawHelper.java | 86 int left, int right, int top, int bottom, int scrollX, int scrollY, 123 if (!mIsVertical && (left + length > right - length)) { 124 length = (right - left) / 2; 143 mFadeMatrix.postTranslate(left, top); 145 canvas.drawRect(left, top, right, top + length, mFadePaint); 152 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); 158 mFadeMatrix.postTranslate(left, bottom); 160 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); 166 mFadeMatrix.postTranslate(left, top); 168 canvas.drawRect(left, to 85 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength, int mPaddingTop) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationPanelView.java | 85 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 86 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsBackground.java | 61 protected boolean setFrame(int left, int top, int right, int bottom) { argument 63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { 66 return super.setFrame(left, top, right, bottom); 106 int left, right; 109 left = chld.left - bkg.left; 113 left = 0; 116 background.setBounds(left, top, right, bottom); 145 r.left [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | BlackFrame.java | 34 final int left; field in class:BlackFrame.BlackSurface 41 left = l; 70 mTmpMatrix.setTranslate(left, top); 79 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): (" 110 pw.print(" left="); pw.print(bs.left); 126 outer.left, outer.top, inner.right, inner.top, layerStack); 128 if (outer.left < inner.left) { 130 outer.left, inne [all...] |
H A D | DisplaySettings.java | 70 outRect.left = entry.overscanLeft; 79 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument 80 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 91 entry.overscanLeft = left;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | StatsFilter.java | 114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, argument
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TreeBase.h | 22 NodeBase *left; member in class:mcld::NodeBase 27 : left(0), right(0) 81 { return ((m_pNode->left) != (m_pNode->left->right)); } 94 { X = X->left; } 102 { X->left = const_cast<NodeBase*>(Y); }
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | KeyEventCompat.java | 54 int modifiers, int basic, int left, int right) { 56 final int directional = left | right; 53 metaStateFilterDirectionalModifiers(int metaState, int modifiers, int basic, int left, int right) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | LinearLayoutICS.java | 163 void drawSupportVerticalDivider(Canvas canvas, int left) { argument 164 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, 165 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 179 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 180 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | VideoEditorResampler.cpp | 113 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) { argument 117 context->mResampler->setVolume(left,right);
|
/frameworks/av/media/libstagefright/ |
H A D | MetaData.cpp | 81 int32_t left, int32_t top, 84 r.mLeft = left; 170 int32_t *left, int32_t *top, 182 *left = r->mLeft; 79 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 168 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkUtils.java | 217 public static boolean addressTypeMatches(InetAddress left, InetAddress right) { argument 218 return (((left instanceof Inet4Address) && (right instanceof Inet4Address)) || 219 ((left instanceof Inet6Address) && (right instanceof Inet6Address)));
|
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 165 return left(widget, buffer); 245 * Performs a left movement action. 246 * Moves the cursor or scrolls left by one character. 252 protected boolean left(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 429 int left = Integer.MAX_VALUE; 432 if (lineLeft < left) { 433 left = lineLeft; 436 return left; 457 * Performs a scroll left action. 458 * Scrolls left b [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 239 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 169 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 173 if (left && lp.leftMargin != insets.left) { 175 lp.leftMargin = insets.left; 349 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 353 final int parentRight = right - left - getPaddingRight();
|
H A D | SizeAdaptiveLayout.java | 236 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 65 jfieldID left; member in struct:android::__anon1046 215 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); 256 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left); 398 gRectClassInfo.left = env->GetFieldID(clazz, "left", "I");
|
H A D | android_view_TextureView.cpp | 40 jfieldID left; member in struct:android::__anon1051 142 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 175 clipRect.set(rect.left, rect.top, rect.right, rect.bottom); 180 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 232 GET_FIELD_ID(gRectClassInfo.left, clazz, "left", "I");
|