/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 38 private int mSelectedIndex; 196 mSelectedIndex = i; 257 mSelectedIndex = -1; 281 if (mSelectedIndex >= 0) { 282 mService.pickSuggestionManually(mSelectedIndex); 283 mSelectedIndex = -1; 290 if (mSelectedIndex >= 0) { 291 mService.pickSuggestionManually(mSelectedIndex); 294 mSelectedIndex = -1; 311 if (mSelectedIndex >= 0) [all...] |
/sdk/find_java2/src/ |
FindJava2Dlg.cpp | 32 : CDialog(CFindJava2Dlg::IDD, pParent), mSelectedIndex(-1) {
145 // Select item in list and set mSelectedIndex
151 // An item in the list has been selected, select checkmark and set mSelectedIndex.
178 if (oldChecked && !newChecked && index == mSelectedIndex) {
179 mSelectedIndex = -1;
181 } else if (!oldChecked && newChecked && index != mSelectedIndex) {
189 mSelectedIndex = index;
203 if (i == mSelectedIndex) {
220 mPathsListCtrl.SetCheck(index, mSelectedIndex == index);
230 // Side effect: in both cases, mSelectedIndex is set to the matching index or -1. [all...] |
FindJava2Dlg.h | 56 int mSelectedIndex;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SecondLevelIndicatorControlBar.java | 42 int mSelectedIndex = -1; 111 if ((mSelectedIndex != -1) && (index != mSelectedIndex)) { 112 View p = getChildAt(mSelectedIndex); 130 if (mSelectedIndex != index && action == MotionEvent.ACTION_MOVE) { 134 mSelectedIndex = index;
|
/frameworks/av/media/libstagefright/httplive/ |
M3UParser.cpp | 83 ssize_t mSelectedIndex; 90 mSelectedIndex(-1) { 131 mSelectedIndex = strtoul(value, &end, 10); 134 if (mSelectedIndex >= (ssize_t)mMediaItems.size()) { 135 mSelectedIndex = mMediaItems.size() - 1; 138 mSelectedIndex = 0; 145 mSelectedIndex = 0; 151 mSelectedIndex = -1; 159 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX; 174 if (mSelectedIndex == (ssize_t)index) [all...] |
M3UParser.h | 84 ssize_t mSelectedIndex;
|
/packages/apps/Settings/src/com/android/settings/ |
RestrictedListPreference.java | 147 private final int mSelectedIndex; 150 mSelectedIndex = selectedIndex; 164 if (mSelectedIndex != -1) { 165 text.setChecked(position == mSelectedIndex);
|
SmsDefaultDialog.java | 156 private final int mSelectedIndex; 167 mSelectedIndex = selected; 192 if (position == mSelectedIndex) { 223 return position == mSelectedIndex;
|
AppListPreference.java | 67 private int mSelectedIndex = 0; 72 mSelectedIndex = selectedIndex; 87 if (position == mSelectedIndex && position == mSystemAppIndex) { 89 } else if (position == mSelectedIndex) {
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
WallpaperPickerActivity.java | 76 private int mSelectedIndex = -1; 176 if (mSelectedIndex >= 0 && mSelectedIndex < mWallpapersView.getChildCount()) { 177 onClick(mWallpapersView.getChildAt(mSelectedIndex)); 279 mSelectedIndex = mWallpapersView.indexOfChild(v); 311 outState.putInt(SELECTED_INDEX, mSelectedIndex); 319 mSelectedIndex = savedInstanceState.getInt(SELECTED_INDEX, -1); 533 if (i == mSelectedIndex) { 542 mSelectedIndex = -1;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
GuidedStepFragment.java | 265 private int mSelectedIndex = -1; [all...] |
GuidedStepSupportFragment.java | 267 private int mSelectedIndex = -1; [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageGallery.java | 98 private int mSelectedIndex = GridViewSpecial.INDEX_NONE; 414 state.putInt(STATE_SELECTED_INDEX, mSelectedIndex); 422 mSelectedIndex = state.getInt(STATE_SELECTED_INDEX, 0); 633 mSelectedIndex = index; 743 mSelectedIndex = mAllImages.getImageIndex(image); 746 mGvs.setSelectedIndex(mSelectedIndex); 757 mGvs.scrollToVisible(mSelectedIndex); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterView.java | 304 private int mSelectedIndex; 565 mSelectedIndex = -1; 739 return mSelectedIndex >= 0 ? 740 getChildAt(expandableIndexFromAdapterIndex(mSelectedIndex)) : null; 758 return mSelectedIndex; [all...] |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |