Home
last modified time | relevance | path

Searched refs:convertView (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/
DAppMenuAdapter.java129 public View getView(int position, View convertView, ViewGroup parent) {
135 if (convertView == null) {
137 convertView = mInflater.inflate(R.layout.menu_item, parent, false);
138 holder.text = (TextView) convertView.findViewById(R.id.menu_item_text);
139 holder.image = (AppMenuItemIcon) convertView.findViewById(R.id.menu_item_icon);
140 convertView.setTag(holder);
141 convertView.setTag(R.id.menu_item_enter_anim_id,
142 buildStandardItemEnterAnimator(convertView, position));
144 holder = (StandardMenuItemViewHolder) convertView.getTag();
147 convertView.setOnClickListener(new OnClickListener() {
[all …]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DSelectPopupAdapter.java49 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
56 convertView = super.getView(position, null, parent); in getView()
57 ((TextView) convertView).setText(mItems.get(position).getLabel()); in getView()
65 if (convertView instanceof CheckedTextView) { in getView()
66 ((CheckedTextView) convertView).setCheckMarkDrawable(null); in getView()
70 convertView.setEnabled(false); in getView()
73 return convertView; in getView()
DDateTimeSuggestionListAdapter.java30 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
31 View layout = convertView; in getView()
32 if (convertView == null) { in getView()
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
DSpinnerAdapter.java33 @Override public View getDropDownView(int position, View convertView, in getDropDownView() argument
35 return getCustomView(position, convertView, parent); in getDropDownView()
38 @Override public View getView(int position, View convertView, in getView() argument
40 return getCustomView(position, convertView, parent); in getView()
/external/replicaisland/src/com/replica/replicaisland/
DLevelSelectActivity.java129 public View getView (int position, View convertView, ViewGroup parent) { in getView() argument
132 if (convertView != null && convertView.getId() == mRowResource) { in getView()
133 sourceView = convertView; in getView()
139 if (convertView != null && convertView.getId() == mCompletedRowResource) { in getView()
140 sourceView = convertView; in getView()
146 if (convertView != null && convertView.getId() == mDisabledRowResource) { in getView()
147 sourceView = convertView; in getView()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSimpleCursorAdapter.java373 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
381 if (convertView == null) { in getView()
384 v = convertView; in getView()
391 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
395 if (convertView == null) { in getDropDownView()
398 v = convertView; in getDropDownView()
DShadowCursorAdapter.java49 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
55 if (convertView != null) { in getView()
56 return convertView; in getView()
DShadowArrayAdapter.java130 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
134 if (convertView == null) { in getView()
137 view = convertView; in getView()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
DAccessibilityTabModelAdapter.java128 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
134 if (convertView != null && convertView instanceof AccessibilityTabModelListItem) { in getView()
135 listItem = (AccessibilityTabModelListItem) convertView; in getView()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DTranslateLanguagePanel.java219 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
221 if (!(convertView instanceof TextView)) { in getDropDownView()
225 result = (TextView) convertView; in getDropDownView()
234 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
236 if (!(convertView instanceof TextView)) { in getView()
240 result = (TextView) convertView; in getView()
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DColorSuggestionListAdapter.java96 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
98 if (convertView != null && convertView instanceof LinearLayout) { in getView()
99 layout = (LinearLayout) convertView; in getView()
DDropdownAdapter.java56 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
57 View layout = convertView; in getView()
58 if (convertView == null) { in getView()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/share/
DShareDialogAdapter.java43 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
45 if (convertView == null) { in getView()
48 view = convertView; in getView()
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DAccountsAdapter.java28 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
37 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
DHostListAdapter.java31 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
32 TextView target = (TextView)super.getView(position, convertView, parent); in getView()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DNavigationPopup.java215 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
217 if (convertView != null && convertView instanceof TextView) { in getView()
218 view = (TextView) convertView; in getView()
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/
DSuggestionArrayAdapter.java32 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
33 View v = convertView; in getView()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCountingAdapter.java36 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
DBaseAdapterTest.java48 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
DListViewTest.java352 public View getView(int position, View convertView, ViewGroup parent) { in revalidate_withALazyAdapterShouldWork()
354 return super.getView(position, convertView, parent); in revalidate_withALazyAdapterShouldWork()
518 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
571 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
DAdapterViewBehavior.java185 public View getView(int position, View convertView, ViewGroup parent) { in shouldOnlyUpdateOnceIfInvalidatedMultipleTimes()
187 return super.getView(position, convertView, parent); in shouldOnlyUpdateOnceIfInvalidatedMultipleTimes()
DAbsSpinnerTest.java123 @Override public View getView(int position, View convertView, ViewGroup parent) { in getView() argument