void a(Context paramContext) {
   TypedValue localTypedValue = new TypedValue();
   Resources.Theme localTheme = paramContext.getResources().newTheme();
   localTheme.setTo(paramContext.getTheme());
   localTheme.resolveAttribute(a.a.actionBarPopupTheme, localTypedValue, true);
   if (resourceId != 0) {
     localTheme.applyStyle(resourceId, true);
   }
   localTheme.resolveAttribute(a.a.panelMenuListTheme, localTypedValue, true);
   if (resourceId != 0) {
     localTheme.applyStyle(resourceId, true);
   }
   for (; ; ) {
     paramContext = new b(paramContext, 0);
     paramContext.getTheme().setTo(localTheme);
     l = paramContext;
     paramContext = paramContext.obtainStyledAttributes(a.k.Theme);
     b = paramContext.getResourceId(a.k.Theme_panelBackground, 0);
     f = paramContext.getResourceId(a.k.Theme_android_windowAnimationStyle, 0);
     paramContext.recycle();
     return;
     localTheme.applyStyle(a.j.Theme_AppCompat_CompactMenu, true);
   }
 }
Esempio n. 2
0
 private Resources.Theme getSelfTheme(Resources selfResources) {
   Resources.Theme theme = selfResources.newTheme();
   mThemeResId = getInnerRIdValue("com.android.internal.R.style.Theme");
   theme.applyStyle(mThemeResId, true);
   return theme;
 }