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.java145 private LinearLayout mTabStrip; field in MediaPicker
227 mTabStrip = (LinearLayout) mMediaPickerPanel.findViewById(R.id.mediapicker_tabstrip); in onCreateView()
228 mTabStrip.setBackgroundColor(mThemeColor); in onCreateView()
230 chooser.onCreateTabButton(inflater, mTabStrip); in onCreateView()
236 mTabStrip.addView(tabButton); in onCreateView()
313 if (mTabStrip != null) { in setConversationThemeColor()
314 mTabStrip.setBackgroundColor(mThemeColor); in setConversationThemeColor()