/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | njd.h | 63 #define NORMALIZE_HINDO(freq, max, min) \ 64 (((freq) < (min)) ? (min) : (((freq) > (max)) ? (max) : (freq)))
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | Shared.java | 67 public static int clamp(int value, int min, int max) { argument 70 } else if (value > max) { 71 value = max; 76 public static long clamp(long value, long min, long max) { argument 79 } else if (value > max) { 80 value = max;
|
H A D | FloatUtils.java | 189 public static final float max(float scaleX, float scaleY) { method in class:FloatUtils
|
H A D | Util.java | 79 int deltaXHalf = Math.max(0, deltaX / 2); 80 int deltaYHalf = Math.max(0, deltaY / 2); 119 int dx1 = Math.max(0, b1.getWidth() - targetWidth); 120 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
|
H A D | ImageViewTouchBase.java | 286 float max = Math.max(fw, fh) * 4; 287 return max;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | RankAwarePromoter.java | 65 int stripeSize = Math.max(1, slotsToFill / defaultResults.size()); 72 int stripeSize = Math.max(1, maxPromoted / defaultResults.size()); 80 int stripeSize = Math.max(1, maxPromoted / otherResults.size());
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | GLOptionItem.java | 97 int height = Math.max(Math.max(mIcon == null ? 0 : mIcon.getHeight(), 100 width = Math.max(sMinimalWidth, width); 101 height = Math.max(sMinimalHeight, height);
|
H A D | LinearLayout.java | 31 width = Math.max(width, view.getMeasuredWidth());
|
H A D | PopupWindowStencilImpl.java | 34 int aYoffset = Math.max(p.top, mAnchorPosition - aHeight / 2);
|
H A D | ZoomController.java | 118 int margin = Math.max(sSlider.getHeight(), mMaxLabelHeight); 180 maxWidth = Math.max(maxWidth, mTickLabels[i].getWidth()); 181 maxHeight = Math.max(maxHeight, mTickLabels[i].getHeight()); 203 + Math.max(sSlider.getHeight(), mMaxLabelHeight); 207 height = Math.max(sMinimalHeight, height);
|
H A D | PopupWindow.java | 72 Math.max(0, width - p.left - p.right 79 widthSpec = MeasureSpec.makeMeasureSpec(Math.max( 114 int aYoffset = Math.max(p.top, mAnchorPosition - aHeight / 2);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | PercentageBar.java | 60 return Math.max(width, intrinsicWidth);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndldic.c | 96 #define NEXT_QUE(que, max) ( ((que) < ((max) - 1)) ? ((que) + 1) : 0 ) 98 #define PREV_QUE(que, max) ( ((que) == 0) ? ((max) - 1) : ((que) - 1) ) 389 NJ_UINT16 max, end; local 392 max = GET_LEARN_MAX_WORD_COUNT(handle); 395 for (i = 0; i < max; i++) { 436 NJ_UINT16 max, end; local 440 max = GET_LEARN_MAX_WORD_COUNT(handle); 443 for (i = 0; i < max; 482 NJ_UINT16 max; local 1199 NJ_UINT16 right, mid = 0, left, max; local 1397 NJ_UINT16 right, mid = 0, left, max = 0; local 1657 NJ_UINT16 max; local 1688 NJ_UINT16 max; local 1840 NJ_UINT16 word_cnt, max; local 2312 NJ_UINT16 right, mid = 0, left, max; local [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | EvenlySpacedLayout.java | 59 height = Math.max(height, child.getMeasuredHeight()); 62 width = Math.max(width, child.getMeasuredWidth());
|
H A D | PhotoAppWidgetConfigure.java | 56 int maxDimension = Math.max(display.heightPixels, display.widthPixels);
|
H A D | ImageViewTouchBase.java | 303 float max = Math.max(fw, fh) * 4; 304 return max;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | IconCache.java | 59 Bitmap b = Bitmap.createBitmap(Math.max(d.getIntrinsicWidth(), 1), 60 Math.max(d.getIntrinsicHeight(), 1),
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | PreviewFrameLayout.java | 83 int horizontalPadding = Math.max(
|
H A D | Util.java | 276 public static int clamp(int x, int min, int max) { argument 277 if (x > max) return max;
|
H A D | CameraSettings.java | 62 // max video duration in seconds for mms and youtube. 197 int max = mParameters.getMaxExposureCompensation(); 199 if (max == 0 && min == 0) { 206 int maxValue = (int) Math.floor(max * step);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Suggest.java | 153 matching = Math.max(matching, lessMatching); 220 int max = 6; 222 if (mCorrectionMode == CORRECTION_BASIC) max = 1; 223 while (i < mSuggestions.size() && i < max) {
|
H A D | Tutorial.java | 119 float max = 0; 121 max = Math.max(max, l.getLineWidth(i));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | TutorialEN.java | 149 float max = 0; 151 max = Math.max(max, l.getLineWidth(i));
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadNotification.java | 144 int max = c.getInt(totalBytesColumn); 153 mNotifications.get(packageName).addItem(title, progress, max); 160 item.addItem(title, progress, max);
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | TabStripView.java | 115 Math.max(getWidth(),
|