Skip to content

Commit a09cf90

Browse files
committed
Remove previous versions of custom PlayShuffled/FromHere icons
The Work In Progress versions may still be considered useful in case of future changes though!
1 parent 90d6c7c commit a09cf90

6 files changed

Lines changed: 15 additions & 292 deletions

File tree

app/src/main/java/org/schabi/newpipe/ui/components/menu/icons/BackgroundFromHere.kt

Lines changed: 2 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,11 @@ import androidx.compose.ui.graphics.vector.ImageVector
1313
import androidx.compose.ui.tooling.preview.Preview
1414
import androidx.compose.ui.unit.dp
1515

16-
/*
17-
materialPath {
18-
moveTo(12.0f, 4.0f)
19-
lineToRelative(-1.41f, 1.41f)
20-
lineToRelative(5.59f, 5.59f)
21-
horizontalLineToRelative(-12.17f)
22-
verticalLineToRelative(2.0f)
23-
horizontalLineToRelative(12.17f)
24-
lineToRelative(-5.59f, 5.59f)
25-
lineToRelative(1.41f, 1.41f)
26-
lineToRelative(8.0f, -8.0f)
27-
close()
28-
}
29-
*/
30-
3116
/**
3217
* Obtained by combining [androidx.compose.material.icons.filled.Headset]
3318
* and the tiny arrow in [androidx.compose.material.icons.filled.ContentPasteGo].
19+
* Some iterations were made before obtaining this icon, if you want to see them, search through git
20+
* history the commit "Remove previous versions of custom PlayShuffled/FromHere icons".
3421
*/
3522
val Icons.Filled.BackgroundFromHere: ImageVector by lazy {
3623
materialIcon(name = "Filled.BackgroundFromHere") {
@@ -61,82 +48,6 @@ val Icons.Filled.BackgroundFromHere: ImageVector by lazy {
6148
lineToRelative(3.99f, -4.0f)
6249
close()
6350
}
64-
/*materialPath {
65-
moveTo(18.6f, 11.00f)
66-
lineToRelative(-1.064f, 1.064f)
67-
lineToRelative(2.586f, 2.586f)
68-
horizontalLineToRelative(-5.622f)
69-
verticalLineToRelative(-2.086f)
70-
horizontalLineToRelative(-1.5f)
71-
verticalLineToRelative(5.672f)
72-
horizontalLineToRelative(1.5f)
73-
verticalLineToRelative(-2.086f)
74-
horizontalLineToRelative(5.622f)
75-
lineToRelative(-2.586f, 2.586f)
76-
lineToRelative(1.064f, 1.064f)
77-
lineToRelative(4.400f, -4.400f)
78-
close()
79-
}*/
80-
/*materialPath {
81-
moveTo(18.6f, 11.00f)
82-
lineToRelative(-1.064f, 1.064f)
83-
lineToRelative(3.336f, 3.336f)
84-
lineToRelative(-3.336f, 3.336f)
85-
lineToRelative(1.064f, 1.064f)
86-
lineToRelative(4.400f, -4.400f)
87-
close()
88-
}
89-
materialPath {
90-
moveTo(14f, 11.00f)
91-
lineToRelative(-1.064f, 1.064f)
92-
lineToRelative(3.336f, 3.336f)
93-
lineToRelative(-3.336f, 3.336f)
94-
lineToRelative(1.064f, 1.064f)
95-
lineToRelative(4.400f, -4.400f)
96-
close()
97-
}*/
98-
/*materialPath {
99-
moveTo(18.6f, 11.00f)
100-
lineToRelative(-1.064f, 1.064f)
101-
lineToRelative(2.586f, 2.586f)
102-
horizontalLineToRelative(-7.122f)
103-
verticalLineToRelative(1.500f)
104-
horizontalLineToRelative(7.122f)
105-
lineToRelative(-2.586f, 2.586f)
106-
lineToRelative(1.064f, 1.064f)
107-
lineToRelative(4.400f, -4.400f)
108-
close()
109-
}*/
110-
/*materialPath {
111-
moveTo(17.200f, 11.200f)
112-
lineToRelative(-0.775f, 0.775f)
113-
lineToRelative(3.075f, 3.075f)
114-
horizontalLineToRelative(-6.694f)
115-
verticalLineToRelative(1.100f)
116-
horizontalLineToRelative(6.694f)
117-
lineToRelative(-3.075f, 3.075f)
118-
lineToRelative(0.775f, 0.775f)
119-
lineToRelative(4.400f, -4.400f)
120-
close()
121-
}*/
122-
/*materialPath {
123-
moveTo(12.817f, 12.202f)
124-
lineToRelative(-0.916f, 0.916f)
125-
lineToRelative(2.977f, 2.983f)
126-
lineToRelative(-2.977f, 2.983f)
127-
lineToRelative(0.916f, 0.916f)
128-
lineToRelative(3.900f, -3.900f)
129-
close()
130-
}
131-
materialPath {
132-
moveTo(17.100f, 12.202f)
133-
lineToRelative(-0.916f, 0.916f)
134-
lineToRelative(2.977f, 2.983f)
135-
lineToRelative(-2.977f, 2.983f)
136-
lineToRelative(0.916f, 0.916f)
137-
lineToRelative(3.900f, -3.900f)
138-
close()
139-
}*/
14051
}
14152
}
14253

