private void Z() { FeedUtils.a(n()); this.ax.clearFocus(); TranslateAnimation localTranslateAnimation1; TranslateAnimation localTranslateAnimation2; if (this.aI) { localTranslateAnimation1 = new TranslateAnimation(this.az.getWidth(), 0.0F, 0.0F, 0.0F); localTranslateAnimation2 = new TranslateAnimation(0.0F, -1 * this.az.getWidth(), 0.0F, 0.0F); localTranslateAnimation1.setAnimationListener(new FeedFlyoutFragment.13(this)); localTranslateAnimation1.setDuration(300L); localTranslateAnimation1.setInterpolator(new AccelerateInterpolator()); localTranslateAnimation1.setFillAfter(true); localTranslateAnimation2.setDuration(300L); localTranslateAnimation2.setInterpolator(new AccelerateInterpolator()); localTranslateAnimation2.setFillAfter(true); this.av.setVisibility(0); this.av.bringToFront(); this.av.startAnimation(localTranslateAnimation1); this.aw.startAnimation(localTranslateAnimation2); if (this.aI) break label216; } label216: for (boolean bool = true; ; bool = false) { this.aI = bool; return; localTranslateAnimation1 = new TranslateAnimation(0.0F, this.az.getWidth(), 0.0F, 0.0F); localTranslateAnimation2 = new TranslateAnimation(-1 * this.az.getWidth(), 0.0F, 0.0F, 0.0F); this.aw.setVisibility(0); break; } }
private void U() { this.ax.setEnabled(false); this.ax.clearFocus(); FeedUtils.a(n()); this.ay.setTextColor(this.aG); }
public void a(int paramInt) { int i = FeedUtils.a(this.b, paramInt); Resources localResources = this.b.getResources(); int j = i - localResources.getDimensionPixelSize(2131230788); int k = localResources.getDimensionPixelSize(2131230789); Drawable localDrawable = getBackground(); if (localDrawable != null) ((LayerDrawable) localDrawable).setLayerInset(0, j, k, j, k); }
public ListenableFuture<Void> a() { ListenableFuture localListenableFuture = super.a(); if (s()) { this.aH = true; FeedUtils.a(n()); } return localListenableFuture; }
private void W() { this.aw = this.az.findViewById(2131296917); this.au = ((ListView)this.az.findViewById(2131296923)); this.au.setEmptyView(this.az.findViewById(16908292)); this.au.addFooterView(this.aB); this.ax = ((EditText)this.aq.findViewById(2131296503)); this.ax = FeedUtils.a(n(), this.ax, 2130903099); ((SoftKeyboardStateAwareEditTextInterface)this.ax).setOnSoftKeyboardVisibleListener(new FeedFlyoutFragment.10(this)); this.ax.setImeOptions(6); this.ay = ((TextView)this.aq.findViewById(2131296504)); this.ay.setVisibility(8); if (this.ao == null) this.ao = new PagedCommentCollection(this.aj); if (this.al == null) this.al = ((FeedAdapterFactory)R().a(FeedAdapterFactory.class)).a(this.ao, this.aN); this.au.setAdapter(this.al); }