Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e0849cc
Update SETUP.md
wcn4 Jan 24, 2025
7685da0
Removing hardcoded logic for dump clips
rishiso Feb 15, 2025
498d450
Removing wildcards from regex queries
rishiso Feb 15, 2025
2363d3b
Updated gitignore, added one comment in dump_clips.py
wcn4 Feb 17, 2025
80570bf
Merge pull request #5 from Accessible-Technology-in-Sign/ekim612-dqp-…
wcn4 Feb 17, 2025
bdf7f0f
Made download_videos.py and method to pull md5 hashes from Firestore
amnguyencoding Feb 19, 2025
9a9547b
Finishing video download script
rishiso Feb 19, 2025
3796eed
Updating gitignore
rishiso Feb 19, 2025
933eee5
Adding full screen capability for prompt videos. Revamping UI compone…
Jebin-W Feb 25, 2025
2aff212
Merge pull request #6 from Accessible-Technology-in-Sign/aidan
wcn4 Feb 25, 2025
e519819
upload button pop up
hrtscybort Feb 22, 2025
da81529
Merge branch 'main' into ewang-uploads
wcn4 Feb 25, 2025
3897a15
Merge pull request #7 from Accessible-Technology-in-Sign/ewang-uploads
wcn4 Feb 25, 2025
f8ff4d8
Modified activity_splash.xml such that the buttons do not overlap
wcn4 Mar 4, 2025
c6b422e
Hopefully merged conflict between upload button changes and new ui ch…
wcn4 Mar 4, 2025
48ae446
Merge pull request #8 from Accessible-Technology-in-Sign/ui-revamp
wcn4 Mar 4, 2025
f4572ff
Adding full screen capability for prompt videos. Revamping UI compone…
Jebin-W Feb 25, 2025
6e3a184
Modified activity_splash.xml such that the buttons do not overlap
wcn4 Mar 4, 2025
03a5839
Reading and splitting clips
rishiso Feb 28, 2025
f2f458c
Added ffprobe command method, made various bug fixes to make_clip
amnguyencoding Mar 3, 2025
6721475
Finishing video clipping functionality
rishiso Mar 6, 2025
cec0587
Creating pipeline for video download + metadata download + clipping
rishiso Mar 6, 2025
1bb7696
Improving error handling in dump clips
rishiso Mar 6, 2025
09411f2
Included export command
wcn4 Mar 25, 2025
77a17ad
Making clipping buffers configurable
rishiso Mar 14, 2025
d42e322
string resrouces
hrtscybort Mar 9, 2025
207ca9c
japanese translations
hrtscybort Mar 9, 2025
6db8ae1
hindi translations
hrtscybort Mar 10, 2025
19f0d55
more string resources
hrtscybort Mar 11, 2025
d15615f
marathi translation
hrtscybort Mar 16, 2025
6bab892
string resources fixed
hrtscybort Mar 26, 2025
8c0771f
Added prompt page translations
wcn4 Apr 1, 2025
c459637
progress bar
hrtscybort Mar 5, 2025
a57a6cb
Merge pull request #16 from Accessible-Technology-in-Sign/ewang-uploa…
wcn4 Apr 1, 2025
41fcdfe
Add fix for server connectivity status at initial app startup
eminyoung Feb 25, 2025
b30b3fb
Add more debugging checks and updateUI method calls
eminyoung Feb 25, 2025
7a1a451
edit to updating connection
eminyoung Mar 4, 2025
410eca8
simple edit
eminyoung Mar 8, 2025
a080270
add alert when uploading with disconnected server/internet
eminyoung Mar 11, 2025
6cf4584
fix double popup
eminyoung Mar 11, 2025
c61fd68
add prompt null checker
eminyoung Mar 11, 2025
9189db2
Added some sanity checks, but this should be working now
wcn4 Apr 1, 2025
9596854
Merge pull request #17 from Accessible-Technology-in-Sign/echoi-nullP…
wcn4 Apr 1, 2025
ba19f8a
Added documentation for usage of clipping scripts to USAGE.md.
amnguyencoding Apr 8, 2025
5e9362d
Removed comments
amnguyencoding Apr 8, 2025
cf249f4
Remove comments
amnguyencoding Apr 8, 2025
b8b3b37
Adding file constants to pipeline
rishiso Apr 9, 2025
2430379
Merge branch 'main' of https://github.com/Accessible-Technology-in-Si…
floteywotey Apr 15, 2025
963b0e5
Updating gitignore
rishiso Apr 15, 2025
07ff08f
Merge pull request #21 from Accessible-Technology-in-Sign/user-config
wcn4 Apr 15, 2025
3012b1a
Merge remote-tracking branch 'refs/remotes/origin/documentation-2' in…
amnguyencoding Apr 15, 2025
ef43ddc
Upated documentation with rigorous explanations of scripts in clippin…
amnguyencoding Apr 21, 2025
faff3f0
add progress bar and null prompt checker
eminyoung Apr 21, 2025
fff4a74
Using constants file instead during merge conflict
wcn4 Apr 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@
.cxx
local.properties
app/src/main/res/values/credentials.xml

