/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | BasicParameterStyle.java | 93 public void getIcon(int index, BitmapCaller caller) { argument 94 mEditor.computeIcon(index, caller); 98 public String getStyleTitle(int index, Context context) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | LocalPhotoSource.java | 87 public Uri getContentUri(int index) { argument 88 if (index < mPhotos.size()) { 90 .appendPath(String.valueOf(mPhotos.get(index))) 97 public Bitmap getImage(int index) { argument 98 if (index >= mPhotos.size()) return null; 99 long id = mPhotos.get(index); 116 int index = 0; 118 values[index++] = value; 174 for (int index : choosedIds) { 175 if (cursor.moveToPosition(index)) { [all...] |
H A D | MediaSetSource.java | 65 public Bitmap getImage(int index) { argument 66 return mSource.getImage(index); 70 public Uri getContentUri(int index) { argument 71 return mSource.getContentUri(index); 147 private void ensureCacheRange(int index) { argument 148 if (index >= mCacheStart && index < mCacheEnd) return; 152 mCacheStart = index; 162 public synchronized Uri getContentUri(int index) { argument 163 ensureCacheRange(index); 169 getImage(int index) argument 215 getImage(int index) argument 220 getContentUri(int index) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
H A D | MtpAdapter.java | 58 public void setMtpDeviceIndex(MtpDeviceIndex index) { argument 59 mModel = index;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ManageCacheDrawer.java | 65 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { argument 66 AlbumSetEntry entry = mDataWindow.get(index); 89 renderRequestFlags |= renderOverlay(canvas, index, entry, width, height);
|
H A D | PhotoFallbackEffect.java | 38 public int index; field in class:PhotoFallbackEffect.Entry 52 public Rect getPosition(int index); argument 84 if (entry.index < 0) continue; 85 entry.dest = mPositionProvider.getPosition(entry.index); 166 entry.index = mPositionProvider.getItemIndex(entry.path); 172 public boolean acceptSlot(int index) { argument 175 if (entry.index == index) return false;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | FocusHelper.java | 119 * Returns the Viewgroup containing page contents for the page at the index specified. 121 private static ViewGroup getAppsCustomizePage(ViewGroup container, int index) { argument 122 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); 555 * Private helper method to get the CellLayoutChildren given a CellLayout index. 589 * Private helper method to find the index of the next BubbleTextView or FolderIcon in the 633 int index = views.indexOf(v); 635 while (index != endIndex) { 636 View newV = views.get(index); 644 closestIndex = index; 648 if (index < [all...] |
H A D | PagedViewGridLayout.java | 109 public void removeViewOnPageAt(int index) { argument 110 removeViewAt(index);
|
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/ |
H A D | ExtractedColors.java | 93 public void setColorAtIndex(int index, int color) { argument 94 if (index > VERSION_INDEX && index < mColors.length) { 95 mColors[index] = color; 97 Log.e(TAG, "Attempted to set a color at an invalid index " + index); 133 /** @param index must be one of the index values defined at the top of this class. */ 134 public int getColor(int index) { argument 135 return mColors[index]; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | ClippedFolderIconLayoutRule.java | 35 public PreviewItemDrawingParams computePreviewItemDrawingParams(int index, int curNumItems, argument 37 float totalScale = scaleForItem(index, curNumItems); 42 if (index == getExitIndex()) { 46 } else if (index == getEnterIndex()) { 50 } else if (index >= MAX_NUM_ITEMS_IN_PREVIEW) { 54 getPosition(index, curNumItems, mTmpPoint); 90 private void getPosition(int index, int curNumItems, float[] result) { argument 112 if (curNumItems == 4 && index == 3) { 113 index = 2; 114 } else if (curNumItems == 4 && index 134 scaleForItem(int index, int numItems) argument [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ListPreference.java | 121 public void setValueIndex(int index) { argument 122 setValue(mEntryValues[index].toString());
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | EffectSettingPopup.java | 184 int index, long id) { 187 value = (String) mSillyFacesItem.get(index).get("value"); 189 value = (String) mBackgroundItem.get(index).get("value"); 183 onItemClick(AdapterView<?> parent, View view, int index, long id) argument
|
H A D | ZoomControlBar.java | 154 public void setZoomIndex(int index) { argument 155 super.setZoomIndex(index);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
H A D | TermsListAdapter.java | 154 private TermsDocument getDisclaimer(int index) { argument 155 return mTermsDocuments.get(index);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
H A D | DisclaimersParserTest.java | 174 private static String getDisclaimerPath(int index) { argument 176 "disclaimer_content_" + TEST_PROVISIONING_ID + "_" + ( index - 1 ) + ".txt")
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | SmsStorageLowWarningFragment.java | 232 * @param index The action index 235 private String getConfirmDialogMessage(final int index) { argument 236 switch (index) { 246 "SmsStorageLowWarningFragment: invalid action index " + index);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
H A D | ActionTest.java | 64 private void verifyTransition(final int index, final int from, final int to) { argument 65 assertTrue(mTransitions.size() > index); 66 assertEquals(mAction, mTransitions.get(index).action); 67 assertEquals(from, mTransitions.get(index).from); 68 assertEquals(to, mTransitions.get(index).to);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | LevenshteinDistance.java | 185 public char charAt(int index) { argument 186 return mContainer[index + mStart];
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | PreviewSeekBarPreferenceFragment.java | 178 protected abstract Configuration createConfig(Configuration origConfig, int index); argument 185 private void setPreviewLayer(int index, boolean animate) { argument 186 mLabel.setText(mEntries[index]); 187 mSmaller.setEnabled(index > 0); 188 mLarger.setEnabled(index < mEntries.length - 1); 190 mPreviewPagerAdapter.setPreviewLayer(index, mCurrentIndex, 193 mCurrentIndex = index;
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
H A D | DndCondition.java | 128 public void onActionClick(int index) { argument 129 if (index == 0) { 135 throw new IllegalArgumentException("Unexpected index " + index);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/conditional/ |
H A D | ConditionTest.java | 151 public void onActionClick(int index) { argument
|
/packages/apps/TV/src/com/android/exoplayer/ |
H A D | MediaSoftwareCodecUtil.java | 155 * Returns the info at the specified index in the list. 157 * @param index The index. 159 MediaCodecInfo getCodecInfoAt(int index); argument 194 public MediaCodecInfo getCodecInfoAt(int index) { argument 196 return mediaCodecInfos[index]; 228 public MediaCodecInfo getCodecInfoAt(int index) { argument 229 return MediaCodecList.getCodecInfoAt(index);
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ |
H A D | FileSampleExtractor.java | 107 public void selectTrack(int index) { argument 108 mSampleBuffer.selectTrack(index); 112 public void deselectTrack(int index) { argument 113 mSampleBuffer.deselectTrack(index);
|
H A D | SampleExtractor.java | 62 /** Selects the track at {@code index} for reading sample data. */ 63 void selectTrack(int index); argument 65 /** Deselects the track at {@code index}, so no more samples will be read from that track. */ 66 void deselectTrack(int index); argument 92 * Reads the next sample in the track at index {@code track} into {@code sampleHolder}, returning 97 * @param track the index of the track from which to read a sample
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
H A D | SimpleSampleBuffer.java | 72 public void selectTrack(int index) { argument 74 if (mPlayingSampleQueues[index] == null) { 75 mPlayingSampleQueues[index] = new SampleQueue(mSamplePool); 77 mPlayingSampleQueues[index].clear(); 83 public void deselectTrack(int index) { argument 85 if (mPlayingSampleQueues[index] != null) { 86 mPlayingSampleQueues[index].clear(); 87 mPlayingSampleQueues[index] = null; 127 public void writeSample(int index, SampleHolder sample, argument 138 if (mPlayingSampleQueues[index] ! [all...] |