/cts/tests/src/android/theme/cts/ |
OrientationSelectorActivity.java | 46 ListView lv = (ListView) findViewById(R.id.tests_list); local 48 lv.setAdapter( 51 lv.setOnItemClickListener(mTestClickedListener);
|
TestListActivity.java | 62 ListView lv = (ListView) findViewById(R.id.tests_list); local 63 lv.setAdapter(new ThemeTestAdapter(this, ThemeTests.getTests())); 65 lv.setOnItemClickListener(mTestClickedListener);
|
ThemeSelectorActivity.java | 45 ListView lv = (ListView) findViewById(R.id.tests_list); local 48 lv.setAdapter(new ThemesAdapter(this, mThemes)); 50 lv.setOnItemClickListener(mTestClickedListener);
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/ |
LayoutlibVersionTest.java | 29 LayoutlibVersion lv = new LayoutlibVersion(1, 2); local 30 assertEquals(1, lv.getApi()); 31 assertEquals(2, lv.getRevision());
|
SdkManagerTest.java | 35 LayoutlibVersion lv = ((PlatformTarget) t).getLayoutlibVersion(); local 36 assertNotNull(lv); 37 assertEquals(5, lv.getApi()); 38 assertEquals(2, lv.getRevision()); 40 assertSame(lv, sdkman.getMaxLayoutlibVersion());
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List15.java | 37 ListView lv = getListView(); local 38 lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL); 39 lv.setMultiChoiceModeListener(new ModeCallback());
|
List16.java | 39 ListView lv = getListView(); local 40 lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL); 41 lv.setMultiChoiceModeListener(new ModeCallback());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListButtonsDiagonalAcrossItemsTest.java | 57 final ListView lv = mListView; local 58 assertEquals("num children", 3, lv.getChildCount()); 60 assertEquals("selected position", 0, lv.getSelectedItemPosition());
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
TitlesFragment.java | 107 ListView lv = getListView(); local 108 lv.setCacheColorHint(Color.TRANSPARENT); // Improves scrolling performance 112 lv.setChoiceMode(ListView.CHOICE_MODE_SINGLE); 114 lv.setOnItemLongClickListener(new OnItemLongClickListener() { 169 ListView lv = getListView(); local 170 lv.setItemChecked(position, true);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
MiscFilesHandler.java | 68 ListView lv = getListView(); local 69 lv.setItemsCanFocus(true); 70 lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL); 71 lv.setMultiChoiceModeListener(new ModeCallback(this)); 95 ListView lv = getListView(); local 99 SparseBooleanArray checkedItems = lv.getCheckedItemPositions(); 134 lv.setItemChecked(i, true); 166 ListView lv = getListView(); local 167 int numChecked = lv.getCheckedItemCount(); 171 SparseBooleanArray checkedItems = lv.getCheckedItemPositions() [all...] |
/development/apps/Development/src/com/android/development/ |
PermissionDetails.java | 150 ListView lv= (ListView) findViewById(android.R.id.list); local 151 lv.setOnItemClickListener(this); 152 lv.setSaveEnabled(true); 153 lv.setItemsCanFocus(true);
|
EnterURL.java | 139 ListView lv = this.getListView(); local 140 lv.setSelection(0); 141 lv.requestFocus();
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 154 StickyHeaderListView lv = local 156 if (lv != null) { 158 lv.setAdapter(a); 160 lv.setIndexer((HeaderIndexer) ((HeaderViewListAdapter)a).getWrappedAdapter()); 162 lv.setIndexer((HeaderIndexer) a); 169 lv.setOnScrollListener(this);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextSwitcherTest.java | 210 ListView lv = new ListView(mContext); local 213 textSwitcher.addView(lv, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
|
CheckedTextViewTest.java | 124 final ListView lv = (ListView) mActivity.findViewById(R.id.checkedtextview_listview); local 128 lv.setAdapter(new CheckedTextViewAdapter()); 130 lv.setChoiceMode(ListView.CHOICE_MODE_SINGLE); 131 lv.setItemChecked(1, true); 136 assertEquals(1, lv.getCheckedItemPosition()); 137 assertTrue(lv.isItemChecked(1)); 138 assertFalse(lv.isItemChecked(0)); 140 ListAdapter adapter = lv.getAdapter(); 150 lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); 151 lv.setItemChecked(2, true) 207 final CheckedTextView lv local [all...] |
TabHost_TabSpecTest.java | 240 final ListView lv = new ListView(mActivity); local 241 return lv;
|
/external/mesa3d/src/glsl/ |
loop_analysis.cpp | 79 loop_variable *lv = hieralloc_zero(mem_ctx, loop_variable); local 81 lv->var = var; 83 hash_table_insert(this->var_hash, lv, lv->var); 84 this->variables.push_tail(lv); 86 return lv; 164 loop_variable *lv = ls->get(var); local 166 if (lv == NULL) { 167 lv = ls->insert(var); 168 lv->read_before_write = !this->in_assignee 226 loop_variable *lv = (loop_variable *) node; local 256 loop_variable *lv = (loop_variable *) node; local 282 loop_variable *lv = (loop_variable *) node; local 382 loop_variable *lv = local 440 loop_variable *lv = local [all...] |
loop_controls.cpp | 241 loop_variable *lv = (loop_variable *) iv_node; local 243 if (lv->var == var) { 245 lv->increment, 254 ir->increment = lv->increment->clone(ir, NULL); 255 ir->counter = lv->var;
|
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.java | 161 final ListView lv = (ListView) View.inflate(this, R.layout.cert_chooser, null); local 162 lv.addHeaderView(contextView, null, false); 163 lv.addFooterView(footer, null, false); 164 lv.setAdapter(adapter); 165 builder.setView(lv); 187 lv.setItemChecked(listViewPosition, true); 193 lv.setItemChecked(listViewPosition, true); 198 int listViewPosition = lv.getCheckedItemPosition(); 307 ListView lv = (ListView)parent; local 308 int listViewCheckedItemPosition = lv.getCheckedItemPosition() [all...] |
/packages/apps/Phone/src/com/android/phone/ |
RespondViaSmsManager.java | 111 ListView lv = new ListView(mInCallScreen); local 131 lv.setAdapter(adapter); 162 lv.setOnItemClickListener(new RespondViaSmsItemClickListener(phoneNumber)); 167 .setView(lv);
|
/packages/apps/Email/src/com/android/email/activity/ |
MailboxListFragment.java | 445 final ListView lv = getListView(); local 446 lv.setOnItemClickListener(this); 447 lv.setChoiceMode(ListView.CHOICE_MODE_SINGLE); 448 lv.setOnDragListener(this); 795 final ListView lv = getListView(); local 801 listState = lv.onSaveInstanceState(); 818 lv.onRestoreInstanceState(listState); 892 final ListView lv = getListView(); local 908 Utility.listViewSmoothScrollToPosition(getActivity(), lv, i); local 926 final ListView lv = getListView(); local 959 final ListView lv = getListView(); local 1058 final ListView lv = getListView(); local [all...] |
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadList.java | 306 ListView lv = mDownloadList.getCurrentView(); local 307 SparseBooleanArray checkedPositionList = lv.getCheckedItemPositions(); 313 lv.setItemChecked(position, false); 433 ListView lv = activeListView(); local 434 lv.setVisibility(View.VISIBLE); 435 lv.invalidateViews(); // ensure checkboxes get updated
|
/packages/apps/Settings/src/com/android/settings/ |
TrustedCredentialsSettings.java | 160 ListView lv = (ListView) mTabHost.findViewById(tab.mList); local 162 lv.setAdapter(adapter); 163 lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 33 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment); local 38 if (lv.isObjCStrong()) 41 else if (lv.isObjCWeak()) 45 CGF.EmitScalarInit(Init, &D, lv, false); 47 CGF.EmitComplexExprIntoAddr(Init, DeclPtr, lv.isVolatile()); 49 CGF.EmitAggExpr(Init, AggValueSlot::forLValue(lv, true));
|
/external/dhcpcd/ |
if-options.c | 132 size_t i = 0, l, lv; local 149 lv = strlen(p); 150 lst[i] = xrealloc(lst[i], l + lv + 2); 152 memcpy(lst[i] + l + 1, p, lv); 153 lst[i][l + lv + 1] = '\0';
|