Home
last modified time | relevance | path

Searched refs:mTabStrip (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java74 private ViewPagerTabStrip mTabStrip; field in ViewPagerTabs
99 mTabStrip = new ViewPagerTabStrip(context); in ViewPagerTabs()
101 mTabStrip, in ViewPagerTabs()
132 mTabStrip.removeAllViews(); in addTabs()
196 mTabStrip.addView( in addTab()
214 View view = mTabStrip.getChildAt(index); in removeTab()
216 mTabStrip.removeView(view); in removeTab()
236 int tabStripChildCount = mTabStrip.getChildCount(); in onPageScrolled()
241 mTabStrip.onPageScrolled(position, positionOffset, positionOffsetPixels); in onPageScrolled()
247 int tabStripChildCount = mTabStrip.getChildCount(); in onPageSelected()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java53 private ViewPagerTabStrip mTabStrip; field in ViewPagerTabs
127 mTabStrip = new ViewPagerTabStrip(context); in ViewPagerTabs()
128 addView(mTabStrip, in ViewPagerTabs()
149 mTabStrip.removeAllViews(); in addTabs()
181 mTabStrip.addView(textView, new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, in addTab()
193 int tabStripChildCount = mTabStrip.getChildCount(); in onPageScrolled()
198 mTabStrip.onPageScrolled(position, positionOffset, positionOffsetPixels); in onPageScrolled()
204 int tabStripChildCount = mTabStrip.getChildCount(); in onPageSelected()
210 mTabStrip.getChildAt(mPrevSelected).setSelected(false); in onPageSelected()
212 final View selectedChild = mTabStrip.getChildAt(position); in onPageSelected()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java48 private LinearLayout mTabStrip; field in MediaPickerPanel
100 mTabStrip = (LinearLayout) findViewById(R.id.mediapicker_tabstrip); in onFinishInflate()
142 measureChild(mTabStrip, widthMeasureSpec, heightMeasureSpec); in onMeasure()
147 tabStripHeight = mTabStrip.getMeasuredHeight(); in onMeasure()
150 tabStripHeight = Math.min(mTabStrip.getMeasuredHeight(), in onMeasure()
177 mTabStrip.layout(0, y, width, y + mTabStrip.getMeasuredHeight()); in onLayout()
313 measureChild(mTabStrip, measureSpec, measureSpec); in measureHeight()
314 return mDefaultViewPagerHeight + mTabStrip.getMeasuredHeight(); in measureHeight()
DMediaPicker.java143 private LinearLayout mTabStrip; field in MediaPicker
214 mTabStrip = (LinearLayout) mMediaPickerPanel.findViewById(R.id.mediapicker_tabstrip); in onCreateView()
215 mTabStrip.setBackgroundColor(mThemeColor); in onCreateView()
217 chooser.onCreateTabButton(inflater, mTabStrip); in onCreateView()
223 mTabStrip.addView(tabButton); in onCreateView()
300 if (mTabStrip != null) { in setConversationThemeColor()
301 mTabStrip.setBackgroundColor(mThemeColor); in setConversationThemeColor()