/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipPixelTest.java | 33 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/ |
D | BipImageFormat.java | 47 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 …]
|
D | BipPixel.java | 111 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()
|
D | BipImageProperties.java | 181 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/ |
D | GuideUtils.java | 53 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/ |
D | FilmstripLayout.java | 309 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/ |
D | config.json.readme | 26 "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/ |
D | CameraUtil.java | 909 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/ |
D | OWNERS | 2 pixel-sw-exp-reviews+gerrit@google.com
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | fr_wordlist.combined.gz | 1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ... |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | cs_wordlist.combined.gz | 1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ... |
D | nl_wordlist.combined.gz | 1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ... |
D | pt_BR_wordlist.combined.gz | 1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ... |
D | it_wordlist.combined.gz | 1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ... |
D | da_wordlist.combined.gz | 1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ... |
D | pl_wordlist.combined.gz |
|
D | pt_PT_wordlist.combined.gz | 1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ... |
D | hr_wordlist.combined.gz | 1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ... |
D | tr_wordlist.combined.gz | 1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ... |
D | de_wordlist.combined.gz | 1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ... |
D | sv_wordlist.combined.gz | 1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ... |
D | es_wordlist.combined.gz | 1dictionary=main:es,locale=es,description=Español,date=1414726268, ... |