Home
last modified time | relevance | path

Searched refs:extent (Results 1 – 15 of 15) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/
DImageToPdfTask.java88 RectF extent = new RectF(page.getInfo().getContentRect()); in writeBitmapToPage() local
93 scale = Math.max(extent.height() / POINTS_PER_INCH * mDpi / mBitmap.getHeight(), in writeBitmapToPage()
94 extent.width() / POINTS_PER_INCH * mDpi / mBitmap.getWidth()); in writeBitmapToPage()
98 scale = Math.min(extent.height() / POINTS_PER_INCH * mDpi / mBitmap.getWidth(), in writeBitmapToPage()
99 extent.width() / POINTS_PER_INCH * mDpi / mBitmap.getHeight()); in writeBitmapToPage()
105 drawDirect(page, extent, fill, rotate); in writeBitmapToPage()
108 drawOptimized(page, extent, scale, rotate); in writeBitmapToPage()
115 private void drawDirect(PdfDocument.Page page, RectF extent, boolean fill, boolean rotate) { in drawDirect() argument
118 scale = Math.max(extent.height() / mBitmap.getHeight(), in drawDirect()
119 extent.width() / mBitmap.getWidth()); in drawDirect()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java199 final int extent = mRv.computeVerticalScrollExtent(); in isEnabled() local
201 if (range == 0 || extent == 0) { in isEnabled()
206 final float pages = (float) range / extent; in isEnabled()
299 final int extent = mRv.computeVerticalScrollExtent(); in computeScrollRatio() local
302 if (range == 0 || extent == 0) { in computeScrollRatio()
306 final int scrollRange = range - extent; in computeScrollRatio()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java348 @IntRange(from = 0) int extent, boolean animate) { in setParameters()
359 int thumbLength = calculateScrollThumbLength(range, extent); in setParameters()
387 void setParametersInLayout(int range, int offset, int extent) { in setParametersInLayout() argument
393 int thumbLength = calculateScrollThumbLength(range, extent); in setParametersInLayout()
415 private int calculateScrollThumbLength(int range, int extent) { in calculateScrollThumbLength() argument
417 return Math.round(((float) extent / range) * mScrollThumbTrackHeight); in calculateScrollThumbLength()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DBitmapUtil.java69 int extent = originalSmallerExtent; in findOptimalSampleSize() local
71 while ((extent >> 1) >= targetExtent * 0.8f) { in findOptimalSampleSize()
73 extent >>= 1; in findOptimalSampleSize()
DContactPhotoManager.java466 ImageView view, int extent, boolean darkTheme, DefaultImageRequest defaultImageRequest); in applyDefaultImage() argument
506 ImageView view, int extent, boolean darkTheme, DefaultImageRequest defaultImageRequest) { in applyDefaultImage() argument
/packages/apps/Contacts/src/com/android/contacts/util/
DBitmapUtil.java68 int extent = originalSmallerExtent; in findOptimalSampleSize() local
70 while ((extent >> 1) >= targetExtent * 0.8f) { in findOptimalSampleSize()
72 extent >>= 1; in findOptimalSampleSize()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java254 @IntRange(from = 0) int extent, in setParameters()
266 int thumbLength = calculateScrollThumbLength(range, extent); in setParameters()
288 private int calculateScrollThumbLength(int range, int extent) { in calculateScrollThumbLength() argument
290 return Math.round(((float) extent / range) * mScrollThumbTrackHeight); in calculateScrollThumbLength()
/packages/services/Car/evs/app/
Dconfig.json.readme18 "frontExtent" : 44.7, // The extent of the car body ahead of the front axel
19 "rearExtent" : 40 // The extent of the car body behind the read axel
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java376 public abstract void applyDefaultImage(ImageView view, int extent, boolean darkTheme, in applyDefaultImage() argument
387 public void applyDefaultImage(ImageView view, int extent, boolean darkTheme, in applyDefaultImage() argument
422 public void applyDefaultImage(ImageView view, int extent, boolean darkTheme, in applyDefaultImage() argument
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java243 public void applyDefaultImage(ImageView view, int extent, boolean darkTheme, in loadPhoto()
/packages/modules/DnsResolver/
DNOTICE404 To the extent it has a right to do so, IBM grants an immunity from suit
406 the extent that such products are used for performing Domain Name System
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses10563 3.3 Except to the extent required by applicable third party licenses, you may not copy (except for
10565 derivative works of the SDK or any part of the SDK. Except to the extent required by applicable
10726 12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...