Searched defs:top (Results 201 - 225 of 244) sorted by relevance

12345678910

/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java57 * DrawerLayout acts as a top-level container for window content that allows for
1657 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1782 public int clampViewPositionVertical(View child, int top, int dy) { argument
H A DSlidingPaneLayout.java51 * SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level
362 final int top;
367 top = panel.getTop();
370 left = right = top = bottom = 0;
388 if (clampedChildLeft >= left && clampedChildTop >= top &&
1167 final int top = shadowView.getTop();
1181 shadowDrawable.setBounds(left, top, right, bottom);
1328 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1379 public int clampViewPositionVertical(View child, int top, int dy) { argument
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2526 int32_t left, top, right, bottom; local
2528 &left, &top,
2545 ((bottom - top + 1) * scale.xHeight) >> 16);
4209 int32_t left, top, right, bottom; local
4213 &left, &top, &right, &bottom));
4217 crop.top = top;
H A DACodec.cpp3848 int32_t left, top, right, bottom; local
3851 notify->findRect("crop", &left, &top, &right, &bottom)) {
3854 reply->setRect("crop", left, top, right + 1, bottom + 1);
4637 &crop.left, &crop.top, &crop.right, &crop.bottom)) {
/frameworks/base/core/java/android/view/
H A DMotionEvent.java422 * Flag indicating the motion event intersected the top edge of the screen.
2861 public final boolean isWithinBoundsNoHistory(float left, float top, argument
2867 if (x < left || x > right || y < top || y > bottom) {
2887 public final MotionEvent clampNoHistory(float left, float top, float right, float bottom) { argument
2900 pc[i].y = clamp(pc[i].y, top, bottom);
H A DWindowManagerPolicy.java228 * @return Rect The left, top, right, and bottom insets, relative
238 * @return Rect The left, top, right, and bottom insets, relative
393 * at the top of the other windows and consumes events.
498 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom); argument
728 * top fullscreen windows {@link WindowManager.LayoutParams#rotationAnimation}
737 * Validate whether the current top fullscreen has specified the same
739 * being passed in from the previous top fullscreen window.
1249 * Returns whether a given window type is considered a top level one.
1250 * A top level window does not have a container, i.e. attached window,
1251 * or if it has a container it is laid out as a top
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java201 * {@link android.view.View#getTop() top},
222 * the quantity {@code top - layoutParams.topMargin} is the same for all children that
914 int top = getPaddingTop() + insets.top;
923 drawLine(canvas, x, top, x, bottom, paint);
930 int y = top + ys[i];
1116 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1120 int targetHeight = bottom - top;
2068 int left, int top, int right, int bottom,
2071 setMargins(left, top, righ
2066 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DNumberPicker.java126 * The strength of fading in the top and bottom while drawing the selector.
441 * The top of the top selection divider.
759 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
761 super.onLayout(changed, left, top, right, bottom);
1547 // draw the top divider
2541 int left, int top, int right, int bottom) {
2551 boundsInParent.set(left, top, right, bottom);
2563 String text, int left, int top, int right, int bottom) {
2574 boundsInParent.set(left, top, righ
2540 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2562 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
2596 createAccessibilityNodeInfoForNumberPicker(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp1074 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1077 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1082 (GLfloat)top,
1088 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1091 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1096 (GLfixed)top,
2420 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2423 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2428 (GLfloat)top,
2434 /* void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixe
1076 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1090 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2422 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2436 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp987 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
990 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
995 (GLfixed)top,
1820 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1823 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1828 (GLfixed)top,
2826 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2829 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2834 (GLfloat)top,
2840 /* void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloa
989 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1822 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2828 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2842 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java462 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
475 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
477 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
483 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
485 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
486 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
521 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
534 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
537 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom,
542 * Helper for saveLayerAlpha(left, top, righ
544 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
761 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
779 clipRect(float left, float top, float right, float bottom) argument
797 clipRect(int left, int top, int right, int bottom) argument
950 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1145 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1166 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1234 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1261 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
1336 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument
1995 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2013 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2031 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2035 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2040 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2044 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
2050 native_drawBitmap(long nativeCanvas, long nativeBitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
[all...]
H A DPaint.java1219 * metrics, and also increases top and bottom bounds to provide more space.
1351 public float top; field in class:Paint.FontMetrics
1397 public int top; field in class:Paint.FontMetricsInt
1404 return "FontMetricsInt: top=" + top + " ascent=" + ascent +
/frameworks/base/libs/hwui/
H A DDisplayListOp.h241 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
242 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {}
255 mLocalBounds.top = fminf(mLocalBounds.top, points[i + 1]);
338 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument
339 : mArea(left, top, right, bottom)
346 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
347 : mArea(left, top, right, bottom)
361 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom,
366 renderer.saveLayer(mArea.left, mArea.top, mAre
547 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument
838 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
999 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1026 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1076 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1107 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
1178 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1195 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
1223 float left, top, offset; local
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java333 public void glFrustumf(float left, float right, float bottom, float top, argument
336 mgl.glFrustumf(left, right, bottom, top, near, far);
340 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
343 mgl.glFrustumx(left, right, bottom, top, near, far);
607 public void glOrthof(float left, float right, float bottom, float top, argument
610 mgl.glOrthof(left, right, bottom, top, near, far);
614 public void glOrthox(int left, int right, int bottom, int top, int near, argument
617 mgl.glOrthox(left, right, bottom, top, near, far);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java429 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
435 float top,
440 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
446 int top,
799 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
805 float top,
810 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
816 int top,
431 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
442 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
801 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
812 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java225 public void onLayoutChange(View v, int left, int top, int right,
228 final int height = bottom - top;
283 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
284 super.onLayout(changed, left, top, right, bottom);
926 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft,
929 int height = bottom - top;
932 float newEndValue = mHeader.getCollapsedHeight() + mQsPeekHeight - height - top;
933 float newStartValue = -height - top;
1180 // notifications (mostly on tablets). maxNotifications denotes the normal top padding
1181 // on Keyguard, maxQs denotes the top paddin
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp1628 FeatureGroup& top = featureGroups.editTop(); local
1632 top.features.add(name, true);
1633 addParentFeatures(&top, name);
1638 if (vers > top.openGLESVersion) {
1639 top.openGLESVersion = vers;
1835 // Merge the features defined in the top level (not inside a <feature-group>)
/frameworks/native/opengl/libagl/
H A Dcontext.h468 matrixf_t& top() { return stack[depth]; } function in struct:android::gl::matrix_stack_t
469 const matrixf_t& top() const { return stack[depth]; } function in struct:android::gl::matrix_stack_t
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java487 // Scroll the chips field to the top of the screen so
649 height - backgroundPadding.top - backgroundPadding.bottom : 0;
692 result.top = backgroundPadding.top;
705 final RectF dst = new RectF(bitMapResult.left, bitMapResult.top, bitMapResult.right,
884 * Calculate the offset from bottom of the EditText to top of the provided line.
3116 float top; field in class:RecipientEditTextView.ChipBitmapContainer
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp448 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
450 rsrMeasureTextAlloc(rsc, a, left, right, top, bottom);
454 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
456 rsrMeasureText(rsc, text, left, right, top, bottom);
447 SC_MeasureTextAlloc(Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
453 SC_MeasureText(const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java1256 int left, top, right, bottom;
1259 top = startSecondary;
1263 top = start;
1268 v.layout(left, top, right, bottom);
1269 updateChildOpticalInsets(v, left, top, right, bottom);
1273 private void updateChildOpticalInsets(View v, int left, int top, int right, int bottom) { argument
1275 p.setOpticalInsets(left - v.getLeft(), top - v.getTop(),
2296 // we either align "firstView" to left/top padding edge
2307 // scroll one "page" left/top,
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java186 * {@link android.view.View#getTop() top},
207 * the quantity {@code top - layoutParams.topMargin} is the same for all children that
1005 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1009 int targetHeight = bottom - top;
1943 int left, int top, int right, int bottom,
1946 setMargins(left, top, right, bottom);
2639 * returned should indicate the distance from the top of the view to the
2716 * Indicates that a view should be aligned with the <em>top</em>
2796 return 0; // baseline gravity is top
1941 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java276 * Checks for gaps if we've reached to the top of the list.
1003 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + insets.top,
1548 private void layoutDecoratedWithMargins(View child, int left, int top, int right, int bottom) { argument
1553 + ". l:" + left + ",t:" + top
1556 layoutDecorated(child, left + lp.leftMargin, top + lp.topMargin, right - lp.rightMargin
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java841 public boolean pageUp(final boolean top) { argument
847 return pageUp(top);
852 return mAwContents.pageUp(top);
1868 public boolean setFrame(final int left, final int top, final int right, final int bottom) { argument
1869 return mWebViewPrivate.super_setFrame(left, top, right, bottom);
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h472 int top; /* macroblock address of the current pixel, see below */ member in struct:tagNeighborAvailability
493 AVCPictureType picType; /* frame, top-field or bot-field */
518 int IsReference; /* 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used */
519 int IsLongTerm; /* 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used */
545 frame top bot top frame bot frame
548 bot 2 and top 4 do not exist, the memory is not used.
633 uint8 *pintra_pred_top; /* pointer to the top intra prediction value */
671 AVCPictureType currPicType; /* frame, top-field or bot-field */
801 Availability of the neighboring top
[all...]

Completed in 1601 milliseconds

12345678910