/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
D | AudioCapture.java | 43 int[] range = new int[2]; in AudioCapture() local 45 range = Visualizer.getCaptureSizeRange(); in AudioCapture() 47 if (size < range[0]) { in AudioCapture() 48 size = range[0]; in AudioCapture() 50 if (size > range[1]) { in AudioCapture() 51 size = range[1]; in AudioCapture()
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapUtility.java | 102 public static String[] getImapRangeValues(String range) { in getImapRangeValues() argument 105 if (range != null) { in getImapRangeValues() 106 int colonPos = range.indexOf(':'); in getImapRangeValues() 108 int first = Integer.parseInt(range.substring(0, colonPos)); in getImapRangeValues() 109 int second = Integer.parseInt(range.substring(colonPos + 1)); in getImapRangeValues()
|
/packages/apps/Launcher2/ |
D | print_db.py | 147 for i in range(0,len(columns)): 157 for i in range(0,len(row)): 171 for i in range(0, HOTSEAT_SIZE): 186 for i in range(0,SCREENS): 188 for j in range(0,ROWS): 190 for k in range(0,COLUMNS): 204 for j in range(cellY, cellY+spanY): 205 for k in range(cellX, cellX+spanX):
|
D | fill_screens.py | 61 for s in range(SCREENS): 62 for x in range(ROWS): 63 for y in range(COLUMNS): 70 for z in range(15):
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 105 int range = length2 / 2 - 1; in getDistance() local 106 if (range < 0) { in getDistance() 107 range = 0; in getDistance() 114 int from = i - range; in getDistance() 119 int to = i + range + 1; in getDistance()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | Paper.java | 76 int range = 3 * mWidth / 2; in getTransform() local 77 float t = ((range - x) * left - x * right) / range; in getTransform()
|
D | AlbumSlidingWindow.java | 202 int range = Math.max( in updateTextureUploadQueue() local 204 for (int i = 0; i < range; ++i) { in updateTextureUploadQueue() 216 int range = Math.max( in requestNonactiveImages() local 218 for (int i = 0 ;i < range; ++i) { in requestNonactiveImages() 239 int range = Math.max( in cancelNonactiveImages() local 241 for (int i = 0 ;i < range; ++i) { in cancelNonactiveImages()
|
D | TileImageView.java | 224 Rect range = mTileRange; in layoutTiles() local 225 getRange(range, centerX, centerY, mLevel, scale, rotation); in layoutTiles() 226 mOffsetX = Math.round(width / 2f + (range.left - centerX) * scale); in layoutTiles() 227 mOffsetY = Math.round(height / 2f + (range.top - centerY) * scale); in layoutTiles() 239 Rect range[] = mActiveRange; in layoutTiles() local 241 getRange(range[i - fromLevel], centerX, centerY, i, rotation); in layoutTiles() 259 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 270 Rect r = range[i - fromLevel]; in layoutTiles()
|
D | AlbumSetSlidingWindow.java | 190 int range = Math.max( in requestNonactiveImages() local 192 for (int i = 0 ;i < range; ++i) { in requestNonactiveImages() 199 int range = Math.max( in cancelNonactiveImages() local 201 for (int i = 0 ;i < range; ++i) { in cancelNonactiveImages() 327 int range = Math.max( in updateTextureUploadQueue() local 329 for (int i = 0; i < range; ++i) { in updateTextureUploadQueue()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | HorizontalScrollView.java | 586 final int range = getScrollRange(); in onTouchEvent() local 589 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in onTouchEvent() 591 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0, in onTouchEvent() 605 } else if (pulledToX > range) { in onTouchEvent() 690 final int range = getScrollRange(); in onGenericMotionEvent() local 695 } else if (newScrollX > range) { in onGenericMotionEvent() 696 newScrollX = range; in onGenericMotionEvent() 1242 final int range = getScrollRange(); in computeScroll() local 1245 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in computeScroll() 1247 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll() [all …]
|
D | AudioTrackView.java | 246 final double range = maxGain - minGain; in setWaveformData() local 248 double value = (smoothedGains[i] * scaleFactor - minGain) / range; in setWaveformData()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | GalParser.java | 131 String range = getValue(); in parseStore() local 133 mService.userLog("GAL result range: " + range); in parseStore()
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | ScrollerView.java | 668 final int range = getScrollRange(); in onTouchEvent() local 670 if (overScrollBy(deltaY, 0, mScrollX, 0, range, 0, in onTouchEvent() 676 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range, in onTouchEvent() 686 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0)) { in onTouchEvent() 690 } else if (pulledToY > range) { in onTouchEvent() 691 onPull(pulledToY - range); in onTouchEvent() 817 final int range = getScrollRange(); in onGenericMotionEvent() local 822 } else if (newScrollX > range) { in onGenericMotionEvent() 823 newScrollX = range; in onGenericMotionEvent() 835 final int range = getScrollRange(); in onGenericMotionEvent() local [all …]
|
/packages/apps/Browser/tools/ |
D | get_search_engines.py | 133 for i in range(len(engine_data)): 185 for i in range(1, 7):
|
/packages/apps/Settings/src/com/android/settings/ |
D | BrightnessPreference.java | 238 int range = (mScreenBrightnessMaximum - mScreenBrightnessMinimum); in setBrightness() local 239 brightness = (brightness * range)/SEEK_BAR_RANGE + mScreenBrightnessMinimum; in setBrightness()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartDataUsageView.java | 636 final long range = mMax - mMin; in getTickPoints() local 639 final long tickJump = roundUpToPowerOfTwo(range / 16); in getTickPoints() 640 final int tickCount = (int) (range / tickJump); in getTickPoints()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 756 protected void getVisiblePages(int[] range) { in getVisiblePages() argument 777 range[0] = leftScreen; in getVisiblePages() 778 range[1] = rightScreen; in getVisiblePages() 780 range[0] = -1; in getVisiblePages() 781 range[1] = -1; in getVisiblePages()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | ResearchLogger.java | 962 Range range = connection.getWordRangeAtCursor(WHITESPACE_SEPARATORS, 1); in latinIME_onUpdateSelection() local 963 if (range != null) { in latinIME_onUpdateSelection() 964 word = range.mWord; in latinIME_onUpdateSelection()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieRenderer.java | 691 int range = getRandomRange(); in showStart() local 693 false, mStartAnimationAngle, mStartAnimationAngle + range); in showStart()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 813 int range = (CACHE_ROWS - (mEndRow - mStartRow)) / 2; in continueLoading() local 816 for (int d = 1; d <= range; d++) { in continueLoading()
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 148 writer.writerow([msec] + [values.get(n, "") for n in range(num_cols)])
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 297 # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 788 # in which this list will be split (can be a number in the range [1..20]) 980 # This tag can be used to set the number of enum values (range [1..20])
|
/packages/apps/Camera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 297 # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 788 # in which this list will be split (can be a number in the range [1..20]) 980 # This tag can be used to set the number of enum values (range [1..20])
|
/packages/apps/Camera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 297 # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 788 # in which this list will be split (can be a number in the range [1..20]) 980 # This tag can be used to set the number of enum values (range [1..20])
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 297 # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 788 # in which this list will be split (can be a number in the range [1..20]) 980 # This tag can be used to set the number of enum values (range [1..20])
|