Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/
DTabControl.java49 private int mCurrentTab = -1; field in TabControl
75 Tab t = getTab(mCurrentTab); in getCurrentWebView()
88 Tab t = getTab(mCurrentTab); in getCurrentTopWebView()
100 Tab t = getTab(mCurrentTab); in getCurrentSubWindow()
131 return getTab(mCurrentTab); in getCurrentTab()
139 return mCurrentTab; in getCurrentPosition()
247 mCurrentTab = -1; in removeTab()
251 mCurrentTab = getTabPosition(current); in removeTab()
426 if (mCurrentTab == -1) { in restoreState()
645 Tab current = getTab(mCurrentTab); in setCurrentTab()
[all …]
DNfcHandler.java41 Tab mCurrentTab; field in NfcHandler
72 mIsPrivate = mCurrentTab.getWebView().isPrivateBrowsingEnabled();
80 mCurrentTab = mController.getCurrentTab(); in createNdefMessage()
81 if ((mCurrentTab != null) && (mCurrentTab.getWebView() != null)) { in createNdefMessage()
93 if ((mCurrentTab == null) || mIsPrivate) { in createNdefMessage()
97 String currentUrl = mCurrentTab.getUrl(); in createNdefMessage()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java118 private int mCurrentTab = TabState.DEFAULT; field in ActionBarAdapter
199 mCurrentTab = loadLastTabPreference(); in initialize()
207 mCurrentTab = savedState.getInt(EXTRA_KEY_SELECTED_TAB); in initialize()
209 if (mCurrentTab >= TabState.COUNT || mCurrentTab < 0) { in initialize()
211 mCurrentTab = TabState.DEFAULT; in initialize()
264 if (tab == mCurrentTab) { in setCurrentTab()
267 mCurrentTab = tab; in setCurrentTab()
270 saveLastTabPreference(mCurrentTab); in setCurrentTab()
274 return mCurrentTab; in getCurrentTab()
551 outState.putInt(EXTRA_KEY_SELECTED_TAB, mCurrentTab); in onSaveInstanceState()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java270 private String mCurrentTab = null; field in DataUsageSummary
813 mCurrentTab = currentTab; in updateBody()
906 if (mCurrentTab != null && mCurrentTab.length() > TAB_MOBILE.length() ){ in updateBody()
907 final int slotId = Integer.parseInt(mCurrentTab.substring(TAB_MOBILE.length(), in updateBody()
908 mCurrentTab.length())); in updateBody()
1129 if (isMobileTab(mCurrentTab)) { in updatePolicy()
1131 mDataEnabled.setChecked(isMobileDataEnabled(getSubId(mCurrentTab))); in updatePolicy()
1137 if (isNetworkPolicyModifiable(policy) && isMobileDataAvailable(getSubId(mCurrentTab))) { in updatePolicy()
1270 final String currentTab = mCurrentTab;
1283 ConfirmDataDisableFragment.show(DataUsageSummary.this, getSubId(mCurrentTab));
[all …]