// Text colors/sizes come from the text appearance firstfinalTypedArrayta=context.obtainStyledAttributes(mTabTextAppearance,android.support.v7.appcompat.R.styleable.TextAppearance);try{mTabTextSize=ta.getDimensionPixelSize(android.support.v7.appcompat.R.styleable.TextAppearance_android_textSize,0);mTabTextColors=ta.getColorStateList(android.support.v7.appcompat.R.styleable.TextAppearance_android_textColor);}finally{ta.recycle();}
publicstaticclassSynchronizedPool<T>extendsSimplePool<T>{privatefinalObjectmLock=newObject();/** * Creates a new instance. * * @param maxPoolSize The max pool size. * * @throws IllegalArgumentException If the max pool size is less than zero. */publicSynchronizedPool(intmaxPoolSize){super(maxPoolSize);}@OverridepublicTacquire(){synchronized(mLock){returnsuper.acquire();}}@Overridepublicbooleanrelease(Telement){synchronized(mLock){returnsuper.release(element);}}}