[Android] Resize renderer background image

Alexandre Perraud git at videolan.org
Wed Feb 14 17:36:29 CET 2018


vlc-android | branch: 3.0.x | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Feb 13 15:00:13 2018 +0100| [5a0541de42aba380f74682a630f28e8eba7ce870] | committer: Geoffrey Métais

Resize renderer background image

(cherry picked from commit e6def1b6e497d028b3b950a46e189e90c14f5951)

> https://code.videolan.org/videolan/vlc-android/commit/5a0541de42aba380f74682a630f28e8eba7ce870
---

 assets/images/svg/renderer_background_cone.svg     |  42 +++++++++++++--------
 .../res/drawable-hdpi/renderer_background_cone.png | Bin 13602 -> 5329 bytes
 .../res/drawable-ldpi/renderer_background_cone.png | Bin 6382 -> 2319 bytes
 .../res/drawable-mdpi/renderer_background_cone.png | Bin 9872 -> 3786 bytes
 .../drawable-xhdpi/renderer_background_cone.png    | Bin 21929 -> 6926 bytes
 5 files changed, 27 insertions(+), 15 deletions(-)

diff --git a/assets/images/svg/renderer_background_cone.svg b/assets/images/svg/renderer_background_cone.svg
index 320a73eaf..8f40f39eb 100644
--- a/assets/images/svg/renderer_background_cone.svg
+++ b/assets/images/svg/renderer_background_cone.svg
@@ -9,11 +9,11 @@
    xmlns="http://www.w3.org/2000/svg"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="544"
-   height="640"
+   width="272"
+   height="320"
    id="svg5199"
    version="1.1"
-   inkscape:version="0.92.1 r15371"
+   inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
    sodipodi:docname="renderer_background_cone.svg">
   <defs
      id="defs5201" />
@@ -24,22 +24,33 @@
      borderopacity="1.0"
      inkscape:pageopacity="0"
      inkscape:pageshadow="2"
-     inkscape:zoom="0.7"
-     inkscape:cx="243.05353"
-     inkscape:cy="145.14267"
+     inkscape:zoom="2"
+     inkscape:cx="30.692463"
+     inkscape:cy="181.32624"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="true"
      inkscape:snap-grids="true"
      inkscape:window-width="1920"
-     inkscape:window-height="1027"
-     inkscape:window-x="0"
-     inkscape:window-y="27"
+     inkscape:window-height="1052"
+     inkscape:window-x="1920"
+     inkscape:window-y="0"
      inkscape:window-maximized="1"
      fit-margin-top="80"
      fit-margin-left="80"
      fit-margin-right="80"
-     fit-margin-bottom="80">
+     fit-margin-bottom="80"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-nodes="true"
+     inkscape:bbox-paths="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true">
     <inkscape:grid
        type="xygrid"
        id="grid5236"
@@ -58,7 +69,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title />
+        <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -66,11 +77,12 @@
      inkscape:label="Layer 1"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(-108,-332.36273)">
+     transform="translate(-108,-652.36273)">
     <path
        inkscape:connector-curvature="0"
