Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherBackupHelper.java352 int dataSize = data.size(); in restoreEntity() local
353 if (mBuffer.length < dataSize) { in restoreEntity()
354 mBuffer = new byte[dataSize]; in restoreEntity()
357 int bytesRead = data.read(mBuffer, 0, dataSize); in restoreEntity()
358 if (DEBUG) Log.d(TAG, "read " + bytesRead + " of " + dataSize + " available"); in restoreEntity()
371 MessageNano.mergeFrom(journal, readCheckedBytes(mBuffer, dataSize)); in restoreEntity()
385 restoreFavorite(key, mBuffer, dataSize); in restoreEntity()
389 restoreScreen(key, mBuffer, dataSize); in restoreEntity()
393 restoreIcon(key, mBuffer, dataSize); in restoreEntity()
397 restoreWidget(key, mBuffer, dataSize); in restoreEntity()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java244 long dataSize = mAppEntry.dataSize; in refreshSizeInfo() local
247 dataSize += mAppEntry.externalDataSize; in refreshSizeInfo()
262 if (mLastDataSize != dataSize) { in refreshSizeInfo()
263 mLastDataSize = dataSize; in refreshSizeInfo()
264 mDataSize.setSummary(getSizeStr(dataSize)); in refreshSizeInfo()
276 if ((mAppEntry.dataSize+ mAppEntry.externalDataSize) <= 0 || !mCanClearData) { in refreshSizeInfo()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp611 size_t dataSize = 0; in com_android_terminal_Terminal_nativeGetCellRun() local
630 if (dataSize + size <= data.size()) { in com_android_terminal_Terminal_nativeGetCellRun()
632 data[dataSize++] = rawCell; in com_android_terminal_Terminal_nativeGetCellRun()
634 data[dataSize++] = (((rawCell - 0x10000) >> 10) & 0x3ff) + 0xd800; in com_android_terminal_Terminal_nativeGetCellRun()
635 data[dataSize++] = ((rawCell - 0x10000) & 0x3ff) + 0xdc00; in com_android_terminal_Terminal_nativeGetCellRun()
639 data[dataSize++] = ' '; in com_android_terminal_Terminal_nativeGetCellRun()
649 env->SetIntField(run, cellRunDataSizeField, dataSize); in com_android_terminal_Terminal_nativeGetCellRun()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.h32 const int dataSize) in SparseTable() argument
34 mBlockSize(blockSize), mDataSize(dataSize) {} in SparseTable()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifParser.java552 int dataSize = tag.getDataSize(); in readTag() local
553 if (dataSize > 4) { in readTag()
576 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java550 int dataSize = tag.getDataSize(); in readTag() local
551 if (dataSize > 4) { in readTag()
574 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifParser.java550 int dataSize = tag.getDataSize(); in readTag() local
551 if (dataSize > 4) { in readTag()
574 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifParser.java550 int dataSize = tag.getDataSize(); in readTag() local
551 if (dataSize > 4) { in readTag()
574 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppInfo.java114 return Formatter.formatFileSize(mContext, mEntry.dataSize + mEntry.externalDataSize); in getDataSize()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java78 canvas.drawPosText(m.run.data, 0, m.run.dataSize, m.pos, m.textPaint); in onDraw()
DTerminal.java41 int dataSize; field in Terminal.CellRun
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java577 final int dataSize = (int) getMediaFileSize(attachmentUri); in addOtherPart() local
581 return dataSize; in addOtherPart()