/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSetSlidingWindow.java | 120 public AlbumSetEntry get(int slotIndex) { in get() argument 121 if (!isActiveSlot(slotIndex)) { in get() 123 slotIndex, mActiveStart, mActiveEnd); in get() 125 return mData[slotIndex % mData.length]; in get() 132 public boolean isActiveSlot(int slotIndex) { in isActiveSlot() argument 133 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot() 210 private void requestImagesInSlot(int slotIndex) { in requestImagesInSlot() argument 211 if (slotIndex < mContentStart || slotIndex >= mContentEnd) return; in requestImagesInSlot() 212 AlbumSetEntry entry = mData[slotIndex % mData.length]; in requestImagesInSlot() 217 private void cancelImagesInSlot(int slotIndex) { in cancelImagesInSlot() argument [all …]
|
D | AlbumSlidingWindow.java | 114 public AlbumEntry get(int slotIndex) { in get() argument 115 if (!isActiveSlot(slotIndex)) { in get() 117 slotIndex, mActiveStart, mActiveEnd); in get() 119 return mData[slotIndex % mData.length]; in get() 122 public boolean isActiveSlot(int slotIndex) { in isActiveSlot() argument 123 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot() 226 private boolean requestSlotImage(int slotIndex) { in requestSlotImage() argument 227 if (slotIndex < mContentStart || slotIndex >= mContentEnd) return false; in requestSlotImage() 228 AlbumEntry entry = mData[slotIndex % mData.length]; in requestSlotImage() 248 private void cancelSlotImage(int slotIndex) { in cancelSlotImage() argument [all …]
|
D | SlotView.java | 197 public Rect getSlotRect(int slotIndex) { in getSlotRect() argument 198 return mLayout.getSlotRect(slotIndex, new Rect()); in getSlotRect() 344 abstract public void apply(GLCanvas canvas, int slotIndex, Rect target); in apply() argument 351 public void apply(GLCanvas canvas, int slotIndex, Rect target) { in apply() argument 365 public void apply(GLCanvas canvas, int slotIndex, Rect target) { in apply() argument 369 slotIndex * PHOTO_DISTANCE * (1 - mProgress)); in apply() 741 public Rect getSlotRect(int slotIndex, GLView rootPane) { in getSlotRect() argument 745 Rect r = getSlotRect(slotIndex); in getSlotRect()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumPage.java | 251 private void onSingleTapUp(int slotIndex) { in onSingleTapUp() argument 255 MediaItem item = mAlbumDataAdapter.get(slotIndex); in onSingleTapUp() 261 mAlbumView.setPressedIndex(slotIndex); in onSingleTapUp() 263 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_PICK_PHOTO, slotIndex, 0), in onSingleTapUp() 268 private void pickPhoto(int slotIndex) { in pickPhoto() argument 269 pickPhoto(slotIndex, false); in pickPhoto() 272 private void pickPhoto(int slotIndex, boolean startInFilmstrip) { in pickPhoto() argument 280 MediaItem item = mAlbumDataAdapter.get(slotIndex); in pickPhoto() 289 transitions.put(PhotoPage.KEY_INDEX_HINT, slotIndex); in pickPhoto() 295 data.putInt(PhotoPage.KEY_INDEX_HINT, slotIndex); in pickPhoto() [all …]
|
D | AlbumSetPage.java | 180 private void getSlotCenter(int slotIndex, int center[]) { in getSlotCenter() argument 183 Rect r = mSlotView.getSlotRect(slotIndex); in getSlotCenter() 190 public void onSingleTapUp(int slotIndex) { in onSingleTapUp() argument 194 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in onSingleTapUp() 200 mAlbumSetView.setPressedIndex(slotIndex); in onSingleTapUp() 202 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_PICK_ALBUM, slotIndex, 0), in onSingleTapUp() 237 private void pickAlbum(int slotIndex) { in pickAlbum() argument 240 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in pickAlbum() 252 getSlotCenter(slotIndex, center); in pickAlbum() 267 mSlotView.getSlotRect(slotIndex, mRootPane)); in pickAlbum() [all …]
|
D | AlbumSetDataLoader.java | 164 private void clearSlot(int slotIndex) { in clearSlot() argument 165 mData[slotIndex] = null; in clearSlot() 166 mCoverItem[slotIndex] = null; in clearSlot() 167 mTotalCount[slotIndex] = 0; in clearSlot() 168 mItemVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot() 169 mSetVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot()
|
D | AlbumDataLoader.java | 152 private void clearSlot(int slotIndex) { in clearSlot() argument 153 mData[slotIndex] = null; in clearSlot() 154 mItemVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot() 155 mSetVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot()
|
D | ManageCachePage.java | 157 public void onSingleTapUp(int slotIndex) { in onSingleTapUp() argument 158 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in onSingleTapUp() 308 public void onSingleTapUp(int slotIndex) { in initializeViews() 309 ManageCachePage.this.onSingleTapUp(slotIndex); in initializeViews()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 1865 public int getCallStateForSlot(int slotIndex) { in getCallStateForSlot() argument 1868 Phone phone = PhoneFactory.getPhone(slotIndex); in getCallStateForSlot() 2184 public String getImeiForSlot(int slotIndex, String callingPackage) { in getImeiForSlot() argument 2185 Phone phone = PhoneFactory.getPhone(slotIndex); in getImeiForSlot() 2204 public String getTypeAllocationCodeForSlot(int slotIndex) { in getTypeAllocationCodeForSlot() argument 2205 Phone phone = PhoneFactory.getPhone(slotIndex); in getTypeAllocationCodeForSlot() 2215 public String getMeidForSlot(int slotIndex, String callingPackage) { in getMeidForSlot() argument 2216 Phone phone = PhoneFactory.getPhone(slotIndex); in getMeidForSlot() 2236 public String getManufacturerCodeForSlot(int slotIndex) { in getManufacturerCodeForSlot() argument 2237 Phone phone = PhoneFactory.getPhone(slotIndex); in getManufacturerCodeForSlot() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 160 private boolean isValidSlotIndex(int slotIndex, TelephonyManager telephonyManager) { in isValidSlotIndex() argument 161 return slotIndex >= 0 && slotIndex < telephonyManager.getPhoneCount(); in isValidSlotIndex()
|
D | ImeiInfoPreferenceController.java | 162 private int getPhoneType(int slotIndex) { in getPhoneType() argument 164 .getActiveSubscriptionInfoForSimSlotIndex(slotIndex); in getPhoneType()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimSelectNotification.java | 62 int slotIndex = SubscriptionManager.getSlotIndex(subId); in onReceive() local 67 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in onReceive()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSelectNotification.java | 166 int slotIndex = SubscriptionManager.getSlotIndex(subId); in startSimSelectDialogIfNeeded() local 172 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
|