app/src/main/java/org/schabi/newpipe/ui/components/menu/icons/BackgroundShuffled.kt

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import androidx.compose.ui.unit.dp
1515

1616
/**
1717
* Obtained by combining [androidx.compose.material.icons.filled.Headset]
18-
* and the tiny arrow in [androidx.compose.material.icons.filled.ContentPasteGo].
18+
* and [androidx.compose.material.icons.filled.Shuffle].
19+
* Some iterations were made before obtaining this icon, if you want to see them, search through git
20+
* history the commit "Remove previous versions of custom PlayShuffled/FromHere icons".
1921
*/
2022
val Icons.Filled.BackgroundShuffled: ImageVector by lazy {
2123
materialIcon(name = "Filled.BackgroundShuffled") {
@@ -58,33 +60,6 @@ val Icons.Filled.BackgroundShuffled: ImageVector by lazy {
5860
lineToRelative(-1.170f, 1.170f)
5961
close()
6062
}
61-
/*
62-
val thickness = 0.15f
63-
materialPath {
64-
moveTo(13f, 12f)
65-
moveToRelative(3.295f - thickness, 2.585f - 3 * thickness)
66-
lineToRelative(-2.590f + 3 * thickness, -2.585f + 3 * thickness)
67-
lineToRelative(-0.705f - 2 * thickness, 0.705f + 2 * thickness)
68-
lineToRelative(2.585f - 3 * thickness, 2.585f - 3 * thickness)
69-
close()
70-
moveToRelative(1.955f - 3 * thickness, -2.585f + 3 * thickness)
71-
lineToRelative(1.020f + thickness, 1.020f + thickness)
72-
lineToRelative(-6.270f + 3 * thickness, 6.265f - 3 * thickness)
73-
lineToRelative(0.705f + 2 * thickness, 0.705f + 2 * thickness)
74-
lineToRelative(6.275f - 3 * thickness, -6.270f + 3 * thickness)
75-
lineToRelative(1.020f + thickness, 1.020f + thickness)
76-
lineToRelative(0f, -2.74f - 4 * thickness)
77-
close()
78-
moveToRelative(0.165f + 7 * thickness, 4.705f + thickness)
79-
lineToRelative(-0.705f - 2 * thickness, 0.705f + 2 * thickness)
80-
lineToRelative(1.565f - 4 * thickness, 1.565f - 4 * thickness)
81-
lineToRelative(-1.025f - thickness, 1.025f + thickness)
82-
lineToRelative(2.750f + 4 * thickness, 0f)
83-
lineToRelative(0f, -2.750f - 4 * thickness)
84-
lineToRelative(-1.020f - thickness, 1.020f + thickness)
85-
close()
86-
}
87-
*/
8863
}
8964
}
9065

