App
GaussianBlurPopUpFragment.java
Go to the documentation of this file.
1 package mhr.app.fragments.toolbox.filters;
2 
3 import mhr.app.R;
4 import mhr.app.fragments.toolbox.CancellableToolPopUpFragment;
5 import mhr.appandroid.views.LabelledSeekBar;
6 import mhr.appandroid.views.LabelledSeekBar.LabelledSBChangeListener;
7 import mhr.appcore.commands.toolcommands.CancelableToolUpdateCommand;
8 import mhr.appcore.tools.Tool;
9 import mhr.appcore.tools.actiondata.CancelableToolActionData;
10 import mhr.appcore.tools.actiondata.CancelableToolActionData.Action;
11 import mhr.appcore.tools.actiondata.GaussianBlurFilterCancelableToolActionData;
12 import mhr.appcore.tools.cancelable.filter.GaussianBlurFilterCancelableTool;
13 
18 
19 
20  //===== INTERFACES, CLASSES, ENUMS ==========================================================================================================//
21  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
22  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
23 
24  //===== FIELDS ==============================================================================================================================//
25  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
26  protected LabelledSeekBar xSigmaValueLSB = null;
27  protected LabelledSeekBar ySigmaValueLSB = null;
28 
29  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
30 
31  //===== CONSTRUCTORS, DESTRUCTORS, RELATED METHODS ==========================================================================================//
32  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
33  @Override
34  protected void onInitView() {
35  xSigmaValueLSB = (LabelledSeekBar) root.findViewById(R.id.XSigmaValueLSB);
37  ySigmaValueLSB = (LabelledSeekBar) root.findViewById(R.id.YSigmaValueLSB);
39 
40  }
41  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
43 
44  }
45 
46  //===== METHODS =============================================================================================================================//
47  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
48  @Override
49  protected Tool getTool() {
50 
52  }
53 
54  @Override
57  }
58 
59 
60  @Override
61  protected int getLayoutId() {
62  return R.layout.fragment_filter_tool_gaussian_blur_settings;
63  }
64 
65  @Override
66  protected void onCancel() {
69  }
70  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
71 
72  //===== CALLBACKS ===========================================================================================================================//
73 
74  @Override
75  public void onValueChanged(LabelledSeekBar sb, float value, boolean fromUser) {
76  if (livePreviewOn) {
78  }
79  }
80  @Override
82  }
83  @Override
85  }
86 
87 
88 
89 }