Searched refs:size (Results 76 - 100 of 1715) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DImagePreset.java70 for (int i = 0; i < source.mFilters.size(); i++) {
104 for (int i = 0; i < mFilters.size(); i++) {
113 for (int i = 0; i < mFilters.size(); i++) {
122 for (int i = 0; i < mFilters.size(); i++) {
175 for (int i = 0; i < mFilters.size(); i++) {
221 if (preset.mFilters.size() != mFilters.size()) {
230 if (mFilters.size() > 0 || preset.mFilters.size() > 0) {
236 for (int i = 0; i < preset.mFilters.size();
[all...]
H A DCacheProcessing.java57 if (representations.size() != step.representations.size()) {
60 for (int i = 0; i < representations.size(); i++) {
73 for (int i = 0; i < filters.size(); i++) {
88 if (representations.size() > 0) {
135 if (filters.size() == 0) {
146 if (steps.size() != mSteps.size()) {
158 for (int i = 0; i < steps.size(); i++) {
189 + mSteps.size()
[all...]
/packages/apps/Messaging/src/com/android/messaging/widget/
H A DBaseWidgetProvider.java112 int size = SIZE_MEDIUM;
114 size = SIZE_SMALL; // Our widget doesn't let itself get this small. Perhaps in the
117 size = SIZE_LARGE;
120 // put the size in the bundle so our service know what size it's dealing with.
122 if (savedSize != size) {
123 options.putInt(WIDGET_SIZE_KEY, size);
126 // The size changed. We have to force the widget to rebuild the list.
130 LogUtil.v(TAG, "BaseWidgetProvider.getWidgetSize old size: " + savedSize +
131 " new size save
144 getCellsForSize(int size) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/src/utils/
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...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPageIndicator.java99 int windowSize = Math.min(mMarkers.size(), mMaxWindowSize);
103 int windowEnd = Math.min(mMarkers.size(), windowStart + mMaxWindowSize);
104 windowStart = windowEnd - Math.min(mMarkers.size(), windowSize);
107 boolean windowAtEnd = (windowEnd == mMarkers.size());
125 for (int i = 0; i < mMarkers.size(); ++i) {
143 if (mMarkers.size() > windowSize) {
145 (windowAtEnd && i < (mMarkers.size() - hWindowSize)) ||
163 index = Math.max(0, Math.min(index, mMarkers.size()));
174 for (int i = 0; i < markers.size(); ++i) {
185 if (mMarkers.size() >
[all...]
/packages/apps/TV/src/com/android/tv/
H A DChannelTuner.java151 return mBrowsableChannels.size();
241 int size = mChannels.size();
242 for (int i = 0; i < size; ++i) {
244 : channelIndex - 1 - i + size;
245 if (nextChannelIndex >= size) {
246 nextChannelIndex -= size;
272 int size = mChannels.size();
273 for (int i = 1; i <= size /
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogGroupBuilderTest.java67 assertEquals(0, mFakeGroupCreator.groups.size());
73 assertEquals(1, mFakeGroupCreator.groups.size());
80 assertEquals(2, mFakeGroupCreator.groups.size());
88 assertEquals(1, mFakeGroupCreator.groups.size());
103 assertEquals(2, mFakeGroupCreator.groups.size());
107 assertEquals(1, mFakeGroupCreator.groups.size());
123 assertEquals(2, mFakeGroupCreator.groups.size());
127 assertEquals(1, mFakeGroupCreator.groups.size());
137 assertEquals(1, mFakeGroupCreator.groups.size());
242 assertEquals(4, mFakeGroupCreator.groups.size());
432 assertGroupIs(int cursorPosition, int size, GroupSpec group) argument
442 public final int size; field in class:CallLogGroupBuilderTest.GroupSpec
444 GroupSpec(int cursorPosition, int size) argument
456 addGroup(int cursorPosition, int size) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
H A DAddressList.java51 public int size() { method in class:AddressList
52 return addresses.size();
59 if (0 > index || size() <= index)
72 for (int i = 0; i < size(); i++) {
83 for (int i = 0; i < size(); i++) {
98 for (int i = 0; i < size(); i++) {
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
H A Dformat_utils_test.cpp61 ReadOnlyByteArrayView(buffer.data(), buffer.size())));
67 ReadOnlyByteArrayView(buffer.data(), buffer.size())));
73 ReadOnlyByteArrayView(buffer.data(), buffer.size())));
80 ReadOnlyByteArrayView(buffer.data(), buffer.size())));
86 ReadOnlyByteArrayView(buffer.data(), buffer.size())));
92 ReadOnlyByteArrayView(buffer.data(), buffer.size() - 1)));
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DComposingText.java105 pos = strLayer.size() - 1;
107 if (pos >= strLayer.size() || pos < 0) {
146 return this.toString(layer, 0, mStringLayer[layer].size() - 1);
165 if (strUplayer.size() <= 0) {
170 strUplayer.add(new StrSegment(toString(layer), 0, mStringLayer[layer].size() - 1));
177 StrSegment last = strUplayer.get(strUplayer.size() - 1);
182 modifyUpper(uplayer, strUplayer.size()-1, 1, 1);
188 for (int i = 0; i < strUplayer.size(); i++) {
236 for (int i = next; i < strUplayer.size(); i++) {
248 for (int i = 1; i < strUplayer.size();
566 public int size(int layer) { method in class:ComposingText
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoLoadingTestCase.java56 public byte[] getPhoto(PhotoSize size) { argument
57 return photoMap.get(size);
68 * device memory size.
84 protected byte[] loadTestPhoto(PhotoSize size) { argument
86 return testPhotoEntry.getPhoto(size);
89 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { argument
98 return entry.getPhoto(size);
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
H A DAddressList.java51 public int size() { method in class:AddressList
52 return addresses.size();
59 if (0 > index || size() <= index)
72 for (int i = 0; i < size(); i++) {
83 for (int i = 0; i < size(); i++) {
98 for (int i = 0; i < size(); i++) {
/packages/apps/Camera2/src/com/android/camera/data/
H A DGlideFilmstripManager.java53 // This is the default GL texture size for K and below, it may be bigger,
58 // overly large allocations by capping the texture size.
63 Integer size = computeEglMaxTextureSize();
64 if (size == null) {
65 // Fallback to the default 2048 if a size is not found.
68 } else if (size > MAX_GL_TEXTURE_SIZE) {
69 // Cap the display size to prevent Out of memory problems during
73 MAX_IMAGE_DISPLAY_SIZE = new Size(size, size);
126 * Create a full size drawabl
[all...]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DSmartDialMatchPosition.java54 for (int i = 0; i < inList.size(); i++) {
65 for (int i = 0; i < list.size(); i ++) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DUpdateMessageNotificationAction.java54 public UpdateMessageNotificationAction[] newArray(final int size) {
55 return new UpdateMessageNotificationAction[size];
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DCompositeImageRequestDescriptor.java34 final String[] keyParts = new String[descriptors.size()];
35 for (int i = 0; i < descriptors.size(); i++) {
/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;
/packages/apps/Terminal/src/com/android/terminal/
H A DTerminalService.java49 if (mTerminals.size() == 0) {
65 if (mTerminals.size() == 0) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
H A DByteArrayOutputStream.java69 * initially 1024 bytes, though its size increases if necessary.
77 * the specified size, in bytes.
79 * @param size the initial size
80 * @throws IllegalArgumentException if size is negative
82 public ByteArrayOutputStream(int size) { argument
83 if (size < 0) {
85 "Negative initial size: " + size);
87 needNewBuffer(size);
214 public synchronized int size() { method in class:ByteArrayOutputStream
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
H A Dver2_patricia_trie_node_reader.cpp25 if (ptNodePos < 0 || ptNodePos >= static_cast<int>(mBuffer.size())) {
27 AKLOGE("Fetching PtNode info from invalid dictionary position: %d, dictionary size: %zd",
28 ptNodePos, mBuffer.size());
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
H A DVehiclePropConfigsParcelable.java60 public VehiclePropConfigsParcelable[] newArray(int size) {
61 return new VehiclePropConfigsParcelable[size];
H A DVehiclePropValueParcelable.java61 public VehiclePropValueParcelable[] newArray(int size) {
62 return new VehiclePropValueParcelable[size];
H A DVehiclePropValuesParcelable.java28 * which can increase binder transfer size a lot (as each data can be below blob start size),
67 public VehiclePropValuesParcelable[] newArray(int size) {
68 return new VehiclePropValuesParcelable[size];
/packages/apps/Camera2/src/com/android/camera/settings/
H A DSettingsUtil.java64 * returns the camera size it represents. <br/>
70 * @param sizeSetting the preference string to convert to a size
72 * @return the size that this setting represents
128 /** The ideal "medium" picture size is 50% of "large". */
131 /** The ideal "small" picture size is 25% of "large". */
134 /** Video qualities sorted by size. */
151 * Based on the selected size, this method returns the matching concrete
169 * Based on the selected size (large, medium or small), and the list of
171 * picture size.
178 * @return The selected size
395 sizeToSettingString(Size size) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogQuery.java104 CACHED_PHOTO_URI = projectionList.size() - 1;
108 POST_DIAL_DIGITS = projectionList.size() - 1;
110 VIA_NUMBER = projectionList.size() - 1;
112 _PROJECTION = projectionList.toArray(new String[projectionList.size()]);

Completed in 2784 milliseconds

1234567891011>>