Searched defs:bottom (Results 51 - 75 of 84) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeEffect.java427 public void setBounds(int left, int top, int right, int bottom) { argument
428 mBounds.set(left, top, right, bottom);
H A DGLRootView.java275 boolean changed, int left, int top, int right, int bottom) {
274 onLayout( boolean changed, int left, int top, int right, int bottom) argument
H A DGLView.java196 return mBounds.bottom - mBounds.top;
348 public void layout(int left, int top, int right, int bottom) { argument
349 boolean sizeChanged = setBounds(left, top, right, bottom);
355 onLayout(sizeChanged, left, top, right, bottom);
358 private boolean setBounds(int left, int top, int right, int bottom) { argument
360 || (bottom - top) != (mBounds.bottom - mBounds.top);
361 mBounds.set(left, top, right, bottom);
400 boolean changeSize, int left, int top, int right, int bottom) {
399 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
H A DTileImageView.java194 boolean changeSize, int left, int top, int right, int bottom) {
195 super.onLayout(changeSize, left, top, right, bottom);
270 for (int y = r.top, bottom = r.bottom; y < bottom; y += size) {
319 int bottom = (int) FloatMath.ceil(top + height / scale);
326 bottom = Math.min(mImageHeight, bottom);
328 out.set(left, top, right, bottom);
436 for (int ty = r.top, i = 0; ty < r.bottom; t
193 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/
H A DGLMock.java132 float left, float right, float bottom, float top,
135 float ty = -(top + bottom) / (top - bottom);
139 0, 2 / (top - bottom), 0, 0,
131 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar) argument
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DImageViewTouchBase.java117 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
118 super.onLayout(changed, left, top, right, bottom);
121 mThisHeight = bottom - top;
498 } else if (rect.bottom < viewHeight) {
499 deltaY = getHeight() - rect.bottom;
/packages/inputmethods/LatinIME/native/jni/src/
H A Dproximity_info_utils.h150 const int bottom = top + keyHeights[keyId]; local
151 return left < right && top < bottom && x >= left && x < right && y >= top && y < bottom;
233 const int bottom = top + keyHeights[keyId]; local
235 const int edgeY = y < top ? top : (y > bottom ? bottom : y);
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSoftKey.java87 float bottom) {
91 mBottomF = bottom;
86 setKeyDimensions(float left, float top, float right, float bottom) argument
/packages/apps/Browser/src/com/android/browser/
H A DTabBar.java168 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
182 mTabs.layout(pl, pt, pl + sw, bottom - top);
186 pl + sw + mButtonWidth - mAddTabOverlap, bottom - top);
/packages/apps/Calendar/src/com/android/calendar/
H A DEvent.java147 public float bottom; field in class:Event
H A DUtils.java877 * into the first 1/8th of the space between top and bottom.</li>
879 * compressed into the last 1/8th of the space between top and bottom</li>
889 * @param bottom The highest y value the dna should be drawn at
895 ArrayList<Event> events, int top, int bottom, int minPixels, int[] dayXs,
912 || bottom - top < 8 || minPixels < 0) {
915 + Arrays.toString(dayXs) + " bot-top:" + (bottom - top) + " minPixels:"
931 int minMinutes = minPixels * 4 * WORK_DAY_MINUTES / (3 * (bottom - top));
1107 weaveDNAStrands(segments, firstJulianDay, strands, top, bottom, dayXs);
1136 HashMap<Integer, DNAStrand> strands, int top, int bottom, int[] dayXs) {
1155 int height = bottom
894 createDNAStrands(int firstJulianDay, ArrayList<Event> events, int top, int bottom, int minPixels, int[] dayXs, Context context) argument
1135 weaveDNAStrands(LinkedList<DNASegment> segments, int firstJulianDay, HashMap<Integer, DNAStrand> strands, int top, int bottom, int[] dayXs) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileAdapter.java573 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
580 super.onLayout(changed, left, top, right, bottom);
631 // Let height = image size + bottom paddding.
H A DContactListItemView.java473 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
474 final int height = bottom - top;
504 // Put horizontal divider at the bottom
624 // Label and Data align bottom.
665 bounds.bottom = bounds.top + mBoundsWithoutHeader.height();
747 * Sets the flag that determines whether a divider should drawn at the bottom
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLCanvasStub.java61 public boolean clipRect(int left, int top, int right, int bottom) { argument
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlWheel.java331 boolean changed, int left, int top, int right, int bottom) {
339 mCenterY = (bottom - top) / 2;
366 view.layout(0, 0, right - left, bottom - top);
330 onLayout( boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java724 final int bottom = getScrollRange();
726 if (mScroller.springBack(mScrollX, mScrollY, 0, bottom, 0, 0)) {
730 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, bottom)) {
929 * or at the bottom of the bounds if topFocus is false
966 * if topFocus is true, or at the bottom of the bounds if topFocus is
970 * @param bottom the bottom offset of the bounds in which a focusable must
975 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
982 * top, and its bottom is above the bound's bottom
1125 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DActivityBase.java480 public void onLayoutChange(View v, int left, int top, int right, int bottom) { argument
484 int height = bottom - top;
/packages/apps/Email/src/com/android/email/activity/
H A DMessageListItem.java415 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
416 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Gallery2/src/com/android/camera/
H A DActivityBase.java481 public void onLayoutChange(View v, int left, int top, int right, int bottom) { argument
485 int height = bottom - top;
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartSweepView.java182 - mSweepPadding.bottom;
430 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8);
486 requestedTargetY, clampRect.top, clampRect.bottom);
610 if (beforeValid) clampRect.bottom = clampRect.top + (int) beforePoint;
648 - mSweepPadding.bottom;
650 mMargins.bottom = 0;
659 mMargins.bottom = mSweepPadding.bottom;
672 final int offset = mSweepPadding.bottom * 2;
673 mContentOffset.bottom
690 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTable.java418 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
419 super.onLayout(changed, left, top, right, bottom);
420 log("onLayout (%d, %d, %d, %d)", left, top, right, bottom);
422 mHeight = bottom - top;
525 public void onLayoutChange(View v, int left, int top, int right, int bottom,
791 return (hit.bottom < 0f || hit.top > getHeight() ||
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp613 /*Compute the Harris corner strength of the chunk [left,top,right,bottom] of img and
615 right and bottom have to be at most width-4,height-4*/
616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,int bottom, argument
640 for(i=top;i<=bottom;i++)
655 /*Compute the Harris corner strength of the chunk [left,top,left+123,bottom] of img and
657 right and bottom have to be at most width-4,height-4. The left of the region in s should
659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,int bottom, argument
682 for(i=top;i<=bottom;i++)
1329 stopping at bottom. The output is shifted two steps left and overwrites 128 elements for each row.
1332 inline void db_MaxSuppressFilterChunk_5x5_Aligned16_f(float **sf,float **s,int left,int top,int bottom, argument
1408 db_MaxSuppressFilter_5x5_Aligned16_f(float **sf,float **s,int left,int top,int right,int bottom, float *temp) argument
1424 db_CornersFromChunk(float **strength,int left,int top,int right,int bottom,float threshold,double *x_temp,double *y_temp,double *s_temp) argument
1496 db_ExtractCornersSaturated(float **strength,int left,int top,int right,int bottom, int bw,int bh,unsigned long area_factor, float threshold,double *temp_d, double *x_coord,double *y_coord,int *nr_corners) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DGlowPadView.java1020 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1021 super.onLayout(changed, left, top, right, bottom);
1023 final int height = bottom - top;
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java193 int right, int bottom) {
194 super.onLayout(changed, left, top, right, bottom);
225 - (bottom - top);
421 int bottom = getScrollY() + getHeight();
422 if (r.bottom > bottom) {
423 scrollTo(0, r.bottom - getHeight());
434 if (r.bottom > bot) {
437 r.bottom - getHeight() - mScrollY, 200);
192 onLayout(boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp613 /*Compute the Harris corner strength of the chunk [left,top,right,bottom] of img and
615 right and bottom have to be at most width-4,height-4*/
616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,int bottom, argument
640 for(i=top;i<=bottom;i++)
655 /*Compute the Harris corner strength of the chunk [left,top,left+123,bottom] of img and
657 right and bottom have to be at most width-4,height-4. The left of the region in s should
659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,int bottom, argument
682 for(i=top;i<=bottom;i++)
1329 stopping at bottom. The output is shifted two steps left and overwrites 128 elements for each row.
1332 inline void db_MaxSuppressFilterChunk_5x5_Aligned16_f(float **sf,float **s,int left,int top,int bottom, argument
1408 db_MaxSuppressFilter_5x5_Aligned16_f(float **sf,float **s,int left,int top,int right,int bottom, float *temp) argument
1424 db_CornersFromChunk(float **strength,int left,int top,int right,int bottom,float threshold,double *x_temp,double *y_temp,double *s_temp) argument
1496 db_ExtractCornersSaturated(float **strength,int left,int top,int right,int bottom, int bw,int bh,unsigned long area_factor, float threshold,double *temp_d, double *x_coord,double *y_coord,int *nr_corners) argument
[all...]

Completed in 721 milliseconds

1234