Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e6ebd8d7
authored
Feb 17, 2020
by
ibaker
Committed by
Ian Baker
Feb 17, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Move SpanUtil into text.span package
Seems like it belongs here. PiperOrigin-RevId: 295571820
parent
5c3c8034
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
library/core/src/main/java/com/google/android/exoplayer2/text/SpanUtil.java → library/core/src/main/java/com/google/android/exoplayer2/text/span/SpanUtil.java
library/core/src/main/java/com/google/android/exoplayer2/text/ttml/TtmlRenderUtil.java
library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCueParser.java
library/core/src/test/java/com/google/android/exoplayer2/text/SpanUtilTest.java → library/core/src/test/java/com/google/android/exoplayer2/text/span/SpanUtilTest.java
library/core/src/main/java/com/google/android/exoplayer2/text/SpanUtil.java
→
library/core/src/main/java/com/google/android/exoplayer2/text/
span/
SpanUtil.java
View file @
e6ebd8d7
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
com
.
google
.
android
.
exoplayer2
.
text
;
package
com
.
google
.
android
.
exoplayer2
.
text
.
span
;
import
android.text.Spannable
;
import
android.text.Spannable
;
import
android.text.style.ForegroundColorSpan
;
import
android.text.style.ForegroundColorSpan
;
...
...
library/core/src/main/java/com/google/android/exoplayer2/text/ttml/TtmlRenderUtil.java
View file @
e6ebd8d7
...
@@ -28,8 +28,8 @@ import android.text.style.StyleSpan;
...
@@ -28,8 +28,8 @@ import android.text.style.StyleSpan;
import
android.text.style.TypefaceSpan
;
import
android.text.style.TypefaceSpan
;
import
android.text.style.UnderlineSpan
;
import
android.text.style.UnderlineSpan
;
import
androidx.annotation.Nullable
;
import
androidx.annotation.Nullable
;
import
com.google.android.exoplayer2.text.SpanUtil
;
import
com.google.android.exoplayer2.text.span.HorizontalTextInVerticalContextSpan
;
import
com.google.android.exoplayer2.text.span.HorizontalTextInVerticalContextSpan
;
import
com.google.android.exoplayer2.text.span.SpanUtil
;
import
java.util.Map
;
import
java.util.Map
;
/**
/**
...
...
library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCueParser.java
View file @
e6ebd8d7
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
package
com
.
google
.
android
.
exoplayer2
.
text
.
webvtt
;
package
com
.
google
.
android
.
exoplayer2
.
text
.
webvtt
;
import
static
com
.
google
.
android
.
exoplayer2
.
text
.
SpanUtil
.
addOrReplaceSpan
;
import
static
com
.
google
.
android
.
exoplayer2
.
text
.
span
.
SpanUtil
.
addOrReplaceSpan
;
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
SOURCE
;
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
SOURCE
;
import
android.graphics.Color
;
import
android.graphics.Color
;
...
...
library/core/src/test/java/com/google/android/exoplayer2/text/SpanUtilTest.java
→
library/core/src/test/java/com/google/android/exoplayer2/text/
span/
SpanUtilTest.java
View file @
e6ebd8d7
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
com
.
google
.
android
.
exoplayer2
.
text
;
package
com
.
google
.
android
.
exoplayer2
.
text
.
span
;
import
static
com
.
google
.
common
.
truth
.
Truth
.
assertThat
;
import
static
com
.
google
.
common
.
truth
.
Truth
.
assertThat
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment