コード例 #1
0
 public void RdialogSmg() {
   if (dialog != null) {
     mControl.removeViewInLayout(dialog);
     dialog = null;
     MG.setFocusable(true);
     MG.requestFocus();
   }
 }
コード例 #2
0
 public void RbalancerSmg() {
   if (balancer != null) {
     mControl.removeViewInLayout(balancer);
     balancer = null;
     MG.setFocusable(true);
     MG.requestFocus();
   }
 }
コード例 #3
0
 public void RpbvhideSmg() {
   if (pBV != null) {
     mControl.removeViewInLayout(pBV);
     pBV = null;
     MG.setFocusable(true);
     MG.requestFocus();
   }
 }
コード例 #4
0
 public void RpbvSmg() {
   if (pBV != null) {
     mControl.removeViewInLayout(pBV);
     pBV = null;
     mControl.addView(MG);
     MG.setFocusable(true);
     MG.requestFocus();
     MG.myinvalidate();
   }
 }
コード例 #5
0
 public void showProgressBar(String MenuItemName, String initnum) {
   if (pBV == null) {
     int offset = 0;
     if (MGroupBGKind == MenuGroup.noplayer) {
       offset = 152;
     } else {
       offset = 238;
     }
     MG.setFocusable(false);
     mControl.removeViewInLayout(MG);
     AbsoluteLayout.LayoutParams paramp =
         new AbsoluteLayout.LayoutParams(1920, offset, 0, 1080 - offset);
     pBV = new ProgressBarView(mControl.getContext(), null, MenuItemName, MGroupBGKind);
     pBV.setProgressBarListener(mControl);
     if (initnum != null && !initnum.equals("")) {
       pBV.setProgress(Integer.parseInt(initnum));
     }
     mControl.addView(pBV, paramp);
     pBV.requestFocus();
   }
 }