-       style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;vector-effect:none;fill:#ff8800;fill-opacity:0.8509804;fill-rule:evenodd;stroke:none;stroke-width:32.00007248;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4.19999981;stroke-opacity:1;marker:none;enable-background:accumulate"
-       d="m 339.99947,412.36163 c -13.29603,0 -24.00006,10.70402 -24.00006,24.00005 v 56.00013 h 24.00006 v -56.00013 h 208.00048 v 176.00041 h -88.00021 v 24.00005 h 88.00021 C 561.29598,636.36214 572,625.65812 572,612.36209 V 436.36168 c 0,-13.29603 -10.70402,-24.00005 -24.00005,-24.00005 z m 24.00005,48.00011 v 40.43769 c 40.89978,14.49924 73.08065,46.66811 87.59396,87.5626 h 72.40641 V 460.36174 Z m -48.00011,56.00013 v 24.00005 c 53.01949,0 96.00022,42.9809 96.00022,96.00022 h 24.00006 c 0,-66.27535 -53.72588,-120.00027 -120.00028,-120.00027 z m 0,48.00011 v 24.00005 c 26.50966,0 48.00011,21.48965 48.00011,48.00011 h 24.00006 c 0,-39.76489 -32.2356,-72.00016 -72.00017,-72.00016 z m 0,49.97691 c -3.30152,0 -6.97429,0.384 -9.61722,2.35921 -5.22689,3.91281 -7.33914,10.19202 -11.89063,23.75805 -4.55149,13.56603 -4.75001,14.25003 -4.75001,14.25003 19.01065,9.50523 32.8116,10.39363 52.51572,0 0,0 -0.216,-0.7364 -4.75001,-14.25003 -4.53385,-13.51323 -6.63233,-19.75124 -11.89062,-23.75
 805 -2.62601,-2.00081 -6.3157,-2.35921 -9.61723,-2.35921 z m -42.89073,90.27341 v 0 l -19.00785,57.02333 -0.04,0.132 c 0.0848,-0.04 0.1488,-0.056 0.2344,-0.076 35.64488,30.89367 87.92572,30.89967 123.57061,0 0.024,0 0.0412,0.04 0.0624,0.04 l -0.032,-0.096 -19.00785,-57.01573 c -0.012,0 -0.028,0.04 -0.04,0.04 -28.82958,21.52725 -57.22649,21.33605 -85.74239,-0.056 z m -48.5548,85.547 c -6.31869,0 -12.19262,4.76561 -14.03907,11.06282 l -11.07034,37.66409 c -3.61681,12.35803 -7.20262,24.62445 -10.83599,37.04688 -1.52092,5.19201 3.2e-4,9.00882 2.45313,11.64843 1.51972,1.6344 3.39844,2.82201 5.12505,3.60961 1.72772,0.7676 2.90457,1.1716 4.26561,1.1716 3.17305,0 58.57445,-0.04 115.54714,-0.04 56.97269,0 112.37406,0.04 115.54715,0.04 1.361,0 2.5378,-0.404 4.26561,-1.1716 1.7266,-0.7876 3.60533,-1.97521 5.12505,-3.60961 2.45237,-2.63961 3.97401,-6.45642 2.45313,-11.64843 -3.63341,-12.42243 -7.21922,-24.68885 -10.83599,-37.04688 l -11.07034,-37.66409 c -1.84645,-6.29721 -7.72038,-11.06282 -14
 .03908,-11.06282 h -20.04692 c -0.008,0.04 -0.02,0.04 -0.032,0.064 0,0 3.1674,9.49642 4.75001,14.25003 2.29648,6.89841 3.43273,10.31362 0,14.26563 -16.70796,16.70804 -43.37042,25.61966 -70.61736,26.65606 -30.88267,1.184 -62.31975,-7.92562 -81.46111,-26.65606 -3.58453,-3.50761 -2.37729,-7.13602 0,-14.26563 1.58456,-4.75201 4.56249,-14.31283 4.56249,-14.31283 z"
