Example #1
0
 private void bindTempDetach() {
   try {
     mDispatchStartTemporaryDetach =
         android / view / View.getDeclaredMethod("dispatchStartTemporaryDetach", new Class[0]);
     mDispatchFinishTemporaryDetach =
         android / view / View.getDeclaredMethod("dispatchFinishTemporaryDetach", new Class[0]);
   } catch (NoSuchMethodException nosuchmethodexception) {
     Log.e("ViewCompat", "Couldn't find method", nosuchmethodexception);
   }
   mTempDetachBound = true;
 }
Example #2
0
 N() {
   try {
     a = android / view / View.getDeclaredMethod("getDisplayList", (Class[]) null);
   } catch (NoSuchMethodException nosuchmethodexception) {
     Log.e(
         "SlidingPaneLayout",
         "Couldn't fetch getDisplayList method; dimming won't work right.",
         nosuchmethodexception);
   }
   try {
     b = android / view / View.getDeclaredField("mRecreateDisplayList");
     b.setAccessible(true);
     return;
   } catch (NoSuchFieldException nosuchfieldexception) {
     Log.e(
         "SlidingPaneLayout",
         "Couldn't fetch mRecreateDisplayList field; dimming will be slow.",
         nosuchfieldexception);
   }
 }