Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixelTest.java33 BipPixel pixel = new BipPixel(input); in testParse() local
34 Assert.assertEquals(pixelType, pixel.getType()); in testParse()
35 Assert.assertEquals(minWidth, pixel.getMinWidth()); in testParse()
36 Assert.assertEquals(minHeight, pixel.getMinHeight()); in testParse()
37 Assert.assertEquals(maxWidth, pixel.getMaxWidth()); in testParse()
38 Assert.assertEquals(maxHeight, pixel.getMaxHeight()); in testParse()
39 Assert.assertEquals(pixelStr, pixel.toString()); in testParse()
43 BipPixel pixel = BipPixel.createFixed(width, height); in testFixed() local
44 Assert.assertEquals(BipPixel.TYPE_FIXED, pixel.getType()); in testFixed()
45 Assert.assertEquals(width, pixel.getMinWidth()); in testFixed()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormat.java47 public static BipImageFormat parseNative(String encoding, String pixel, String size) { in parseNative() argument
48 return new BipImageFormat(BipImageFormat.FORMAT_NATIVE, encoding, pixel, size, null, null); in parseNative()
54 public static BipImageFormat parseVariant(String encoding, String pixel, String maxSize, in parseVariant() argument
56 return new BipImageFormat(BipImageFormat.FORMAT_VARIANT, encoding, pixel, null, maxSize, in parseVariant()
63 public static BipImageFormat createNative(BipEncoding encoding, BipPixel pixel, int size) { in createNative() argument
64 return new BipImageFormat(BipImageFormat.FORMAT_NATIVE, encoding, pixel, size, -1, null); in createNative()
70 public static BipImageFormat createVariant(BipEncoding encoding, BipPixel pixel, int maxSize, in createVariant() argument
72 return new BipImageFormat(BipImageFormat.FORMAT_VARIANT, encoding, pixel, -1, maxSize, in createVariant()
116 private BipImageFormat(int type, BipEncoding encoding, BipPixel pixel, int size, int maxSize, in BipImageFormat() argument
120 mPixel = Objects.requireNonNull(pixel, "Pixel cannot be null"); in BipImageFormat()
[all …]
DBipPixel.java111 public BipPixel(String pixel) { in BipPixel() argument
118 int typeHint = determinePixelType(pixel); in BipPixel()
122 Matcher m1 = fixed.matcher(pixel); in BipPixel()
134 Matcher m2 = modifiedRatio.matcher(pixel); in BipPixel()
145 Matcher m3 = fixedRatio.matcher(pixel); in BipPixel()
158 throw new ParseException("Failed to determine type of '" + pixel + "'"); in BipPixel()
201 private static int determinePixelType(String pixel) { in determinePixelType() argument
202 if (pixel == null || pixel.length() > 23) return TYPE_UNKNOWN; in determinePixelType()
204 for (char c : pixel.toCharArray()) { in determinePixelType()
DBipImageProperties.java181 String pixel = xpp.getAttributeValue(null, "pixel"); in parse() local
183 addNativeFormat(BipImageFormat.parseNative(encoding, pixel, size)); in parse()
186 String pixel = xpp.getAttributeValue(null, "pixel"); in parse() local
190 BipImageFormat.parseVariant(encoding, pixel, maxSize, trans)); in parse()
276 BipPixel pixel = format.getPixel(); in toString() local
278 if (encoding == null || pixel == null) { in toString()
284 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString()
293 BipPixel pixel = format.getPixel(); in toString() local
296 if (encoding == null || pixel == null) { in toString()
302 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java53 static long convertPixelToMillis(int pixel) { in convertPixelToMillis() argument
54 return pixel * TimeUnit.HOURS.toMillis(1) / sWidthPerHour; in convertPixelToMillis()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java309 private void translateContentLayoutByPixel(float pixel) { in translateContentLayoutByPixel() argument
310 mFilmstripContentLayout.setTranslationX(pixel); in translateContentLayoutByPixel()
311 mFilmstripContentTranslationProgress = pixel / getMeasuredWidth(); in translateContentLayoutByPixel()
/packages/services/Car/evs/app/
Dconfig.json.readme26 "frontPixel" : 23, // The pixel row in CarFromTop.png at which the front bumper appears
27 "rearPixel" : 223 // The pixel row in CarFromTop.png at which the back bumper ends
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java909 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument
912 int r = ((pixel & 0x00ff0000) + (int) ((newPixel & 0x00ff0000) * weight)) & 0x00ff0000; in addPixel()
913 int g = ((pixel & 0x0000ff00) + (int) ((newPixel & 0x0000ff00) * weight)) & 0x0000ff00; in addPixel()
914 int b = ((pixel & 0x000000ff) + (int) ((newPixel & 0x000000ff) * weight)) & 0x000000ff; in addPixel()
/packages/apps/Settings/
DOWNERS2 pixel-sw-exp-reviews+gerrit@google.com
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
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, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...

12