Searched defs:size (Results 1 - 25 of 209) sorted by relevance

123456789

/packages/apps/Camera/src/com/android/camera/
H A DIntArray.java34 public int size() { method in class:IntArray
H A DPreferenceGroup.java48 public int size() { method in class:PreferenceGroup
49 return list.size();
/packages/apps/Camera/src/com/android/camera/ui/
H A DPreviewSurfaceView.java42 private void setLayoutSize(int size) { argument
44 if (p.width != size || p.height != size) {
45 p.width = size;
46 p.height = size;
/packages/apps/Camera2/src/com/android/camera/util/
H A DDebugBoundsRenderer.java32 public static void drawBounds(Canvas canvas, Paint paint, float size, Rect rect) { argument
33 drawBounds(canvas, paint, size, rect.left, rect.top, rect.right, rect.bottom);
40 public static void drawBounds(Canvas canvas, Paint paint, float size, RectF rect) { argument
41 drawBounds(canvas, paint, size, rect.left, rect.top, rect.right, rect.bottom);
48 public static void drawBounds(Canvas canvas, Paint paint, float size, float x1, float y1, argument
52 canvas.drawLine(x1, y1, x1 + size, y1, paint);
54 canvas.drawLine(x1, y1, x1, y1 + size, paint);
58 canvas.drawLine(x2 - size, y1, x2, y1, paint);
60 canvas.drawLine(x2, y1, x2, y1 + size, paint);
64 canvas.drawLine(x2 - size, y
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetSource.java25 public int size(); method in interface:WidgetSource
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIntArray.java39 public int size() { method in class:IntArray
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DIntArray.java39 public int size() { method in class:IntArray
/packages/apps/LegacyCamera/src/com/android/camera/
H A DIntArray.java34 public int size() { method in class:IntArray
H A DPreferenceGroup.java48 public int size() { method in class:PreferenceGroup
49 return list.size();
/packages/apps/Settings/src/com/android/settings/search/
H A DSearchIndexableResources.java310 public static int size() { method in class:SearchIndexableResources
311 return sResMap.size();
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
H A DSizeFileFilter.java23 * Filters files based on size, can filter either smaller files or
27 * current directory whose size is greater than 1 MB:
43 /** The size threshold. */
44 private final long size; field in class:SizeFileFilter
49 * Constructs a new size file filter for files equal to or
50 * larger than a certain size.
52 * @param size the threshold size of the files
53 * @throws IllegalArgumentException if the size is negative
55 public SizeFileFilter(long size) { argument
68 SizeFileFilter(long size, boolean acceptLarger) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
H A DDomainList.java47 public int size() { method in class:DomainList
48 return domains.size();
54 * @throws IndexOutOfBoundsException If index is < 0 or >= size().
57 if (0 > index || size() <= index)
68 for (int i = 0; i < domains.size(); i++) {
71 if (i + 1 < domains.size())
H A DMailboxList.java47 public int size() { method in class:MailboxList
48 return mailboxes.size();
55 if (0 > index || size() <= index)
65 for (int i = 0; i < size(); i++) {
/packages/experimental/Bummer/src/com/android/dreams/bummer/
H A DBummer.java32 public float size = 20.0f; field in class:Bummer
48 mApology.setTextSize(size);
/packages/inputmethods/LatinIME/native/jni/src/utils/
H A Dbyte_array_view.h34 ReadOnlyByteArrayView(const uint8_t *const ptr, const size_t size) argument
35 : mPtr(ptr), mSize(size) {}
37 AK_FORCE_INLINE size_t size() const { function in class:latinime::ReadOnlyByteArrayView
66 ReadWriteByteArrayView(uint8_t *const ptr, const size_t size) argument
67 : mPtr(ptr), mSize(size) {}
69 AK_FORCE_INLINE size_t size() const { function in class:latinime::ReadWriteByteArrayView
H A Dint_array_view.h38 * for (size_t i = 0; i < view.size(); ++i) {
55 IntArrayView(const int *const ptr, const size_t size) argument
56 : mPtr(ptr), mSize(size) {}
59 : mPtr(vector.data()), mSize(vector.size()) {}
63 return IntArrayView(array.data(), array.size());
77 return size() == 0;
80 AK_FORCE_INLINE size_t size() const {
100 // Returns the view whose size is smaller than or equal to the given count.
150 if (result.size() >= static_cast<size_t>(limit - 1)) {
169 template <size_t size>
[all...]
H A Dlog_utils.cpp50 // Get the necessary size. Add 1 for the 0 terminator.
51 const int size = vsnprintf(fixedSizeCString, DEFAULT_LINE_SIZE, format, argList) + 1; local
55 if (size <= DEFAULT_LINE_SIZE) {
61 char variableSizeCString[size];
62 vsnprintf(variableSizeCString, size, format, argList);
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
H A DSparseIntArray.java30 public int size() { method in class:SparseIntArray
31 return mArray.size();
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
H A DDomainList.java47 public int size() { method in class:DomainList
48 return domains.size();
54 * @throws IndexOutOfBoundsException If index is &lt; 0 or &gt;= size().
57 if (0 > index || size() <= index)
68 for (int i = 0; i < domains.size(); i++) {
71 if (i + 1 < domains.size())
H A DMailboxList.java47 public int size() { method in class:MailboxList
48 return mailboxes.size();
55 if (0 > index || size() <= index)
65 for (int i = 0; i < size(); i++) {
/packages/apps/Email/tests/src/com/android/email/provider/
H A DPolicyTests.java118 private Attachment setupSimpleAttachment(String name, long size, Account acct) { argument
119 Attachment att = ProviderTestUtils.setupAttachment(-1, name, size, false, mMockContext);
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
H A DAbstractCache.java40 if (mCacheMap.size() >= MAX_CACHED_ITEMS) {
44 Log.v(TAG, "Failed! size limitation reached.");
55 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
88 Log.v(TAG, mCacheMap.size() + " items cached.");
96 Log.v(TAG, "Purging cache, " + mCacheMap.size()
102 public int size() { method in class:AbstractCache
103 return mCacheMap.size();
H A DDrmConvertSession.java81 * @param size The number of bytes that shall be converted.
85 public byte[] convert(byte[] inBuffer, int size) { argument
90 if (size != inBuffer.length) {
91 byte[] buf = new byte[size];
92 System.arraycopy(inBuffer, 0, buf, 0, size);
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
H A DFakeImageRequest.java27 public FakeImageRequest(final String key, final int size) { argument
29 mSize = size;
H A DFakeImageResource.java24 public FakeImageResource(final int size, final String imageId) { argument
26 mSize = size;

Completed in 766 milliseconds

123456789