/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | DialogActivity.java | 236 int count = getFragmentManager().getBackStackEntryCount(); 237 if (count > 0 && count < mLastBackStackCount && DialogActivity.BACKSTACK_NAME_DIALOG.equals( 238 getFragmentManager().getBackStackEntryAt(count - 1).getName())) { 241 mLastBackStackCount = count;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | LegacyApiSupport.java | 919 int count = 0; 922 count = 0; // No longer supported. 942 count = updateAll(uri, match, values, selection, selectionArgs); 946 if (count > 0) { 950 return count; 960 int count = 0; 964 count += update(match, id, values); 970 return count; 974 int count = 0; 978 count [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
H A D | misctest.cpp | 86 unsigned count = 1;
local 89 count++;
91 return count;
95 unsigned count = 1;
local 98 count += 4;
100 if (n < 10) return count;
101 if (n < 100) return count + 1;
102 if (n < 1000) return count + 2;
103 return count + 3;
107 unsigned count local [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | MissedCallNotifier.java | 91 * @param count the number of missed calls to display if call log cannot be accessed. May be 98 void updateMissedCallNotification(int count, @Nullable String number) { argument 104 if ((newCalls != null && newCalls.isEmpty()) || count == 0) { 112 if (count != CallLogNotificationsService.UNKNOWN_MISSED_CALL_COUNT 113 && count != newCalls.size()) { 116 "Call count does not match call log count." 117 + " count: " 118 + count 122 count [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
H A D | SecurityPolicyTests.java | 160 // fail count and lock timer - min logic - will *not* change because larger #s here 186 // fail count and lock timer - min logic - will change because smaller #s here 411 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI)); 412 assertEquals(2, EmailContent.count(mMockContext, Mailbox.CONTENT_URI)); 413 assertEquals(4, EmailContent.count(mMockContext, Message.CONTENT_URI)); 429 assertEquals(3, EmailContent.count(mMockContext, Account.CONTENT_URI)); 430 assertEquals(3, EmailContent.count(mMockContext, Mailbox.CONTENT_URI)); 431 assertEquals(6, EmailContent.count(mMockContext, Message.CONTENT_URI)); 437 assertEquals(3, EmailContent.count(mMockContext, Account.CONTENT_URI)); 438 assertEquals(2, EmailContent.count(mMockContex [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
H A D | StrequentsItemAnimator.java | 537 int count = mPendingMoves.size(); 538 for (int i = count - 1; i >= 0; i--) { 546 count = mPendingRemovals.size(); 547 for (int i = count - 1; i >= 0; i--) { 552 count = mPendingAdditions.size(); 553 for (int i = count - 1; i >= 0; i--) { 560 count = mPendingChanges.size(); 561 for (int i = count - 1; i >= 0; i--) { 572 count = moves.size(); 573 for (int j = count [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactBrowseListFragment.java | 438 int count = adapter.getPartitionCount(); 439 for (int i = 0; i < count; i++) { 547 int count = adapter.getCount(); 549 if (pos >= count && count > 0) { 550 pos = count - 1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterDrawRepresentation.java | 320 int count = 0; 368 int count = 0; 371 if ((count + 1) > stroke.mPoints.length) { 372 stroke.mPoints = Arrays.copyOf(stroke.mPoints, count * 2); 374 stroke.mPoints[count++] = (float) sreader.nextDouble(); 378 for (int i = 0; i < count; i += 2) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
H A D | DashboardDataTest.java | 339 public void onInserted(int position, int count) { argument 340 mResultData.add(new ResultData(ResultData.TYPE_OPERATION_INSERT, position, count)); 344 public void onRemoved(int position, int count) { argument 345 mResultData.add(new ResultData(ResultData.TYPE_OPERATION_REMOVE, position, count)); 355 public void onChanged(int position, int count, Object payload) { argument 356 mResultData.add(new ResultData(ResultData.TYPE_OPERATION_CHANGE, position, count)); 365 * "The data starts from position(arg1) with count number(arg2) is changed(operation)"
|
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | MenuLayoutManager.java | 132 int count = mMenuRowViews.size(); 145 for (int i = 0; i < count; ++i) { 170 int count = mMenuRowViews.size(); 171 for (int i = start + 1; i < count; ++i) { 258 int count = mMenuRowViews.size(); 269 for (; position < count; ++position) { 299 for (++position; position < count; ++position) { 571 int count = mMenuRowViews.size(); 572 for (int i = 0; i < count; ++i) { 662 int count [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastSearchIndexableProvider.java | 52 final int count = INDEXABLE_RES.length; 53 for (int n = 0; n < count; n++) {
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
H A D | MessageComposerFragment.java | 101 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument 104 public void onTextChanged(CharSequence s, int start, int before, int count) {} argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
H A D | MimeHeader.java | 152 for (int i = 0, count = a.length; i < count; i++) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | EditQuickResponseDialog.java | 95 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} 98 public void onTextChanged(CharSequence s, int start, int before, int count) {}
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
H A D | AllAppsSearchBarController.java | 79 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 84 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | FolderPagedView.java | 120 * Calculates the grid size such that {@param count} items can fit in the grid. 121 * The grid size is calculated such that countY <= countX and countX = ceil(sqrt(count)) while 124 public static void calculateGridSize(int count, int countX, int countY, int maxCountX, argument 130 if (count >= maxItemsPerPage) { 141 if (gridCountX * gridCountY < count) { 150 } else if ((gridCountY - 1) * gridCountX >= count && gridCountY >= gridCountX) { 152 } else if ((gridCountX - 1) * gridCountY >= count) { 163 * Sets up the grid size such that {@param count} items can fit in the grid. 165 public void setupContentDimensions(int count) { argument 166 mAllocatedContentSize = count; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ZoomControl.java | 212 int count = getChildCount(); 213 for (int i = 0 ; i < count ; ++i) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | DatabaseWrapper.java | 344 int count = 0; 346 count = mDatabase.update(table, values, selection, selectionArgs); 353 table, selection, count)); 355 return count; 364 int count = 0; 366 count = mDatabase.delete(table, whereClause, whereArgs); 374 whereClause, count)); 376 return count;
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | CharacterSets.java | 408 final int count = MIBENUM_NUMBERS.length - 1; 409 for (int i = 0; i <= count; i++) {
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | SettingsInitialize.java | 77 final int count = resolvedIntents.size(); 78 for (int i = 0; i < count; i++) {
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountSyncSettings.java | 258 final int count = getPreferenceScreen().getPreferenceCount(); 259 for (int i = 0; i < count; i++) { 369 int count = getPreferenceScreen().getPreferenceCount(); 370 for (int i = 0; i < count; i++) { 429 for (int i = 0, count = getPreferenceScreen().getPreferenceCount(); i < count; i++) { 504 final int count = accounts.length; 505 for (int i = 0; i < count; i++) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothNameDialogFragment.java | 181 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 185 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
H A D | MetricsFeatureProvider.java | 88 public void count(Context context, String name, int value) { method in class:MetricsFeatureProvider 90 writer.count(context, name, value);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/ |
H A D | WakeupAlarmAnomalyDetector.java | 134 int count = alarm.getValue().getCountLocked(BatteryStats.STATS_SINCE_CHARGED); 135 wakeups += count;
|
/packages/apps/Settings/src/com/android/settings/network/ |
H A D | NetworkScorerPicker.java | 125 final int count = screen.getPreferenceCount(); 126 for (int i = 0; i < count; i++) {
|