app/src/main/java/org/schabi/newpipe/ui/components/menu/icons/PlayFromHere.kt

Lines changed: 2 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import androidx.compose.ui.unit.dp
1616
/**
1717
* Obtained by combining [androidx.compose.material.icons.filled.PlayArrow]
1818
* and the tiny arrow in [androidx.compose.material.icons.filled.ContentPasteGo].
19+
* Some iterations were made before obtaining this icon, if you want to see them, search through git
20+
* history the commit "Remove previous versions of custom PlayShuffled/FromHere icons".
1921
*/
2022
val Icons.Filled.PlayFromHere: ImageVector by lazy {
2123
materialIcon(name = "Filled.PlayFromHere") {
@@ -37,82 +39,6 @@ val Icons.Filled.PlayFromHere: ImageVector by lazy {
3739
lineToRelative(3.99f, -4.0f)
3840
close()
3941
}
40-
/*materialPath {
41-
moveTo(18.6f, 11.00f)
42-
lineToRelative(-1.064f, 1.064f)
43-
lineToRelative(2.586f, 2.586f)
44-
horizontalLineToRelative(-5.622f)
45-
verticalLineToRelative(-2.086f)
46-
horizontalLineToRelative(-1.5f)
47-
verticalLineToRelative(5.672f)
48-
horizontalLineToRelative(1.5f)
49-
verticalLineToRelative(-2.086f)
50-
horizontalLineToRelative(5.622f)
51-
lineToRelative(-2.586f, 2.586f)
52-
lineToRelative(1.064f, 1.064f)
53-
lineToRelative(4.400f, -4.400f)
54-
close()
55-
}*/
56-
/*materialPath {
57-
moveTo(18.6f, 11.00f)
58-
lineToRelative(-1.064f, 1.064f)
59-
lineToRelative(3.336f, 3.336f)
60-
lineToRelative(-3.336f, 3.336f)
61-
lineToRelative(1.064f, 1.064f)
62-
lineToRelative(4.400f, -4.400f)
63-
close()
64-
}
65-
materialPath {
66-
moveTo(14f, 11.00f)
67-
lineToRelative(-1.064f, 1.064f)
68-
lineToRelative(3.336f, 3.336f)
69-
lineToRelative(-3.336f, 3.336f)
70-
lineToRelative(1.064f, 1.064f)
71-
lineToRelative(4.400f, -4.400f)
72-
close()
73-
}*/
74-
/*materialPath {
75-
moveTo(18.6f, 11.00f)
76-
lineToRelative(-1.064f, 1.064f)
77-
lineToRelative(2.586f, 2.586f)
78-
horizontalLineToRelative(-7.122f)
79-
verticalLineToRelative(1.500f)
80-
horizontalLineToRelative(7.122f)
81-
lineToRelative(-2.586f, 2.586f)
82-
lineToRelative(1.064f, 1.064f)
83-
lineToRelative(4.400f, -4.400f)
84-
close()
85-
}*/
86-
/*materialPath {
87-
moveTo(17.200f, 11.200f)
88-
lineToRelative(-0.775f, 0.775f)
89-
lineToRelative(3.075f, 3.075f)
90-
horizontalLineToRelative(-6.694f)
91-
verticalLineToRelative(1.100f)
92-
horizontalLineToRelative(6.694f)
93-
lineToRelative(-3.075f, 3.075f)
94-
lineToRelative(0.775f, 0.775f)
95-
lineToRelative(4.400f, -4.400f)
96-
close()
97-
}*/
98-
/*materialPath {
99-
moveTo(15.817f, 16.202f)
100-
lineToRelative(-0.916f, 0.916f)
101-
lineToRelative(2.977f, 2.983f)
102-
lineToRelative(-2.977f, 2.983f)
103-
lineToRelative(0.916f, 0.916f)
104-
lineToRelative(3.900f, -3.900f)
105-
close()
106-
}
107-
materialPath {
108-
moveTo(20.100f, 16.202f)
109-
lineToRelative(-0.916f, 0.916f)
110-
lineToRelative(2.977f, 2.983f)
111-
lineToRelative(-2.977f, 2.983f)
112-
lineToRelative(0.916f, 0.916f)
113-
lineToRelative(3.900f, -3.900f)
114-
close()
115-
}*/
11642
}
11743
}
11844

