Searched refs:left (Results 151 - 175 of 292) sorted by relevance

1234567891011>>

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoCarousel.java278 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
280 mWidth = right - left;
291 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.h123 #define left(a) orig(rotinv(a)) macro
/packages/apps/Camera2/src/com/android/camera/
H A DFocusOverlayManager.java599 int left = CameraUtil.clamp(x - size / 2, mPreviewRect.left,
604 RectF rectF = new RectF(left, top, left + size, top + size);
H A DCaptureModuleUI.java92 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
95 mLayoutListener.onLayoutChange(v, left, top, right, bottom, oldLeft, oldTop, oldRight,
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailPhotoSetter.java76 rect.left = (int) (pos[0] * appScale + 0.5f);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.h123 #define left(a) orig(rotinv(a)) macro
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControlBar.java59 // 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 DSecondLevelIndicatorControlBar.java173 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 DZoomControlWheel.java145 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/Settings/src/com/android/settings/widget/
H A DStickyHeaderListView.java90 ev.offsetLocation(-mStickyRect.left, -mStickyRect.top);
/packages/apps/Gallery/src/com/android/camera/
H A DImageGallery.java814 int left = (w - width) / 2 + xPos;
816 mDstRect.set(left, top, left + width, top + height);
841 int left = (w - width) / 2 + xPos;
843 mSrcRect.set(left, top, left + width, top + height);
863 int left = 5 + xPos;
865 mSrcRect.set(left, top, left + width, top + height);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragLayer.java353 int left = vX - x;
355 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight());
463 final int fromX = r.left;
518 final int fromX = r.left;
549 * @param from The initial location of the view. Only the left and top parameters are used.
550 * @param to The final location of the view. Only the left and top parameters are used. This
572 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) +
613 float fromLeft = from.left
[all...]
H A DCellLayout.java294 // have. We ignore the left/right padding on CellLayout because it turns out in our design
305 // have. We ignore the left/right padding on CellLayout because it turns out in our design
354 void setOverScrollAmount(float r, boolean left) { argument
355 if (left && mOverScrollForegroundDrawable != mOverScrollLeft) {
357 } else if (!left && mOverScrollForegroundDrawable != mOverScrollRight) {
409 r.left = (int) (r.left * scale + 0.5f);
833 * Given a cell coordinate, return the point that represents the upper left corner of that cell
887 final int left = hStartPadding + cellX * (mCellWidth + mWidthGap);
889 result.set(left, to
1800 compare(View left, View right) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DCellLayout.java340 void setOverScrollAmount(float r, boolean left) { argument
341 if (left && mOverScrollForegroundDrawable != mOverScrollLeft) {
343 } else if (!left && mOverScrollForegroundDrawable != mOverScrollRight) {
723 * Given a cell coordinate, return the point that represents the upper left corner of that cell
777 final int left = hStartPadding + cellX * (mCellWidth + mWidthGap);
779 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap),
810 int left = getPaddingLeft();
812 int right = left + getWidth() - getPaddingLeft() - getPaddingRight();
814 r.set(left, to
1674 compare(View left, View right) argument
[all...]
H A DFolder.java786 // These represent the visual top and left of drag view if a dragRect was provided.
787 // If a dragRect was not provided, then they correspond to the actual view left and
790 int left = x - xOffset;
794 res[0] = left + dragView.getDragRegion().width() / 2;
1004 int centerX = (int) (mTempRect.left + mTempRect.width() * scale / 2);
1021 int left = Math.min(Math.max(bounds.left, centeredLeft),
1022 bounds.left + bounds.width() - width);
1027 left = (grid.availableWidthPx - width) / 2;
1030 left
[all...]
H A DPreloadIconDrawable.java101 bounds.left + sTempRect.left * paddingScaleX,
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp69 /*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 Ddb_feature_detection.cpp69 /*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 Dndldic.c1199 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/Gallery2/src/com/android/gallery3d/ui/
H A DPopupList.java149 mPopupHeight = Math.min(maxHeight, content.getMeasuredHeight() + p.left + p.right);
150 mPopupOffsetX = -p.left;
/packages/apps/Gallery2/src/com/android/photos/
H A DBitmapRegionTileSource.java180 (mOverlapRegion.left - mWantRegion.left) >> level,
/packages/apps/LegacyCamera/src/com/android/camera/
H A DModePicker.java254 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 DSmilRegionElementImpl.java47 private static final String LEFT_ATTRIBUTE_NAME = "left";
139 public void setLeft(int left) throws DOMException { argument
140 this.setAttribute(LEFT_ATTRIBUTE_NAME, String.valueOf(left));
282 + ", left=" + getLeft()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DTransitionImageAnimation.java218 sTmpRect2.left = 0;
238 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationPhotoTeaserView.java92 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
93 super.onLayout(changed, left, top, right, bottom);

Completed in 1039 milliseconds

1234567891011>>