-       id="path8877" />
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;vector-effect:none;fill:#ff8800;fill-opacity:0.85098039;fill-rule:evenodd;stroke:none;stroke-width:16.00003433;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4.19999981;stroke-opacity:1;marker:none;enable-background:accumulate"
+       d="m 223.99957,692.36274 c -6.64804,0 -12.00006,5.352 -12.00006,11.99999 v 28.00001 h 12.00006 V 704.36273 H 328 v 88.00001 h -44.00019 v 11.99999 H 328 c 6.64802,0 12.00004,-5.35199 12.00004,-11.99999 v -88.00001 c 0,-6.64799 -5.35202,-11.99999 -12.00004,-11.99999 z m 12.00004,24 v 20.2188 c 20.44993,7.24961 36.54039,23.334 43.79706,43.7812 h 36.20328 v -64 z m -24.0001,28 v 11.99999 c 26.50979,0 48.0002,21.4904 48.0002,48 h 12.00006 c 0,-33.13759 -26.863,-59.99999 -60.00026,-59.99999 z m 0,24 v 12 c 13.25486,0 24.0001,10.74479 24.0001,23.99999 h 12.00005 c 0,-19.88239 -16.11783,-35.99999 -36.00015,-35.99999 z m 0,23.99999 c -1.65076,0 -3.48716,0.19337 -4.80862,1.18798 -2.61346,1.97033 -3.66958,5.13223 -5.94533,11.96346 -2.27574,6.83124 -2.375,7.17567 -2.375,7.17567 9.50534,4.7864 16.40582,5.23374 26.25791,0 0,0 -0.10801,-0.37083 -2.37502,-7.17567 -2.26693,-6.80464 -3.31616,-9.94581 -5.94532,-11.96346 -1.31301,-1.00751 -3.15786,-1.18798 -4.80862,-1.18798 z m -21.44541,45.457
 53 v 0 l -9.50394,28.71433 -0.02,0.0665 c 0.0424,-0.0201 0.0744,-0.0282 0.1172,-0.0383 17.82248,15.55662 43.96295,15.55964 61.78542,0 0.012,0 0.0206,0.0201 0.0312,0.0201 l -0.016,-0.0483 -9.50394,-28.7105 c -0.006,0 -0.014,0.0201 -0.02,0.0201 -14.41481,10.84013 -28.6133,10.74385 -42.87128,-0.0282 z m -24.27744,43.07753 c -3.15935,0 -6.09632,2.39975 -7.01955,5.57072 l -5.53518,18.96591 c -1.80841,6.22294 -3.60132,12.39974 -5.41801,18.65511 -0.76046,2.61445 1.6e-4,4.53643 1.22658,5.8656 0.75985,0.82301 1.69922,1.42104 2.56252,1.81764 0.86386,0.38653 1.45229,0.58997 2.13281,0.58997 1.58653,0 29.28728,-0.0201 57.77368,-0.0201 28.4864,0 56.18714,0.0201 57.77368,0.0201 0.6805,0 1.2689,-0.20344 2.13281,-0.58997 0.86331,-0.3966 1.80267,-0.99463 2.56253,-1.81764 1.22619,-1.32917 1.98701,-3.25115 1.22657,-5.8656 -1.81671,-6.25537 -3.60962,-12.43217 -5.41801,-18.65511 l -5.53518,-18.96591 c -0.92322,-3.17097 -3.8602,-5.57072 -7.01955,-5.57072 h -10.02348 c -0.004,0.0202 -0.01,0.0202 -0.016,0.0
 322 0,0 1.58371,4.78196 2.37502,7.17567 1.14824,3.47373 1.71637,5.19347 0,7.18351 -8.354,8.4134 -21.68525,12.90089 -35.30875,13.42277 -15.44136,0.59621 -31.15993,-3.99099 -40.73063,-13.42277 -1.79227,-1.76626 -1.18864,-3.59336 0,-7.18351 0.79228,-2.3929 2.28125,-7.20728 2.28125,-7.20728 z"
+       id="path8877"
+       sodipodi:nodetypes="sscccccccsssssccccccccccccccccsccccccsccccccccccccccccccssscccccsccccccccc" />
   </g>
 </svg>
diff --git a/vlc-android/res/drawable-hdpi/renderer_background_cone.png b/vlc-android/res/drawable-hdpi/renderer_background_cone.png
index a4eb13849..1136dda65 100644
Binary files a/vlc-android/res/drawable-hdpi/renderer_background_cone.png and b/vlc-android/res/drawable-hdpi/renderer_background_cone.png differ
diff --git a/vlc-android/res/drawable-ldpi/renderer_background_cone.png b/vlc-android/res/drawable-ldpi/renderer_background_cone.png
index bf79dae74..a64aaf123 100644
Binary files a/vlc-android/res/drawable-ldpi/renderer_background_cone.png and b/vlc-android/res/drawable-ldpi/renderer_background_cone.png differ
diff --git a/vlc-android/res/drawable-mdpi/renderer_background_cone.png b/vlc-android/res/drawable-mdpi/renderer_background_cone.png
index 41a9147a5..719ee5f85 100644
Binary files a/vlc-android/res/drawable-mdpi/renderer_background_cone.png and b/vlc-android/res/drawable-mdpi/renderer_background_cone.png differ
diff --git a/vlc-android/res/drawable-xhdpi/renderer_background_cone.png b/vlc-android/res/drawable-xhdpi/renderer_background_cone.png
index d0abf993d..9d740b600 100644
Binary files a/vlc-android/res/drawable-xhdpi/renderer_background_cone.png and b/vlc-android/res/drawable-xhdpi/renderer_background_cone.png differ



More information about the Android mailing list