Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaCodecInfo.java32 import static android.media.Utils.intersectSortedDistinctRanges;
33 import static android.media.Utils.sortDistinctRanges;
569 int ix = Utils.binarySearchDistinctRanges( in supports()
705 rateRanges[i] = Utils.parseIntRange(rateStrings[i], null); in parseFromInfo()
710 maxInputChannels = Utils.parseIntSafely( in parseFromInfo()
715 Utils.parseIntRange(info.getString("bitrate-range"), bitRates)); in parseFromInfo()
856 final int heightInBlocks = Utils.divUp(height, mBlockHeight); in getSupportedWidthsFor()
860 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks), in getSupportedWidthsFor()
900 final int widthInBlocks = Utils.divUp(width, mBlockWidth); in getSupportedHeightsFor()
904 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks), in getSupportedHeightsFor()
[all …]
DUtils.java32 class Utils { class
DMediaCodec.java1824 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java35 import com.android.gallery3d.common.Utils;
276 Utils.closeSilently(is); in loadBitmapRegionDecoder()
280 Utils.closeSilently(is); in loadBitmapRegionDecoder()
293 Utils.closeSilently(is); in loadPreviewBitmap()
306 Utils.closeSilently(is); in readExif()
318 Utils.closeSilently(is); in readExif()
340 Utils.closeSilently(is); in loadBitmapRegionDecoder()
344 Utils.closeSilently(is); in loadBitmapRegionDecoder()
357 Utils.closeSilently(is); in readExif()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DBasicTexture.java21 import com.android.gallery3d.common.Utils;
81 mTextureWidth = width > 0 ? Utils.nextPowerOf2(width) : 0; in setSize()
82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0; in setSize()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java65 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()
93 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger()
103 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger()
109 Utils.assertTrue(scale > 0); in computeSampleSize()
112 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()
DUtils.java32 public class Utils { class
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDatePickerDialog.java40 import com.android.datetimepicker.Utils;
292 ObjectAnimator pulseAnimator = Utils.getPulseAnimator(mMonthAndDayView, 0.9f, in setCurrentView()
310 Utils.tryAccessibilityAnnounce(mAnimator, mSelectDay); in setCurrentView()
313 pulseAnimator = Utils.getPulseAnimator(mYearView, 0.85f, 1.1f); in setCurrentView()
329 Utils.tryAccessibilityAnnounce(mAnimator, mSelectYear); in setCurrentView()
355 Utils.tryAccessibilityAnnounce(mAnimator, fullDateText); in updateDisplay()
433 int daysInMonth = Utils.getDaysInMonth(month, year); in adjustDayInMonthIfNeeded()
DDayPickerView.java34 import com.android.datetimepicker.Utils;
502 Utils.tryAccessibilityAnnounce(this, getMonthAndYearString(day)); in performAccessibilityAction()
DMonthView.java41 import com.android.datetimepicker.Utils;
378 mNumCells = Utils.getDaysInMonth(mMonth, mYear); in setMonthParams()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java40 import com.android.datetimepicker.Utils;
361 Utils.tryAccessibilityAnnounce(mTimePicker, mAmText);
365 Utils.tryAccessibilityAnnounce(mTimePicker, mPmText);
402 Utils.tryAccessibilityAnnounce(mTimePicker, announcement);
432 Utils.tryAccessibilityAnnounce(mTimePicker, text);
441 Utils.tryAccessibilityAnnounce(mTimePicker, text);
459 Utils.tryAccessibilityAnnounce(mTimePicker, mSelectHours);
466 Utils.tryAccessibilityAnnounce(mTimePicker, mSelectMinutes);
476 ObjectAnimator pulseAnimator = Utils.getPulseAnimator(labelToAnimate, 0.85f, 1.1f);
524 Utils.tryAccessibilityAnnounce(mTimePicker,
[all …]
DAmPmCirclesView.java29 import com.android.datetimepicker.Utils;
40 private static final int SELECTED_ALPHA = Utils.SELECTED_ALPHA;
41 private static final int SELECTED_ALPHA_THEME_DARK = Utils.SELECTED_ALPHA_THEME_DARK;
DRadialSelectorView.java32 import com.android.datetimepicker.Utils;
42 private static final int SELECTED_ALPHA = Utils.SELECTED_ALPHA;
43 private static final int SELECTED_ALPHA_THEME_DARK = Utils.SELECTED_ALPHA_THEME_DARK;
45 private static final int FULL_ALPHA = Utils.FULL_ALPHA;
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java46 import com.android.gallery3d.common.Utils;
305 Utils.closeSilently(bis); in getRotationFromExifHelper()
306 Utils.closeSilently(is); in getRotationFromExifHelper()
559 Utils.closeSilently(is);
589 Utils.closeSilently(is);
649 Utils.closeSilently(is);
653 Utils.closeSilently(is);
678 Utils.closeSilently(is);
/frameworks/av/drm/mediadrm/plugins/clearkey/
DAndroid.mk31 Utils.cpp \
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
DUtils.java28 public class Utils { class
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java31 import com.android.gallery3d.common.Utils;
204 mLevelCount = Math.max(0, Utils.ceilLog2( in calculateLevelCount()
270 mLevel = Utils.clamp(Utils.floorLog2(1f / mScale), 0, mLevelCount); in layoutTiles()
699 Utils.assertTrue(mTileState == STATE_DECODED); in onGetBitmap()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java32 public class Utils { class
/frameworks/av/media/libstagefright/
DAndroid.mk57 Utils.cpp \
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd168 if (Utils.hasHoneycomb()) {
185 if (Utils.hasHoneycomb()) {
210 if (Utils.hasHoneycomb()) {
/frameworks/base/core/jni/
DAndroid.mk128 android/graphics/Utils.cpp \