-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Fallback mechanism * Add JumpCommands * Add jump support * Add interative mode to replyaer * Fix Talkback locate issue * Add Text Description, Add ExecuteSingleAction task to main.py * Fix Focusable Bug in TalkBack * Fix dir bug * Add Talkback Search Controller * Fix TextDescription * Add blind fold mode
- Loading branch information
1 parent
4415185
commit ea5b0cb
Showing
37 changed files
with
755 additions
and
160 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
UseCaseExecutor/src/main/java/dev/navids/latte/UseCase/JumpNextCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package dev.navids.latte.UseCase; | ||
|
||
import android.util.Log; | ||
|
||
import org.json.simple.JSONObject; | ||
|
||
import dev.navids.latte.LatteService; | ||
|
||
public class JumpNextCommand extends NavigateCommand { | ||
|
||
JumpNextCommand(JSONObject stepJson) { | ||
super(stepJson); | ||
Log.i(LatteService.TAG, "Jump Next Step"); | ||
} | ||
|
||
public static boolean isJumpNextAction(String action){ | ||
return action.equals("jump_next"); | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
return "JumpNextStep{" + | ||
"State=" + getState().name() + | ||
'}'; | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
UseCaseExecutor/src/main/java/dev/navids/latte/UseCase/JumpPreviousCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package dev.navids.latte.UseCase; | ||
|
||
import android.util.Log; | ||
|
||
import org.json.simple.JSONObject; | ||
|
||
import dev.navids.latte.LatteService; | ||
|
||
public class JumpPreviousCommand extends NavigateCommand { | ||
|
||
JumpPreviousCommand(JSONObject stepJson) { | ||
super(stepJson); | ||
Log.i(LatteService.TAG, "Jump Previous Step"); | ||
} | ||
|
||
public static boolean isJumpPreviousAction(String action){ | ||
return action.equals("jump_previous"); | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
return "JumpPreviousStep{" + | ||
"State=" + getState().name() + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.