/APP_ENV_DIR
/asl_venv
/video_dump
APP_ENV_DIR/
asl_venv/
metadata_dump.csv
metadata_dump.json
clip_dump/
video_dump/

2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>

<activity
android:name=".splash.PromptSelectActivity"
android:exported="false" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import android.os.Handler
import android.util.Log
import android.view.SurfaceHolder
import android.view.View
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import android.widget.VideoView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@ import android.net.Uri
import android.os.Bundle
import android.util.Log
import android.view.View
import android.view.ViewGroup
import android.widget.ImageButton
import android.widget.ImageView
import android.widget.TextView
import android.widget.VideoView
import androidx.annotation.LayoutRes
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.ConstraintSet
import androidx.fragment.app.Fragment
import androidx.transition.Visibility
import edu.gatech.ccg.recordthesehands.upload.Prompt
import edu.gatech.ccg.recordthesehands.upload.PromptType
import edu.gatech.ccg.recordthesehands.R
import java.io.File
import kotlin.math.roundToInt

/**
* This is the little rectangle at the top of the screen that prompts the
Expand Down Expand Up @@ -85,9 +87,43 @@ class WordPromptFragment(
PromptType.VIDEO -> {
if (prompt.resourcePath != null) {
val videoView = view.findViewById<VideoView>(R.id.promptVideo)

// Initialize button for adjusting video size
val changeScreenSizeButton = view.findViewById<ImageButton>(R.id.changeScreenSizeButton)
val splitScreenButton = view.findViewById<ImageButton>(R.id.splitScreenButton)

// Store original video width and height
val origWidth = videoView.layoutParams.width
val origHeight = videoView.layoutParams.height

var fullScreen = false
var splitScreen = false

changeScreenSizeButton.setOnClickListener {
val videoViewParams = videoView.layoutParams
splitScreen = false
if (!fullScreen) {
videoViewParams.width = ViewGroup.LayoutParams.MATCH_PARENT
videoViewParams.height = ViewGroup.LayoutParams.MATCH_PARENT
changeScreenSizeButton.setImageResource(R.drawable.minimize_screen_button)
videoView.layoutParams = videoViewParams
fullScreen = true
Log.i(TAG, "Enlarging video to full screen size")
} else {
videoViewParams.width = origWidth
videoViewParams.height = origHeight
videoView.layoutParams = videoViewParams
changeScreenSizeButton.setImageResource(R.drawable.full_screen_button)
fullScreen = false
Log.i(TAG, "Minimizing video to original size")
}
}

videoPromptController = VideoPromptController(
requireContext(), null, videoView, prompt.resourcePath!!, true)
videoView.visibility = View.VISIBLE
changeScreenSizeButton.visibility = View.VISIBLE
// splitScreenButton.visibility = View.VISIBLE
}
}
}
Expand Down
Loading