/packages/apps/Gallery/src/com/android/camera/ |
H A D | CropImage.java | 452 if (faceRect.right > imageRect.right) { 453 faceRect.inset(faceRect.right - imageRect.right, 454 faceRect.right - imageRect.right); 566 int right, int bottom) { 567 super.onLayout(changed, left, top, right, bottom); 741 int panDeltaX2 = Math.min(0, mRight - r.right); 565 onLayout(boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/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; 141 // Take into account left and right padding when laying out the below views.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterVignette.java | 101 c[0] = bounds.right * mParameters.getCenterX(); 106 c[0] = bounds.right * mParameters.getRadiusX();
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 595 int right = texture.getWidth(); 600 right -= 1; 603 outRect.set(left, top, right, bottom); 650 source.right /= texWidth; 656 if (source.right > xBound) { 657 target.right = target.left + target.width() * (xBound - source.left) / source.width(); 658 source.right = xBound; 999 bounds.right = Math.round(mTempMatrix[MATRIX_SIZE + 4]);
|
H A D | GLES11Canvas.java | 357 // draw the rect from bottom-left to top-right 430 source.right /= texWidth; 436 if (source.right > xBound) { 437 target.right = target.left + target.width() * 439 source.right = xBound; 704 setTextureCoords(source.left, source.top, source.right, source.bottom); 708 float right, float bottom) { 710 mTextureMatrixValues[0] = right - left; 707 setTextureCoords(float left, float top, float right, float bottom) argument
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 595 int right = texture.getWidth(); 600 right -= 1; 603 outRect.set(left, top, right, bottom); 650 source.right /= texWidth; 656 if (source.right > xBound) { 657 target.right = target.left + target.width() * (xBound - source.left) / source.width(); 658 source.right = xBound; 999 bounds.right = Math.round(mTempMatrix[MATRIX_SIZE + 4]);
|
/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/LegacyCamera/src/com/android/camera/ui/ |
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
|
H A D | IndicatorControlWheel.java | 49 // The following angles are based in the zero degree on the right. Here we 331 boolean changed, int left, int top, int right, int bottom) { 337 mCenterX = right - left - Util.dpToPixel( 366 view.layout(0, 0, right - left, bottom - top); 330 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 | 46 private static final String RIGHT_ATTRIBUTE_NAME = "right"; 86 int right = parseRegionLength(getAttribute(RIGHT_ATTRIBUTE_NAME), true); 88 return bbw - right - width;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationPhotoTeaserView.java | 92 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 93 super.onLayout(changed, left, top, right, bottom);
|
H A D | DividedImageCanvas.java | 146 private void draw(Bitmap b, int left, int top, int right, int bottom) { argument 160 sDest.set(left, top, right, bottom); 165 mCanvas.drawRect(left, top, right, bottom, sClearPaint);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnDictionaryImpl.java | 608 OpenWnnDictionaryImplJni.setRightPartOfSpeech( this.mWnnWork, wnnWord.partOfSpeech.right ); 652 result.partOfSpeech.right = mDbCursor.getInt( 3 ); 688 result.partOfSpeech.right = OpenWnnDictionaryImplJni.getRightPartOfSpeech( this.mWnnWork ); 812 result.right = OpenWnnDictionaryImplJni.getRightPartOfSpeechSpecifiedType( this.mWnnWork, type ); 814 if( result.left < 0 || result.right < 0 ) { 901 content.put( COLUMN_NAME_POS_RIGHT, word[index].partOfSpeech.right ); 1068 content.put( COLUMN_NAME_POS_RIGHT, word.partOfSpeech.right ); 1073 content.put( COLUMN_NAME_PREVIOUS_POS_RIGHT, previousWord.partOfSpeech.right );
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 146 // Corners of the left-most and right-most frames respectively in the 180 if(x3 > xRightCorners[0] || x2 > xRightCorners[1]) // If either of the right corners is higher 214 fullRect.right = (int) ceil(global_rect.rgt); // max-x 216 Mwidth = (unsigned short) (fullRect.right - fullRect.left + 1); 275 cropping_rect.right = xRightMost; 298 mosaicWidth = cropping_rect.right - cropping_rect.left + 1; 613 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 621 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 629 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 725 for (i = cropping_rect.left; i < cropping_rect.right; [all...] |
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 146 // Corners of the left-most and right-most frames respectively in the 180 if(x3 > xRightCorners[0] || x2 > xRightCorners[1]) // If either of the right corners is higher 214 fullRect.right = (int) ceil(global_rect.rgt); // max-x 216 Mwidth = (unsigned short) (fullRect.right - fullRect.left + 1); 275 cropping_rect.right = xRightMost; 298 mosaicWidth = cropping_rect.right - cropping_rect.left + 1; 613 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 621 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 629 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 725 for (i = cropping_rect.left; i < cropping_rect.right; [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 118 movq mm3,[ebx+1] /*15 Get right*/ 613 /*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 618 13*(right-left+5) of allocated memory*/ 625 chunk_width=right-left+1; 657 right and bottom have to be at most width-4,height-4. The left of the region in s should 697 with (3,3) as upper left and (w-4,h-4) as lower right, positioned in the 706 int x,next_x,last,right; local 712 right 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/Camera2/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 118 movq mm3,[ebx+1] /*15 Get right*/ 613 /*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 618 13*(right-left+5) of allocated memory*/ 625 chunk_width=right-left+1; 657 right and bottom have to be at most width-4,height-4. The left of the region in s should 697 with (3,3) as upper left and (w-4,h-4) as lower right, positioned in the 706 int x,next_x,last,right; local 712 right 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 | 118 movq mm3,[ebx+1] /*15 Get right*/ 613 /*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 618 13*(right-left+5) of allocated memory*/ 625 chunk_width=right-left+1; 657 right and bottom have to be at most width-4,height-4. The left of the region in s should 697 with (3,3) as upper left and (w-4,h-4) as lower right, positioned in the 706 int x,next_x,last,right; local 712 right 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 | ndbdic.c | 559 NJ_INT16 left, right, mid; local 639 right = ytbl_cnt; 642 while (left <= right) { 643 mid = (left + right) >> 1; 652 right = mid - 1; 657 right = mid - 1; 663 while (left <= right) { 664 mid = (left + right) >> 1; 672 right = mid - 1; 1991 NJ_INT16 left, right, mi local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeviceProfile.java | 465 // Pad the left and right of the workspace to ensure consistent spacing 481 defaultWidgetPadding.right), searchBarSpaceHeightPx); 496 int pageIndicatorLeft = widthPx - workspacePadding.right; 504 widthPx - workspacePadding.right, pageIndicatorTop + pageIndicatorHeightPx); 517 // Pad the left and right of the workspace with search/hotseat bar sizes 527 // Pad the left and right of the workspace to ensure consistent spacing 548 desiredWorkspaceLeftRightMarginPx - defaultWidgetPadding.right, 685 workspace.setPadding(padding.left, padding.top, padding.right, padding.bottom); 703 edgeMarginPx + padding.right, 764 padding.left = padding.right [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | OverlayLinearLayout.java | 284 // Update the limits of the right handle 612 final int right; 621 right = leftViewWidth + (int)(((mediaItemStartTimeMs + durationMs) * 631 right = leftViewWidth + (int)(((mediaItemStartTimeMs + startTimeMs - 638 right = leftViewWidth + (int)(((mediaItemStartTimeMs 645 right = leftViewWidth + (int)(((mediaItemStartTimeMs 649 view.layout(left, 0, right, b - t); 656 left = right;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | SimpleWeekView.java | 155 // The right edge of the selected day 416 r.right = mSelectedLeft; 419 r.right = mWidth - mPadding; 478 r.right = mSelectedRight - 1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | EclipseControl.java | 256 rect.right = cx + dx; 263 rect.right = cx + dx; 280 rect.right = cx + rx;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 146 // Corners of the left-most and right-most frames respectively in the 180 if(x3 > xRightCorners[0] || x2 > xRightCorners[1]) // If either of the right corners is higher 214 fullRect.right = (int) ceil(global_rect.rgt); // max-x 216 Mwidth = (unsigned short) (fullRect.right - fullRect.left + 1); 275 cropping_rect.right = xRightMost; 298 mosaicWidth = cropping_rect.right - cropping_rect.left + 1; 606 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 614 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 622 for (i = cropping_rect.left; i <= cropping_rect.right; i++) 718 for (i = cropping_rect.left; i < cropping_rect.right; [all...] |