CurrentFolderName.java 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.epson.cameracopy.p006ui;
  2. import android.widget.LinearLayout;
  3. import android.widget.TextView;
  4. import java.io.File;
  5. /* renamed from: com.epson.cameracopy.ui.CurrentFolderName */
  6. /* compiled from: FolderSelectActivity */
  7. class CurrentFolderName {
  8. LinearLayout mFolderSelectCurrent = null;
  9. File mFolderSelectFile = null;
  10. TextView mFolderSelectText = null;
  11. CurrentFolderName(LinearLayout linearLayout, TextView textView) {
  12. this.mFolderSelectCurrent = linearLayout;
  13. this.mFolderSelectText = textView;
  14. }
  15. public void SetText(String str) {
  16. this.mFolderSelectText.setText(str);
  17. }
  18. public void SetFile(File file) {
  19. this.mFolderSelectFile = file;
  20. this.mFolderSelectText.setText(this.mFolderSelectFile.getName());
  21. }
  22. public void Show(boolean z) {
  23. if (z) {
  24. this.mFolderSelectCurrent.setVisibility(0);
  25. } else {
  26. this.mFolderSelectCurrent.setVisibility(8);
  27. }
  28. }
  29. public File GetFile() {
  30. return this.mFolderSelectFile;
  31. }
  32. }