Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java334 return ((AdapterContextMenuInfo) menuInfo).targetView; in getTargetView()
337 return ((ExpandableListContextMenuInfo) menuInfo).targetView; in getTargetView()
345 View targetView = getTargetView(menuInfo); in onCreateContextMenu() local
346 if (!(targetView instanceof HistoryItem)) { in onCreateContextMenu()
349 HistoryItem historyItem = (HistoryItem) targetView; in onCreateContextMenu()
391 View targetView = getTargetView(menuInfo); in onContextItemSelected() local
392 if (!(targetView instanceof HistoryItem)) { in onContextItemSelected()
395 HistoryItem historyItem = (HistoryItem) targetView; in onContextItemSelected()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java163 public void scrollViewToTop(final View targetView) { in scrollViewToTop() argument
164 final ScrollView scrollView = getParentScrollView(targetView); in scrollViewToTop()
168 ScrollView scrollView = getParentScrollView(targetView); in scrollViewToTop()
169 scrollView.smoothScrollTo(0, offsetFromTopOfViewGroup(targetView, scrollView) in scrollViewToTop()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java775 final View targetView = getActivity().findViewById(R.id.action_call); in onOptionsItemSelected() local
777 if (targetView != null) { in onOptionsItemSelected()
779 targetView.getLocationOnScreen(screenLocation); in onOptionsItemSelected()
780 final int centerX = screenLocation[0] + targetView.getWidth() / 2; in onOptionsItemSelected()
781 final int centerY = screenLocation[1] + targetView.getHeight() / 2; in onOptionsItemSelected()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java333 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); in onCreateContextMenu()