app/src/main/java/org/schabi/newpipe/ui/components/menu/icons/PlayShuffled.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import androidx.compose.ui.unit.dp
1515

1616
/**
1717
* Obtained by combining [androidx.compose.material.icons.filled.PlayArrow]
18-
* and the tiny arrow in [androidx.compose.material.icons.filled.ContentPasteGo].
18+
* and [androidx.compose.material.icons.filled.Shuffle].
19+
* Some iterations were made before obtaining this icon, if you want to see them, search through git
20+
* history the commit "Remove previous versions of custom PlayShuffled/FromHere icons".
1921
*/
2022
val Icons.Filled.PlayShuffled: ImageVector by lazy {
2123
materialIcon(name = "Filled.PlayShuffled") {

app/src/main/java/org/schabi/newpipe/ui/components/menu/icons/PopupFromHere.kt

Lines changed: 2 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import androidx.compose.ui.unit.dp
1616
/**
1717
* Obtained by combining [androidx.compose.material.icons.filled.PictureInPicture]
1818
* and the tiny arrow in [androidx.compose.material.icons.filled.ContentPasteGo].
19+
* Some iterations were made before obtaining this icon, if you want to see them, search through git
20+
* history the commit "Remove previous versions of custom PlayShuffled/FromHere icons".
1921
*/
2022
val Icons.Filled.PopupFromHere: ImageVector by lazy {
2123
materialIcon(name = "Filled.PopupFromHere") {
@@ -41,12 +43,6 @@ val Icons.Filled.PopupFromHere: ImageVector by lazy {
4143
verticalLineToRelative(-7.0f)
4244
curveToRelative(0.0f, -1.1f, -0.9f, -2.0f, -2.0f, -2.0f)
4345
close()
44-
/*moveTo(21.0f, 17.01f)
45-
horizontalLineToRelative(-18.0f)
46-
verticalLineToRelative(-14.03f)
47-
horizontalLineToRelative(18.0f)
48-
verticalLineToRelative(14.03f)
49-
close()*/
5046
}
5147
materialPath {
5248
moveTo(19f, 11.5f)
@@ -60,95 +56,6 @@ val Icons.Filled.PopupFromHere: ImageVector by lazy {
6056
lineToRelative(3.99f, -4.0f)
6157
close()
6258
}
63-
/*materialPath {
64-
moveTo(18.6f, 11.00f)
65-
lineToRelative(-1.064f, 1.064f)
66-
lineToRelative(2.586f, 2.586f)
67-
horizontalLineToRelative(-5.622f)
68-
verticalLineToRelative(-2.086f)
69-
horizontalLineToRelative(-1.5f)
70-
verticalLineToRelative(5.672f)
71-
horizontalLineToRelative(1.5f)
72-
verticalLineToRelative(-2.086f)
73-
horizontalLineToRelative(5.622f)
74-
lineToRelative(-2.586f, 2.586f)
75-
lineToRelative(1.064f, 1.064f)
76-
lineToRelative(4.400f, -4.400f)
77-
close()
78-
}*/
79-
/*materialPath {
80-
moveTo(18.6f, 11.00f)
81-
lineToRelative(-1.064f, 1.064f)
82-
lineToRelative(3.336f, 3.336f)
83-
lineToRelative(-3.336f, 3.336f)
84-
lineToRelative(1.064f, 1.064f)
85-
lineToRelative(4.400f, -4.400f)
86-
close()
87-
}
88-
materialPath {
89-
moveTo(14f, 11.00f)
90-
lineToRelative(-1.064f, 1.064f)
91-
lineToRelative(3.336f, 3.336f)
92-
lineToRelative(-3.336f, 3.336f)
93-
lineToRelative(1.064f, 1.064f)
94-
lineToRelative(4.400f, -4.400f)
95-
close()
96-
}*/
97-
/*materialPath { QUESTO È PERFETTO
98-
moveTo(18.6f, 11.00f)
99-
lineToRelative(-1.064f, 1.064f)
100-
lineToRelative(2.586f, 2.586f)
101-
horizontalLineToRelative(-7.122f)
102-
verticalLineToRelative(1.500f)
103-
horizontalLineToRelative(7.122f)
104-
lineToRelative(-2.586f, 2.586f)
105-
lineToRelative(1.064f, 1.064f)
106-
lineToRelative(4.400f, -4.400f)
107-
close()
108-
}*/
109-
/*materialPath {
110-
moveTo(18.600f, 11.200f)
111-
lineToRelative(-0.775f, 0.775f)
112-
lineToRelative(3.075f, 3.075f)
113-
horizontalLineToRelative(-6.694f)
114-
verticalLineToRelative(1.100f)
115-
horizontalLineToRelative(6.694f)
116-
lineToRelative(-3.075f, 3.075f)
117-
lineToRelative(0.775f, 0.775f)
118-
lineToRelative(4.400f, -4.400f)
119-
close()
120-
}*/
121-
/*materialPath {
122-
moveTo(18.600f, 11.200f)
123-
lineToRelative(-1.41f, 1.41f)
124-
lineToRelative(1.99f, 1.99f)
125-
horizontalLineToRelative(-6f)
126-
verticalLineToRelative(2.00f)
127-
horizontalLineToRelative(6f)
128-
lineToRelative(-1.99f, 1.99f)
129-
lineToRelative(1.41f, 1.41f)
130-
lineToRelative(4.400f, -4.400f)
131-
close()
132-
}*/
133-
/*
134-
materialPath {
135-
moveTo(15.817f, 16.202f)
136-
lineToRelative(-0.916f, 0.916f)
137-
lineToRelative(2.977f, 2.983f)
138-
lineToRelative(-2.977f, 2.983f)
139-
lineToRelative(0.916f, 0.916f)
140-
lineToRelative(3.900f, -3.900f)
141-
close()
142-
}
143-
materialPath {
144-
moveTo(20.100f, 16.202f)
145-
lineToRelative(-0.916f, 0.916f)
146-
lineToRelative(2.977f, 2.983f)
147-
lineToRelative(-2.977f, 2.983f)
148-
lineToRelative(0.916f, 0.916f)
149-
lineToRelative(3.900f, -3.900f)
150-
close()
151-
}*/
15259
}
15360
}
15461

app/src/main/java/org/schabi/newpipe/ui/components/menu/icons/PopupShuffled.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import androidx.compose.ui.unit.dp
1515

1616
/**
1717
* Obtained by combining [androidx.compose.material.icons.filled.PictureInPicture]
18-
* and the tiny arrow in [androidx.compose.material.icons.filled.ContentPasteGo].
18+
* and [androidx.compose.material.icons.filled.Shuffle].
19+
* Some iterations were made before obtaining this icon, if you want to see them, search through git
20+
* history the commit "Remove previous versions of custom PlayShuffled/FromHere icons".
1921
*/
2022
val Icons.Filled.PopupShuffled: ImageVector by lazy {
2123
materialIcon(name = "Filled.PopupShuffled") {

0 commit comments

Comments
 (0)