Home
last modified time | relevance | path

Searched refs:toArray (Results 1 – 25 of 104) sorted by relevance

12345

/packages/apps/Gallery2/tests/src/com/android/gallery3d/util/
DIntArrayTest.java34 assertTrue(Arrays.equals(new int[] {}, a.toArray(null))); in testIntArray()
38 assertTrue(Arrays.equals(new int[] {0}, a.toArray(null))); in testIntArray()
42 assertTrue(Arrays.equals(new int[] {0, 1}, a.toArray(null))); in testIntArray()
45 int[] result = a.toArray(buf); in testIntArray()
54 result = b.toArray(buf); in testIntArray()
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java101 if (mIconIds != null) mIconIds = iconIds.toArray(new int[iconIds.size()]); in filterUnsupported()
103 mLargeIconIds = largeIconIds.toArray(new int[largeIconIds.size()]); in filterUnsupported()
105 if (mImageIds != null) mImageIds = imageIds.toArray(new int[imageIds.size()]); in filterUnsupported()
DListPreference.java157 mEntries = entries.toArray(new CharSequence[size]); in filterUnsupported()
158 mEntryValues = entryValues.toArray(new CharSequence[size]); in filterUnsupported()
DIntArray.java38 public int[] toArray(int[] result) { in toArray() method in IntArray
/packages/apps/Camera/src/com/android/camera/
DIconListPreference.java108 if (mIconIds != null) mIconIds = iconIds.toArray(new int[iconIds.size()]); in filterUnsupported()
110 mLargeIconIds = largeIconIds.toArray(new int[largeIconIds.size()]); in filterUnsupported()
112 if (mImageIds != null) mImageIds = imageIds.toArray(new int[imageIds.size()]); in filterUnsupported()
DListPreference.java157 mEntries = entries.toArray(new CharSequence[size]); in filterUnsupported()
158 mEntryValues = entryValues.toArray(new CharSequence[size]); in filterUnsupported()
171 mEntries = entries.toArray(new CharSequence[size]); in filterDuplicated()
172 mEntryValues = entryValues.toArray(new CharSequence[size]); in filterDuplicated()
DIntArray.java38 public int[] toArray(int[] result) { in toArray() method in IntArray
/packages/apps/Browser/src/com/android/browser/search/
DSearchEnginePreference.java58 setEntryValues(entryValues.toArray(new CharSequence[entryValues.size()])); in SearchEnginePreference()
59 setEntries(entries.toArray(new CharSequence[entries.size()])); in SearchEnginePreference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboard.java137 mKeys = params.mKeys.toArray(new Key[params.mKeys.size()]); in Keyboard()
138 mShiftKeys = params.mShiftKeys.toArray(new Key[params.mShiftKeys.size()]); in Keyboard()
139 mAltCodeKeysWhileTyping = params.mAltCodeKeysWhileTyping.toArray( in Keyboard()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerTester.java79 File[] fa = wavFiles.toArray(new File[wavFiles.size()]); in VoiceDialerTester()
87 mWavDirs = wavDirs.toArray(new File[wavDirs.size()]); in VoiceDialerTester()
184 String[] names = set.toArray(new String[set.size()]); in reportSummaryForEachFileName()
204 String[] names = set.toArray(new String[set.size()]); in reportSummaryForEachDir()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapUtility.java90 return list.toArray(stringList); in getImapSequenceValues()
125 return list.toArray(stringList); in getImapRangeValues()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApEnabler.java67 updateTetherState(available.toArray(), active.toArray(), errored.toArray());
/packages/apps/Mms/src/com/android/mms/model/
DSlideModel.java352 public Object[] toArray() { in toArray() method in SlideModel
353 return mMedia.toArray(); in toArray()
356 public <T> T[] toArray(T[] array) { in toArray() method in SlideModel
357 return mMedia.toArray(array); in toArray()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java212 prefs.getStringSet(PREF_TIMERS_LIST, new HashSet<String>()).toArray(); in getTimersFromSharedPrefs()
232 .toArray(); in getTimersFromSharedPrefs()
258 prefs.getStringSet(PREF_TIMERS_LIST, new HashSet<String>()).toArray(); in dumpTimersFromSharedPrefs()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DSelectionBuilder.java61 return DbQueryUtils.concatenateClauses(mWhereClauses.toArray(EMPTY_STRING_ARRAY)); in build()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DIntArray.java39 public int[] toArray(int[] result) { in toArray() method in IntArray
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DMockActivityManager.java40 return mPackageUsageStats.values().toArray(new PkgUsageStats[mPackageUsageStats.size()]); in getAllPackageUsageStats()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTweener.java104 props.toArray(new PropertyValuesHolder[props.size()])); in to()
171 props.toArray(new PropertyValuesHolder[props.size()])); in replace()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitiesActivity.java180 mSectionHeaders = sections.toArray(); in loadCitiesDataBase()
181 mSectionPositions = positions.toArray(); in loadCitiesDataBase()
182 mAllTheCitiesList = items.toArray(); in loadCitiesDataBase()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.java69 batch = nextTasks.toArray(batch); in executeNextBatch()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DIfdData.java51 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]); in getAllTags()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java150 segments.toArray(result); in split()
179 segments.toArray(result); in splitSequence()
DBucketHelper.java134 BucketEntry[] entries = buckets.values().toArray(new BucketEntry[buckets.size()]); in loadBucketEntriesFromImagesAndVideoTable()
179 return buffer.toArray(new BucketEntry[buffer.size()]); in loadBucketEntriesFromFilesTable()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java78 profiles.toArray(SUPPORTED_PROFILES); in init()
/packages/apps/Contacts/src/com/android/contacts/list/
DProfileAndContactsLoader.java61 return new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) { in loadInBackground()

12345