/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 192 return top(widget, buffer); 210 return top(widget, buffer); 228 return top(widget, buffer); 317 * Performs a top movement action. 318 * Moves the cursor or scrolls to the top of the buffer. 324 protected boolean top(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 376 * Moves the cursor or scrolls to the start of the line or to the top of the 390 * Moves the cursor or scrolls to the start of the line or to the top of the 510 final int top = widget.getScrollY(); 511 int topLine = layout.getLineForVertical(top); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 154 int left, int top, int right, int bottom); 153 nUpdateRenderLayer(long layerUpdater, long displayList, int left, int top, int right, int bottom) argument
|
H A D | ViewOverlay.java | 27 * An overlay is an extra layer that sits on top of a View (the "host view") 306 int top = child.mTop; 310 dirty.offset(left, top); 319 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 321 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty);
|
H A D | WindowInsets.java | 125 * Returns the top system window inset in pixels. 131 * @return The top system window inset 134 return mSystemWindowInsets.top; 178 * Returns the top window decor inset in pixels. 184 * @return The top window decor inset 188 return mWindowDecorInsets.top; 229 return mSystemWindowInsets.left != 0 || mSystemWindowInsets.top != 0 || 244 return mWindowDecorInsets.left != 0 || mWindowDecorInsets.top != 0 || 277 * <p>A round window's left, top, right and bottom edges reach all the way to the 304 * @param top tru 310 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument 334 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument 368 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument 384 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CheckedTextView.java | 321 protected void internalSetPadding(int left, int top, int right, int bottom) { argument 322 super.internalSetPadding(left, top, right, bottom); 385 final int top = y; 386 final int bottom = top + height; 396 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom); 401 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SizeAdaptiveLayout.java | 241 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 242 if (DEBUG) Log.d(TAG, this + " onlayout height: " + (bottom - top)); 244 int measureSpec = View.MeasureSpec.makeMeasureSpec(bottom - top,
|
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 72 jfieldID top; member in struct:android::__anon852 172 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); 206 clipRect.set(rect.left, rect.top, rect.right, rect.bottom); 212 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 317 GET_FIELD_ID(gRectClassInfo.top, clazz, "top", "I");
|
H A D | android_view_TextureView.cpp | 43 jfieldID top; member in struct:android::__anon878 148 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); 174 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.top, clazz, "top", "I");
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 74 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 75 fmi.top, fmi.bottom); 80 * Ascent of top line and descent of bottom line are affected. 90 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 91 fmi.top, fmi.descent, 97 * First line ascent is top, bottom line descent is bottom. 108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 109 fmi.top, fmi.descent, 136 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 137 fmi.top, fm 311 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
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). 35 public int top; field in class:Rect 62 * top <= bottom. 65 * @param top The Y coordinate of the top of the rectangle 69 public Rect(int left, int top, int right, int bottom) { argument 71 this.top = top; 85 left = top 259 set(int left, int top, int right, int bottom) argument 351 contains(int left, int top, int right, int bottom) argument 392 intersect(int left, int top, int right, int bottom) argument 455 intersects(int left, int top, int right, int bottom) argument 483 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). 35 public float top; field in class:RectF 47 * top <= bottom. 50 * @param top The Y coordinate of the top of the rectangle 54 public RectF(float left, float top, float right, float bottom) { argument 56 this.top = top; 70 left = top 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 | DamageAccumulator.cpp | 213 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument 214 mHead->pendingDirty.join(left, top, right, bottom);
|
H A D | Layer.cpp | 182 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument 185 const Rect r(left, top, right, bottom); 247 if (dirtyRect.isEmpty() || (dirtyRect.left <= 0 && dirtyRect.top <= 0 && 259 renderer->setupFrameState(dirtyRect.left, dirtyRect.top, 284 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, 303 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom,
|
H A D | Rect.h | 32 (r).left, (r).top, (r).right, (r).bottom 34 (r).left(), (r).top(), (r).right(), (r).bottom() 43 float top; member in class:android::uirenderer::Rect 55 top(0), 60 inline Rect(float left, float top, float right, float bottom): argument 62 top(top), 69 top(0.0f), 76 top(rect.fTop), 90 left = top 103 set(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.cpp | 93 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 110 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument 112 tmp.set(left, top, right, bottom); 126 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument 127 Rect r(left, top, right, bottom); 139 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 150 setClip(r.left, r.top, r.right, r.bottom); 156 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); 168 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 169 clipRect->set(left, top, righ 190 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | StatefulBaseRenderer.cpp | 153 bool StatefulBaseRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument 155 mDirtyClip |= mSnapshot->clip(left, top, right, bottom, op); 160 path.addRect(left, top, right, bottom); 180 clip.setRect(bounds->left, bounds->top, bounds->right, bounds->bottom); 205 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); 232 bool StatefulBaseRenderer::calculateQuickRejectForScissor(float left, float top, argument 236 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 240 Rect r(left, top, right, bottom); 273 bool StatefulBaseRenderer::quickRejectConservative(float left, float top, argument 275 if (mSnapshot->isIgnored() || bottom <= top || righ [all...] |
H A D | TextDropShadowCache.h | 123 float top; member in struct:android::uirenderer::ShadowTexture
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 229 int32_t left, top, right, bottom; local 230 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 243 StringPrintf("%s-top", key).c_str(), 244 top);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 90 * @param top 93 float bottom, float top) { 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); 113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); 114 float bottom = -top; 116 float right = top * aspect; 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); 92 gluOrtho2D(GL10 gl, float left, float right, float bottom, float top) argument
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardViewStateManager.java | 212 private int getChallengeTopRelativeToFrame(KeyguardWidgetFrame frame, int top) { argument 214 mTmpPoint[1] = top;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewThumbnail.java | 69 // Task bar clipping, the top of this thumbnail can be clipped against the opaque header 105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 106 super.onLayout(changed, left, top, right, bottom); 170 int top = (int) Math.max(0, taskBar.getTranslationY() + 172 mClipRect.set(0, top, getMeasuredWidth(), getMeasuredHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationContentView.java | 81 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 82 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UserAvatarView.java | 128 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 129 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | AmbientState.java | 107 public float getOverScrollAmount(boolean top) { argument 108 return top ? mOverScrollTopAmount : mOverScrollBottomAmount;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 296 int left, int top, int right, int bottom) { 302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 337 rect.left = rect.top 181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument 193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument 295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |