Searched refs:writeInt (Results 1 - 25 of 49) sorted by relevance

12

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DOrderedDataOutputStream.java42 public void writeInt(int value) throws IOException { method in class:OrderedDataOutputStream
49 writeInt((int) rational.getNominator());
50 writeInt((int) rational.getDenominator());
H A DExifOutputStream.java148 dataOutputStream.writeInt(EXIF_HEADER);
157 dataOutputStream.writeInt(8);
196 dataOutputStream.writeInt(tag.getComponentCount());
198 dataOutputStream.writeInt(tag.getOffset());
206 dataOutputStream.writeInt(ifd.getOffsetToNextIfd());
226 dataOutputStream.writeInt(tag.getLong(i));
243 dataOutputStream.writeInt((int) tag.getUnsignedLong(i));
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfileData.java52 private byte mScratch[] = new byte[4]; // scratch space for writeInt()
106 writeInt(0);
107 writeInt(3);
108 writeInt(1);
109 writeInt(20000); // Sampling period: 20ms
110 writeInt(0);
116 writeInt(0);
117 writeInt(1);
118 writeInt(0);
132 writeInt(nod
161 private void writeInt(int v) throws IOException { method in class:ProfileData
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DPendingHandoverTransfer.java54 dest.writeInt(id);
55 dest.writeInt(incoming ? 1 : 0);
57 dest.writeInt(remoteActivating ? 1 : 0);
58 dest.writeInt(uris != null ? uris.length : 0);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarm.java53 p.writeInt(id);
54 p.writeInt(enabled ? 1 : 0);
55 p.writeInt(hour);
56 p.writeInt(minutes);
57 p.writeInt(daysOfWeek.getCoded());
59 p.writeInt(vibrate ? 1 : 0);
62 p.writeInt(silent ? 1 : 0);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java305 writeInt(buf, IH_MAGIC, MAGIC_INDEX_FILE);
306 writeInt(buf, IH_MAX_ENTRIES, maxEntries);
307 writeInt(buf, IH_MAX_BYTES, maxBytes);
308 writeInt(buf, IH_ACTIVE_REGION, 0);
309 writeInt(buf, IH_ACTIVE_ENTRIES, 0);
310 writeInt(buf, IH_ACTIVE_BYTES, DATA_HEADER_SIZE);
311 writeInt(buf, IH_VERSION, mVersion);
312 writeInt(buf, IH_CHECKSUM, checkSum(buf, 0, IH_CHECKSUM));
321 writeInt(buf, 0, MAGIC_DATA_FILE);
332 writeInt(mIndexHeade
655 static void writeInt(byte[] buf, int offset, int value) { method in class:BlobCache
[all...]
/packages/apps/Mms/src/com/android/mms/util/
H A DBlobCache.java304 writeInt(buf, IH_MAGIC, MAGIC_INDEX_FILE);
305 writeInt(buf, IH_MAX_ENTRIES, maxEntries);
306 writeInt(buf, IH_MAX_BYTES, maxBytes);
307 writeInt(buf, IH_ACTIVE_REGION, 0);
308 writeInt(buf, IH_ACTIVE_ENTRIES, 0);
309 writeInt(buf, IH_ACTIVE_BYTES, DATA_HEADER_SIZE);
310 writeInt(buf, IH_VERSION, mVersion);
311 writeInt(buf, IH_CHECKSUM, checkSum(buf, 0, IH_CHECKSUM));
320 writeInt(buf, 0, MAGIC_DATA_FILE);
331 writeInt(mIndexHeade
641 static void writeInt(byte[] buf, int offset, int value) { method in class:BlobCache
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsRequest.java146 dest.writeInt(mValid ? 1 : 0);
147 dest.writeInt(mActionCode);
150 dest.writeInt(mSearchMode ? 1 : 0);
152 dest.writeInt(mIncludeProfile ? 1 : 0);
153 dest.writeInt(mLegacyCompatibilityMode ? 1 : 0);
154 dest.writeInt(mDirectorySearchEnabled ? 1 : 0);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DSearchParams.java121 dest.writeInt(mIncludeChildren ? 1 : 0);
123 dest.writeInt(mLimit);
124 dest.writeInt(mOffset);
/packages/apps/Calculator/src/com/android/calculator2/
H A DPersist.java73 out.writeInt(LAST_VERSION);
74 out.writeInt(mDeleteMode);
H A DHistory.java67 out.writeInt(mEntries.size());
71 out.writeInt(mPos);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DPolicy.java460 dest.writeInt(mPasswordMode);
461 dest.writeInt(mPasswordMinLength);
462 dest.writeInt(mPasswordMaxFails);
463 dest.writeInt(mPasswordHistory);
464 dest.writeInt(mPasswordExpirationDays);
465 dest.writeInt(mPasswordComplexChars);
466 dest.writeInt(mMaxScreenLockTime);
467 dest.writeInt(mRequireRemoteWipe ? 1 : 0);
468 dest.writeInt(mRequireEncryption ? 1 : 0);
469 dest.writeInt(mRequireEncryptionExterna
[all...]
H A DMailbox.java611 dest.writeInt(mType);
612 dest.writeInt(mDelimiter);
614 dest.writeInt(mSyncLookback);
615 dest.writeInt(mSyncInterval);
617 dest.writeInt(mFlagVisible ? 1 : 0);
618 dest.writeInt(mFlags);
619 dest.writeInt(mVisibleLimit);
622 dest.writeInt(mUiSyncStatus);
623 dest.writeInt(mUiLastSyncResult);
625 dest.writeInt(mLastNotifiedMessageCoun
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DSetupData.java210 dest.writeInt(mFlowMode);
214 dest.writeInt(mCheckSettingsMode);
215 dest.writeInt(mAllowAutodiscover ? 1 : 0);
217 dest.writeInt(mAutoSetup ? 1 : 0);
218 dest.writeInt(mDefault ? 1 : 0);
/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepMessage.java134 output.writeInt(bytes.length + 4);
135 output.writeInt(mAcceptableLength);
137 output.writeInt(bytes.length);
/packages/apps/Settings/src/com/android/settings/
H A DBrightnessPreference.java320 dest.writeInt(automatic ? 1 : 0);
321 dest.writeInt(progress);
322 dest.writeInt(oldAutomatic ? 1 : 0);
323 dest.writeInt(oldProgress);
324 dest.writeInt(curBrightness);
H A DPointerSpeedPreference.java163 dest.writeInt(progress);
164 dest.writeInt(oldSpeed);
H A DAccessibilityEnableScriptInjectionPreference.java156 parcel.writeInt(mInjectionAllowed ? 1 : 0);
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushProtocol.java154 output.writeInt(mNumMessages);
158 output.writeInt(bytes.length);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DViewIdGenerator.java110 dest.writeInt(mNextId);
/packages/apps/Contacts/src/com/android/contacts/datepicker/
H A DDatePicker.java353 dest.writeInt(mYear);
354 dest.writeInt(mMonth);
355 dest.writeInt(mDay);
356 dest.writeInt(mHasYear ? 1 : 0);
357 dest.writeInt(mYearOptional ? 1 : 0);
/packages/apps/Gallery/src/com/android/camera/
H A DImageManager.java85 out.writeInt(mLocation.ordinal());
86 out.writeInt(mInclusion);
87 out.writeInt(mSort);
90 out.writeInt(mIsEmptyImageList ? 1 : 0);
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java54 p.writeInt(type);
59 p.writeInt(maxLines);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerObj.java147 dest.writeInt(mTimerId);
152 dest.writeInt(mState);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java172 writeInt(sizeBytes, 0, line.length);
260 private int writeInt(byte[] out, int pos, int value) { method in class:DictionaryBackupAgent

Completed in 7294 milliseconds

12