Searched defs:set (Results 101 - 125 of 173) sorted by relevance

1234567

/frameworks/base/core/java/android/text/
H A DTextLine.java40 * <p>Call set to prepare the instance for use, then either draw, measure,
134 void set(TextPaint paint, CharSequence text, int start, int limit, int dir, method in class:TextLine
251 emojiRect.set(x + h, y + bmAscent,
629 wp.set(mPaint);
889 wp.set(mPaint);
898 wp.set(mPaint);
915 wp.set(mPaint);
948 wp.set(mPaint);
967 * Render a text run with the set-up paint.
1013 wp.set(mPain
[all...]
/frameworks/base/core/java/android/util/
H A DMapCollections.java511 public static <T> boolean equalsSetHelper(Set<T> set, Object object) { argument
512 if (set == object) {
519 return set.size() == s.size() && set.containsAll(s);
/frameworks/base/core/java/android/view/
H A DMenuInflater.java211 @SuppressWarnings("unused") AttributeSet set) {
220 @SuppressWarnings("unused") AttributeSet set) {
290 * Group state is set on items as they are added, allowing an item to
291 * override its group state. (As opposed to set on items at the group end tag.)
210 registerMenu(@uppressWarnings�) MenuItem item, @SuppressWarnings(�) AttributeSet set) argument
219 registerMenu(@uppressWarnings�) SubMenu subMenu, @SuppressWarnings(�) AttributeSet set) argument
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java67 /** Return a region set to the specified rectangle
74 /** Return a region set to the specified rectangle
89 public boolean set(Region region) { method in class:Region
96 public boolean set(Rect r) { method in class:Region
102 public boolean set(int left, int top, int right, int bottom) { method in class:Region
132 * Return a new Rect set to the bounds of the region. If the region is
133 * empty, the Rect will be set to [0, 0, 0, 0]
143 * Rect will be set to [0, 0, 0, 0]
226 * If this region is empty, then dst will be set to empty.
245 * If this region is empty, then dst will be set t
[all...]
/frameworks/base/location/java/android/location/
H A DGpsClock.java81 public void set(GpsClock clock) { method in class:GpsClock
248 * This value is available if {@link #TYPE_LOCAL_HW_TIME} is set, and GPS receiver has solved
H A DLocation.java124 set(l);
130 public void set(Location l) { method in class:Location
473 * @return the provider, or null if it has not been set
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java202 // if (upgradeVersion == [the DATABASE_VERSION you set] - 1) {
204 // upgradeVersion = [the DATABASE_VERSION you set]
712 * New settings for set install location UI no longer initiated here.
719 * Update the screen timeout value if set to never
925 // This upgrade makes sure that MODE_RINGER_STREAMS_AFFECTED is set
1067 // only set default if it has not yet been set
1297 // date with new changes to the set of global versus system/secure settings
1469 // if the globally-scoped device-provisioned bit is set
1755 // If the SIP_CALL_OPTIONS setting is set t
1925 hashsetToStringArray(HashSet<String> set) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java85 void set(List<Task> tasks) { method in class:FilteredTaskList
262 mTaskList.set(tasks);
352 /** Adds a group to the set */
431 tasks.set(taskIndex, taskMap.get(groupTasks.get(j)));
435 mTaskList.set(tasks);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java61 * {@link NetworkIdentitySet}, UID, set, and tag. Knows how to persist itself.
139 NetworkTemplate template, int uid, int set, int tag, int fields) {
140 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE);
148 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) {
153 final boolean setMatches = set == SET_ALL || key.set == set;
185 entry.set = key.set;
205 public void recordData(NetworkIdentitySet ident, int uid, int set, in argument
138 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields) argument
147 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) argument
239 findOrCreateHistory( NetworkIdentitySet ident, int uid, int set, int tag) argument
555 public final int set; field in class:NetworkStatsCollection.Key
560 Key(NetworkIdentitySet ident, int uid, int set, int tag) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java79 /* If set, this will keep connections alive after a request has been
84 /* If set, this will cause response data to be sent in 'chunked' format */
87 /* If set, this will indicate a new redirection host */
90 /* If set, this indicates the reason for redirection */
153 * @param set True for the server to be HTTP/1.1, false for HTTP/1.0
155 public void setHttpVersion11(boolean set) { argument
156 http11 = set;
157 if (set) {
192 * When this value is set, the server will respond to a request with
193 * a redirect code with the Location response header set t
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java136 private void set(int[] a) { method in class:Bridge.IntArray
214 // When DEBUG_LAYOUT is set and is not 0 or false, setup a default listener
486 sIntArrayWrapper.set(array);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java223 * the value is {@code null}. To set a binary attribute, use an empty
302 super.set("a=rtpmap:" + format, ' ', null);
303 super.set("a=fmtp:" + format, ' ', fmtp);
311 super.set("a=rtpmap:" + format, ' ', null);
312 super.set("a=fmtp:" + format, ' ', null);
356 super.set("a=rtpmap:" + format, ' ', rtpmap);
357 super.set("a=fmtp:" + format, ' ', fmtp);
383 * This class acts as a set of fields, and the size of the set is expected
423 set("
584 private void set(String key, char delimiter, String value) { method in class:SimpleSessionDescription.Fields
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DMapCollections.java510 public static <T> boolean equalsSetHelper(Set<T> set, Object object) { argument
511 if (set == object) {
518 return set.size() == s.size() && set.containsAll(s);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DResourcesWrapper.java223 public TypedArray obtainAttributes(AttributeSet set, int[] attrs) { argument
224 return mResources.obtainAttributes(set, attrs);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp92 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user,
119 status_t AudioRecord::set( function in class:android::AudioRecord
134 ALOGV("set(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, "
164 // invariant that mAudioRecord != 0 is true only after set() returns successfully
228 ALOGV("set(): mSessionId %d", mSessionId);
326 // the record head position will reset to 0, so if a marker is set, we need
526 // invariant that mAudioRecord != 0 is true only after set() returns successfully
833 // These fields don't need to be cached, because they are assigned only by set():
H A DSoundPool.cpp575 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
909 void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume, function in class:android::SoundEvent
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp116 // set class member vars
152 void AudioResamplerDyn<TC, TI, TO>::Constants::set( function in class:android::AudioResamplerDyn::Constants
177 mConstants.set(128, 8, mSampleRate, mSampleRate); // TODO: set better
227 // create and set filter
383 mConstants.set(phases, halfLength, inSampleRate, mSampleRate);
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureRequest.java70 * {@link CaptureResult#get} or to set fields with
71 * {@link CaptureRequest.Builder#set(Key, Object)}.
73 * <p>For example, to set the crop rectangle for the next capture:
76 * captureRequestBuilder.set(SCALER_CROP_REGION, cropRectangle);
206 * @return The value of that key, or {@code null} if the field is not set.
251 * @return the last tag Object set on this request, or {@code null} if
252 * no tag has been set.
262 * <p>A request is considered equal to another is if it's set of key/values is equal, it's
412 * @param value The value to set the field to, which must be of a matching
415 public <T> void set(Ke method in class:CaptureRequest.Builder
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java343 * @return the field corresponding to the {@code key}, or {@code null} if no value was set
378 * @param value The value to set the field to, which must be of a matching
381 public <T> void set(Key<T> key, T value) { method in class:CameraMetadataNative
391 public <T> void set(CaptureRequest.Key<T> key, T value) { method in class:CameraMetadataNative
392 set(key.getNativeKey(), value);
395 public <T> void set(CaptureResult.Key<T> key, T value) { method in class:CameraMetadataNative
396 set(key.getNativeKey(), value);
399 public <T> void set(CameraCharacteristics.Key<T> key, T value) { method in class:CameraMetadataNative
400 set(key.getNativeKey(), value);
436 mMetadataPtr = 0; // set i
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java51 /** {@link #set} value when all sets combined. */
53 /** {@link #set} value where background data is accounted. */
55 /** {@link #set} value where foreground data is accounted. */
71 private int[] set; field in class:NetworkStats
82 public int set; field in class:NetworkStats.Entry
99 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, argument
103 this.set = set;
134 builder.append(" set=").append(setToString(set));
236 addValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
324 combineValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
364 findIndex(String iface, int uid, int set, int tag) argument
379 findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) argument
722 setToString(int set) argument
738 setToCheckinString(int set) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DBrowserContract.java54 * the dirty flag is not automatically set and the "syncToNetwork" parameter
55 * is set to false when calling
538 * @see android.provider.SyncStateContract.Helpers#set
540 public static void set(ContentProviderClient provider, Account account, byte[] data) method in class:BrowserContract.SyncState
542 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data);
712 * If set to non-0 the user has opted into bookmark sync.
/frameworks/base/core/java/android/text/format/
H A DTime.java194 set(other);
376 * ends with "Z" then the timezone is set to UTC. If the date-time string
378 * field of this Time class is set to true and the <code>hour</code>,
379 * <code>minute</code>, and <code>second</code> fields are set to zero;
381 * <code>allDay</code> is set to false. The fields <code>weekDay</code>,
382 * <code>yearDay</code>, and <code>gmtoff</code> are always set to zero,
383 * and the field <code>isDst</code> is set to -1 (unknown). To set those
522 * the {@link #allDay} field is set to true and the {@link #hour},
523 * {@link #minute}, and {@link #second} fields are set t
747 public void set(long millis) { method in class:Time
768 public void set(Time that) { method in class:Time
787 public void set(int second, int minute, int hour, int monthDay, int month, int year) { method in class:Time
810 public void set(int monthDay, int month, int year) { method in class:Time
[all...]
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp68 static void set(JNIEnv* env, jobject clazz, jlong objHandle, jlong otherHandle) { function in class:android::SkMatrixGlue
294 matrix->set(i, src[i]);
316 {"native_set","!(JJ)V", (void*) SkMatrixGlue::set},
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsStorage.java437 mCache.put(new CacheKey().set(type, key, userId), value);
449 return mCache.containsKey(mCacheKey.set(type, key, userId));
453 return mCache.get(mCacheKey.set(type, key, userId));
485 public CacheKey set(int type, String key, int userId) { method in class:LockSettingsStorage.Cache.CacheKey
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkStatsServiceTest.java862 private void assertUidTotal(NetworkTemplate template, int uid, int set, long rxBytes, argument
866 template, uid, set, TAG_NONE, FIELD_ALL);
873 assertValues(stats, IFACE_ALL, uid, set, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets,
881 mAlarmManager.set(eq(AlarmManager.ELAPSED_REALTIME), anyLong(), anyLong(), anyLong(),
971 private static void assertValues(NetworkStats stats, String iface, int uid, int set, argument
974 if (set == SET_DEFAULT || set == SET_ALL) {
980 if (set == SET_FOREGROUND || set == SET_ALL) {

Completed in 3552 milliseconds

1234567