Skip to content

Commit 5bc0a8f

Browse files
authored
Merge pull request #5554 from karkaminski/enhancement/remove_resizing_text
removed resizing text from popup player
2 parents 687020e + 469a5b1 commit 5bc0a8f

69 files changed

Lines changed: 0 additions & 103 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/src/main/java/org/schabi/newpipe/player/Player.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4049,10 +4049,6 @@ public TextView getCurrentDisplaySeek() {
40494049
return binding.currentDisplaySeek;
40504050
}
40514051

4052-
public TextView getResizingIndicator() {
4053-
return binding.resizingIndicator;
4054-
}
4055-
40564052
@Nullable
40574053
public WindowManager.LayoutParams getPopupLayoutParams() {
40584054
return popupLayoutParams;

app/src/main/java/org/schabi/newpipe/player/event/PlayerGestureListener.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,13 @@ public void onPopupResizingStart() {
251251

252252
player.hideControls(0, 0);
253253
animate(player.getCurrentDisplaySeek(), false, 0, ALPHA, 0);
254-
animate(player.getResizingIndicator(), true, 200, ALPHA, 0);
255254
}
256255

257256
@Override
258257
public void onPopupResizingEnd() {
259258
if (DEBUG) {
260259
Log.d(TAG, "onPopupResizingEnd called");
261260
}
262-
animate(player.getResizingIndicator(), false, 100, ALPHA, 0);
263261
}
264262
}
265263

app/src/main/res/layout-large-land/player.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -680,22 +680,6 @@
680680

681681
</RelativeLayout>
682682

683-
<TextView
684-
android:id="@+id/resizing_indicator"
685-
android:layout_width="wrap_content"
686-
android:layout_height="wrap_content"
687-
android:layout_gravity="left|top"
688-
android:background="#6e000000"
689-
android:gravity="center"
690-
android:padding="5dp"
691-
android:text="@string/popup_resizing_indicator_title"
692-
android:textColor="@android:color/white"
693-
android:textSize="18sp"
694-
android:textStyle="bold"
695-
android:visibility="gone"
696-
tools:ignore="RtlHardcoded"
697-
tools:visibility="gone" />
698-
699683
<View
700684
android:id="@+id/closingOverlay"
701685
android:layout_width="match_parent"

app/src/main/res/layout/player.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -676,22 +676,6 @@
676676

677677
</RelativeLayout>
678678

679-
<TextView
680-
android:id="@+id/resizing_indicator"
681-
android:layout_width="wrap_content"
682-
android:layout_height="wrap_content"
683-
android:layout_gravity="left|top"
684-
android:background="#6e000000"
685-
android:gravity="center"
686-
android:padding="5dp"
687-
android:text="@string/popup_resizing_indicator_title"
688-
android:textColor="@android:color/white"
689-
android:textSize="18sp"
690-
android:textStyle="bold"
691-
android:visibility="gone"
692-
tools:ignore="RtlHardcoded"
693-
tools:visibility="gone" />
694-
695679
<View
696680
android:id="@+id/closingOverlay"
697681
android:layout_width="match_parent"

app/src/main/res/values-ar/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
<string name="filter">فلتر</string>
120120
<string name="refresh">تحديث</string>
121121
<string name="clear">تنظيف</string>
122-
<string name="popup_resizing_indicator_title">تغيير الحجم</string>
123122
<string name="best_resolution">أفضل دقة</string>
124123
<string name="undo">تراجع</string>
125124
<string name="play_all">تشغيل الكل</string>

app/src/main/res/values-az/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@
187187
<string name="file_deleted">Fayl silindi</string>
188188
<string name="undo">Geri qaytar</string>
189189
<string name="best_resolution">Ən yaxşı görüntü keyfiyyəti</string>
190-
<string name="popup_resizing_indicator_title">Yenidən ölçüləndirilir</string>
191190
<string name="clear">Təmizlə</string>
192191
<string name="refresh">Təzələ</string>
193192
<string name="filter">Süzgəcdən keçir</string>

app/src/main/res/values-b+ast/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@
561561
<string name="just_once">Namás una vegada</string>
562562
<string name="file_deleted">Desanicióse\'l ficheru</string>
563563
<string name="undo">Desfacer</string>
564-
<string name="popup_resizing_indicator_title">Redimensionáu</string>
565564
<string name="refresh">Refrescar</string>
566565
<string name="filter">Peñerar</string>
567566
<string name="disabled">Desactivóse</string>

app/src/main/res/values-b+uz+Latn/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
<string name="file_deleted">Fayl o\'chirildi</string>
124124
<string name="undo">Bekor qilish</string>
125125
<string name="best_resolution">Eng yaxshi qaror</string>
126-
<string name="popup_resizing_indicator_title">Hajmi o\'zgartirilmoqda</string>
127126
<string name="clear">Tozalash</string>
128127
<string name="refresh">Yangilash</string>
129128
<string name="filter">Filter</string>

app/src/main/res/values-b+zh+HANS+CN/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@
214214
<string name="popup_remember_size_pos_title">记住悬浮窗属性</string>
215215
<string name="popup_remember_size_pos_summary">记住上一次使用悬浮窗的大小和位置</string>
216216
<string name="settings_category_popup_title">悬浮窗</string>
217-
<string name="popup_resizing_indicator_title">调整大小</string>
218217
<string name="use_external_video_player_summary">在部分分辨率下将没有音频</string>
219218
<string name="player_gesture_controls_title">手势控制播放器</string>
220219
<string name="player_gesture_controls_summary">允许使用手势控制亮度和音量</string>

app/src/main/res/values-be/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120
<string name="filter">Фільтр</string>
121121
<string name="refresh">Абнавіць</string>
122122
<string name="clear">Ачысціць</string>
123-
<string name="popup_resizing_indicator_title">Змена памеру</string>
124123
<string name="best_resolution">Лепшае разрозненне</string>
125124
<string name="undo">Скасаваць</string>
126125
<string name="play_all">Прайграць усё</string>

0 commit comments

Comments
 (0)