Searched defs:top (Results 76 - 100 of 343) sorted by relevance

1234567891011>>

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifListLayout.java82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
H A DSetupWizardListLayout.java90 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
91 super.onLayout(changed, left, top, right, bottom);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DIllustration.java38 * aspect ratio of the top padding, which leaves space for the illustration. Draws the illustration
116 * Set the aspect ratio reserved for the illustration. This overrides the top padding of the
121 * override the top padding.
151 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
153 final int layoutHeight = bottom - top;
174 super.onLayout(changed, left, top, right, bottom);
/frameworks/rs/driver/runtime/
H A Drs_matrix.c321 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, argument
334 top->x = viewProj->m[3] - viewProj->m[1];
335 top->y = viewProj->m[7] - viewProj->m[5];
336 top->z = viewProj->m[11] - viewProj->m[9];
337 top->w = viewProj->m[15] - viewProj->m[13];
358 len = length(top->xyz);
359 *top /= len;
369 rsIsSphereInFrustum(float4* sphere, float4* left, float4* right, float4* top, float4* bottom, argument
379 distToCenter = dot(top->xyz, sphere->xyz) + top
[all...]
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
H A DDrawableWrapperApi21.java50 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
51 mDrawable.setHotspotBounds(left, top, right, bottom);
/frameworks/support/compat/java/android/support/v4/view/
H A DWindowInsetsCompat.java69 * Returns the top system window inset in pixels.
75 * @return The top system window inset
173 * <p>A round window's left, top, right and bottom edges reach all the way to the
206 * @param top New top inset in pixels
211 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
214 ((WindowInsets) mInsets).replaceSystemWindowInsets(left, top, right, bottom));
238 * Returns the top stable inset in pixels.
246 * @return The top stable inset
/frameworks/support/design/src/android/support/design/internal/
H A DForegroundLinearLayout.java142 * Supply a Drawable that is to be rendered on top of all of the child
147 * @param drawable The Drawable to be drawn on top of the children.
179 * foreground drawable, if non-null, is always drawn on top of the children.
189 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
190 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsActions.java293 final @Nullable Drawable top, final @Nullable Drawable end,
311 TextViewCompat.setCompoundDrawablesRelative(textView, start, top, end, bottom);
292 setCompoundDrawablesRelative(final @Nullable Drawable start, final @Nullable Drawable top, final @Nullable Drawable end, final @Nullable Drawable bottom) argument
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCommon.java77 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
79 DrawableCompat.setHotspotBounds(mDelegateDrawable, left, top, right, bottom);
/frameworks/support/percent/src/android/support/percent/
H A DPercentFrameLayout.java166 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
167 super.onLayout(changed, left, top, right, bottom);
H A DPercentRelativeLayout.java165 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
166 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/transition/src/android/support/transition/
H A DViewUtils.java200 * @param top Top position, relative to parent
204 static void setLeftTopRightBottom(@NonNull View v, int left, int top, int right, int bottom) { argument
205 IMPL.setLeftTopRightBottom(v, left, top, right, bottom);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DBoundsRule.java23 * rectangular bound - left/top/right/bottom.
129 if (top == null) {
130 result.top = rect.top;
132 result.top = doCalculate(rect.top, top, rect.height());
138 result.bottom = doCalculate(rect.top, bottom, rect.height());
147 this.top = boundsRule.top !
159 public ValueRule top; field in class:BoundsRule
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DNonOverlappingLinearLayoutWithForeground.java108 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
109 super.onLayout(changed, left, top, right, bottom);
H A DScaleFrameLayout.java97 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
118 parentBottom = (int)(pivotY + (bottom - top - pivotY) / mLayoutScaleY + 0.5f)
122 parentBottom = bottom - top - getPaddingBottom();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DContentFrameLayout.java86 public void setDecorPadding(int left, int top, int right, int bottom) { argument
87 mDecorPadding.set(left, top, right, bottom);
131 h -= (mDecorPadding.top + mDecorPadding.bottom);
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp87 const int32_t top = Effects_log2(mSampleRate * 500); local
88 const int32_t jump = (top - bottom) / (mNumPeaking + 2);
/frameworks/av/media/libstagefright/foundation/
H A DMetaData.cpp82 int32_t left, int32_t top,
86 r.mTop = top;
171 int32_t *left, int32_t *top,
184 *top = r->mTop;
80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java192 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 DWindowInsets.java134 * Returns the top system window inset in pixels.
140 * @return The top system window inset
143 return mSystemWindowInsets.top;
187 * Returns the top window decor inset in pixels.
193 * @return The top window decor inset
197 return mWindowDecorInsets.top;
238 return mSystemWindowInsets.left != 0 || mSystemWindowInsets.top != 0 ||
253 return mWindowDecorInsets.left != 0 || mWindowDecorInsets.top != 0 ||
286 * <p>A round window's left, top, right and bottom edges reach all the way to the
313 * @param top tru
319 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument
343 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument
377 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument
393 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFrameLayout.java47 * <p>Child views are drawn in a stack, with the most recently added child on top.
124 mForegroundPaddingTop = padding.top;
260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
261 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
264 void layoutChildren(int left, int top, int right, int bottom, boolean forceLeftGravity) { argument
271 final int parentBottom = bottom - top - getPaddingBottomWithForeground();
/frameworks/base/core/jni/android/graphics/
H A DGraphicBuffer.cpp66 jfieldID top; member in struct:android::__anon1037
167 rect.top = GET_INT(dirtyRect, gRectClassInfo.top);
200 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom,
205 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
314 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java75 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
76 fmi.top, fmi.bottom);
81 * Ascent of top line and descent of bottom line are affected.
91 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
92 fmi.top, fmi.descent,
98 * First line ascent is top, bottom line descent is bottom.
109 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
110 fmi.top, fmi.descent,
137 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
138 fmi.top, fm
312 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DMessagingLinearLayoutTest.java215 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java66 public static Rect scaleInsets(int left, int top, int right, int bottom, float scale) { argument
68 return new Rect(left, top, right, bottom);
73 result.top = (int) Math.ceil(top * scale);

Completed in 991 milliseconds

1234567891011>>