/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Folder.java | 656 // These represent the visual top and left of drag view if a dragRect was provided. 657 // If a dragRect was not provided, then they correspond to the actual view left and 660 int left = x - xOffset; 664 res[0] = left + dragView.getDragRegion().width() / 2; 810 int centerX = (int) (mTempRect.left + mTempRect.width() * scale / 2); 828 int left = Math.min(Math.max(bounds.left, centeredLeft), 829 bounds.left + bounds.width() - width); 834 left = bounds.left [all...] |
H A D | DragLayer.java | 327 int left = vX - x; 329 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); 437 final int fromX = r.left; 492 final int fromX = r.left; 523 * @param from The initial location of the view. Only the left and top parameters are used. 524 * @param to The final location of the view. Only the left and top parameters are used. This 546 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) + 587 float fromLeft = from.left [all...] |
H A D | CellLayout.java | 291 // have. We ignore the left/right padding on CellLayout because it turns out in our design 302 // have. We ignore the left/right padding on CellLayout because it turns out in our design 344 void setOverScrollAmount(float r, boolean left) { argument 345 if (left && mOverScrollForegroundDrawable != mOverScrollLeft) { 347 } else if (!left && mOverScrollForegroundDrawable != mOverScrollRight) { 399 r.left = (int) (r.left * scale + 0.5f); 823 * Given a cell coordinate, return the point that represents the upper left corner of that cell 877 final int left = hStartPadding + cellX * (mCellWidth + mWidthGap); 879 result.set(left, to 1789 compare(View left, View right) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | InterpolatingLayout.java | 279 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 281 int width = right - left; 313 child.layout(mOutRect.left, mOutRect.top, mOutRect.right, mOutRect.bottom);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | CommonControllerOverlay.java | 241 // | Content Area | insets.right = insets.left = 0 258 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 260 int pl = insets.left; // the left paddings 266 int w = right - left;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | EdgeEffect.java | 425 public void setBounds(int left, int top, int right, int bottom) { argument 426 mBounds.set(left, top, right, bottom); 437 draw(canvas, b.left, b.top, b.width(), b.height());
|
H A D | PopupList.java | 149 mPopupHeight = Math.min(maxHeight, content.getMeasuredHeight() + p.left + p.right); 150 mPopupOffsetX = -p.left;
|
H A D | TileImageViewAdapter.java | 180 (overlapRegion.left - wantRegion.left) >> level,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | PreviewPlacerView.java | 300 private static void clipRect(final Rect out, final int left, final int top, final int right, argument 302 out.set(Math.max(out.left, left), Math.max(out.top, top), Math.min(out.right, right),
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoCarousel.java | 281 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 283 mWidth = right - left; 295 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Delaunay.h | 123 #define left(a) orig(rotinv(a)) macro
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDetailPhotoSetter.java | 77 rect.left = (int) (pos[0] * appScale + 0.5f);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageGallery.java | 819 int left = (w - width) / 2 + xPos; 821 mDstRect.set(left, top, left + width, top + height); 846 int left = (w - width) / 2 + xPos; 848 mSrcRect.set(left, top, left + width, top + height); 868 int left = 5 + xPos; 870 mSrcRect.set(left, top, left + width, top + height);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
H A D | GLCanvasStub.java | 40 public boolean clipRect(int left, int top, int right, int bottom) { argument
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Delaunay.h | 123 #define left(a) orig(rotinv(a)) macro
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ZoomControlBar.java | 59 // For left-hand users, as the device is rotated for 180 degree for 119 // layout for the left-hand camera control 126 boolean changed, int left, int top, int right, int bottom) { 130 // For left-hand users, as the device is rotated for 180 degree, 125 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
H A D | SecondLevelIndicatorControlBar.java | 173 boolean changed, int left, int top, int right, int bottom) { 176 int width = right - left; 172 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
H A D | ZoomControlWheel.java | 145 boolean changed, int left, int top, int right, int bottom) { 146 mCenterX = right - left - Util.dpToPixel( 144 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 69 /*Compute derivatives Ix,Iy for a subrow of img with upper left (i,j) and width chunk_width 82 /*Compute derivatives Ix,Iy for a subrow of img with upper left (i,j) and width 128 112 movq mm2,[ebx-1] /*13 Get left*/ 613 /*Compute the Harris corner strength of the chunk [left,top,right,bottom] of img and 614 store it into the corresponding region of s. left and top have to be at least 3 and 616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,int bottom, argument 618 13*(right-left+5) of allocated memory*/ 625 chunk_width=right-left+1; 637 for(i=top-2;i<top+2;i++) db_IxIyRow_f(Ix[i%5],Iy[i%5],img,i,left-2,chunk_width_p4); 643 db_IxIyRow_f(Ix[(i+2)%5],Iy[(i+2)%5],img,(i+2),left 659 db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,int bottom, int *temp, int nc) argument 1056 db_MaxImage_Aligned16_f(float **img,int left,int top,int w,int h) argument 1332 db_MaxSuppressFilterChunk_5x5_Aligned16_f(float **sf,float **s,int left,int top,int bottom, float *temp) 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/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 69 /*Compute derivatives Ix,Iy for a subrow of img with upper left (i,j) and width chunk_width 82 /*Compute derivatives Ix,Iy for a subrow of img with upper left (i,j) and width 128 112 movq mm2,[ebx-1] /*13 Get left*/ 613 /*Compute the Harris corner strength of the chunk [left,top,right,bottom] of img and 614 store it into the corresponding region of s. left and top have to be at least 3 and 616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,int bottom, argument 618 13*(right-left+5) of allocated memory*/ 625 chunk_width=right-left+1; 637 for(i=top-2;i<top+2;i++) db_IxIyRow_f(Ix[i%5],Iy[i%5],img,i,left-2,chunk_width_p4); 643 db_IxIyRow_f(Ix[(i+2)%5],Iy[(i+2)%5],img,(i+2),left 659 db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,int bottom, int *temp, int nc) argument 1056 db_MaxImage_Aligned16_f(float **img,int left,int top,int w,int h) argument 1332 db_MaxSuppressFilterChunk_5x5_Aligned16_f(float **sf,float **s,int left,int top,int bottom, float *temp) 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/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndldic.c | 1199 NJ_UINT16 right, mid = 0, left, max; local 1215 left = 0; 1236 while (left <= right) { 1237 mid = left + ((right - left) / 2); 1268 printf(" [%d][%d][%d]COMPARE:[%s] = %d\n", left, mid, right, str, ret); 1282 left = mid + 1; 1397 NJ_UINT16 right, mid = 0, left, max = 0; local 1434 left = 0; 1435 while (left < 2312 NJ_UINT16 right, mid = 0, left, max; local [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListPinnedHeaderView.java | 115 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 116 int width = right - left; 118 // Take into account left and right padding when laying out the below views.
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ModePicker.java | 254 boolean changed, int left, int top, int right, int bottom) { 255 super.onLayout(changed, left, top, right, bottom); 253 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | SmilRegionElementImpl.java | 45 private static final String LEFT_ATTRIBUTE_NAME = "left"; 137 public void setLeft(int left) throws DOMException { argument 138 this.setAttribute(LEFT_ATTRIBUTE_NAME, String.valueOf(left)); 280 + ", left=" + getLeft()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | words_priority_queue.h | 190 bool operator ()(SuggestedWord * left, SuggestedWord * right) { argument 191 return left->mScore > right->mScore;
|