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

123456

/frameworks/rs/
H A DrsFont.h58 void set(int32_t l, int32_t r, int32_t t, int32_t b) { function in struct:android::renderscript::Font::Rect
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp118 mStatus = set(streamType, sampleRate, format, channelMask,
139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format,
161 mStatus = set(streamType, sampleRate, format, channelMask,
186 status_t AudioTrack::set( function in class:android::AudioTrack
203 ALOGV("set() streamType %d frameCount %d flags %04x", streamType, frameCount, flags);
445 // the playback head position will reset to 0, so if a marker is set, we need
791 // Same comment as below about ignoring frameCount parameter for set()
819 // But when initializing a shared buffer AudioTrack via set(),
994 // timing out when a loop has been set and we have already written upto loop end
1359 // restore write index and set othe
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java204 * The Android package of the caller will be set in the options bundle by the
214 * Boolean, if set and 'customTokens' the authenticator is responsible for
683 * @param account The account to set a password for
684 * @param password The password to set, null to clear the password
731 * @param account The account to set the userdata for
732 * @param key The userdata key to set. Must not be null
733 * @param value The value to set, null to clear this userdata key
758 * @param account The account to set an auth token for
900 * set, a status bar notification is also created with the same Intent,
909 * <p>If notifyAuthFailure is not set, i
1387 protected void set(Bundle bundle) { method in class:AccountManager.AmsTask
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java246 private static int findStringInSet(String[] set, String string, argument
248 if (set == null) return -1;
251 if (set[i].equals(string)) return i;
256 private static String[] addStringToSet(String[] set, String string, argument
258 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set;
259 if (set == null) {
260 set = new String[2];
261 set[0] = string;
263 return set;
280 removeStringFromSet(String[] set, String string, int[] lengths, int lenPos) argument
[all...]
H A DContext.java105 * SharedPreference loading flag: when set, the file on disk will
117 * explicitly set if desired.
124 * Database open flag: when set, the database is opened with write-ahead
144 * consider's the target service's process to be. When set, the only way
151 * {@link #BIND_ADJUST_WITH_ACTIVITY} set for them in order to achieve
158 * calls to unbind. When this flag is set, the callstack of the following
181 * the app itself. When set, the platform will try to have the out of
396 AttributeSet set, int[] attrs) {
397 return getTheme().obtainStyledAttributes(set, attrs, 0, 0);
408 AttributeSet set, in
395 obtainStyledAttributes( AttributeSet set, int[] attrs) argument
407 obtainStyledAttributes( AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java158 * Create a new Resources object on top of an existing set of assets in an
666 * given screen density in DPI. This will set the drawable's density to be
731 * the set is returned.
1072 * In other words, a Theme is a set of values for resource attributes;
1112 * they have in common will be set in this theme.
1207 * <var>set</var>
1234 * @param set The base set of attribute values. May be null.
1253 public TypedArray obtainStyledAttributes(AttributeSet set, argument
1262 XmlBlock.Parser parser = (XmlBlock.Parser)set;
1379 obtainAttributes(AttributeSet set, int[] attrs) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java80 // A flag to determine whether we should notify data set changed after we connect
83 // The set of requested views that are to be notified when the associated RemoteViews are
122 * @return whether the adapter was set or not.
218 Log.e(TAG, "Error notifying factory of data set changed in " +
225 Log.e(TAG, "Error notifying factory of data set changed in " +
368 // Remove this set from the original mapping
374 * We need to remove views from this set if they have been recycled by the AdapterView.
409 // A mapping from type id to a set of unique type ids
416 public void set(RemoteViewsMetaData d) { method in class:RemoteViewsAdapter.RemoteViewsMetaData
533 set(
536 public void set(RemoteViews v, long id) { method in class:RemoteViewsAdapter.RemoteViewsIndexMetaData
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java25 * using either reset() - to construct an identity matrix, or one of the set..()
47 public void set(Matrix src) {
263 public void set(Matrix src) { method in class:Matrix
562 * @return true if the matrix was set to the specified transformation
577 * set inverse to be the inverse of this matrix. If this matrix cannot be
H A DPath.java99 public void set(Path src) { method in class:Path
178 * not null, set rect to the bounds of the path. If the path does not
192 * set to (0,0,0,0)
240 * automatically set to (0,0).
268 * this contour, the first point is automatically set to (0,0).
302 * made for this contour, the first point is automatically set to (0,0).
H A DPaint.java123 * Bidi flag to set LTR paragraph direction.
130 * Bidi flag to set RTL paragraph direction.
404 * get() on all of the src fields, and calling the corresponding set()
407 public void set(Paint src) { method in class:Paint
504 * Helper for getFlags(), returning true if ANTI_ALIAS_FLAG bit is set
509 * @return true if the antialias bit is set in the paint's flags.
521 * @param aa true to set the antialias bit in the flags, false to clear it
526 * Helper for getFlags(), returning true if DITHER_FLAG bit is set
533 * @return true if the dithering bit is set in the paint's flags.
547 * @param dither true to set th
[all...]
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java170 // We have to set current TimeZone info to kernel
210 public void set(int type, long triggerAtTime, PendingIntent operation) { method in class:AlarmManagerService
217 Slog.w(TAG, "set/setRepeating ignored because there is no intent");
230 if (localLOGV) Slog.v(TAG, "set: " + alarm);
309 SystemProperties.set(TIMEZONE_PROPERTY, zone.getID());
454 time.set(a.when);
497 set(mDescriptor, alarm.type, alarmSeconds, alarmNanoseconds);
661 private native void set(int fd, int type, long seconds, long nanoseconds); method in class:AlarmManagerService
963 calendar.set(Calendar.SECOND, 0);
964 calendar.set(Calenda
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java497 int match, ComponentName[] set, ComponentName activity) {
506 int match, ComponentName[] set, ComponentName activity) {
496 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
505 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDependencyFinder.java71 * @return A pair: [0]: map { class FQCN => set of FQCN class dependencies }.
72 * [1]: map { missing class FQCN => set of FQCN class that uses it. }
214 TreeSet<String> set = new TreeSet<String>();
215 dependencyMap.put(name, set);
216 visitor.setDependencySet(set);
237 * @param zipClasses The set of all classes FQCN found in the JAR files.
251 Set<String> set = missing.get(dep);
252 if (set == null) {
253 set = new TreeSet<String>();
254 missing.put(dep, set);
294 setDependencySet(Set<String> set) argument
[all...]
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp99 bool set(int mode, int socket, sockaddr_storage *remote,
165 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, function in class:__anon1172::AudioStream
476 bool set(int sampleRate, int sampleCount);
572 bool AudioGroup::set(int sampleRate, int sampleCount) function in class:__anon1172::AudioGroup
593 if (!mChain->set(AudioStream::NORMAL, pair[1], NULL, NULL,
655 // or stop-set-restart threads seems too heavy. Will investigate later.
810 if (track.set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
812 record.set(AUDIO_SOURCE_VOICE_COMMUNICATION, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
969 int sampleCount = (codec ? codec->set(sampleRate, codecSpec) : -1);
979 if (!stream->set(mod
[all...]
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp287 void matrixf_t::set(const GLfixed* rhs) { function in class:android::matrixf_t
291 void matrixf_t::set(const GLfloat* rhs) { function in class:android::matrixf_t
847 rhs.set(f);
886 rhs.set(f);
958 rhs.set(m);
967 rhs.set(m);
/frameworks/av/camera/
H A DCameraParameters.cpp232 void CameraParameters::set(const char *key, const char *value) function in class:android::CameraParameters
248 void CameraParameters::set(const char *key, int value) function in class:android::CameraParameters
252 set(key, str);
259 set(key, str);
345 set(KEY_PREVIEW_SIZE, str);
375 set(KEY_VIDEO_SIZE, str);
394 set(KEY_PREVIEW_FRAME_RATE, fps);
412 set(KEY_PREVIEW_FORMAT, format);
424 set(KEY_PICTURE_SIZE, str);
444 set(KEY_PICTURE_FORMA
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp73 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO,
84 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES,
86 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES,
97 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE,
110 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE,
115 params.set(CameraParameters::KEY_PREVIEW_FORMAT,
168 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS,
177 params.set(CameraParameters::KEY_PREVIEW_FRAME_RATE,
207 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES,
230 params.set(CameraParameter
980 status_t Parameters::set(const String8& paramString) { function in class:android::camera2::Parameters
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1198 int match, ComponentName[] set, ComponentName activity) {
1200 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId());
1208 ComponentName[] set, ComponentName activity, int userId) {
1210 mPM.addPreferredActivity(filter, match, set, activity, userId);
1218 int match, ComponentName[] set, ComponentName activity) {
1220 mPM.replacePreferredActivity(filter, match, set, activity);
1197 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
1207 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
1217 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp87 jmethodID set; member in struct:android::__anon984
184 env->CallVoidMethod(dirty, gRectClassInfo.set,
282 env->CallVoidMethod(rect, gRectClassInfo.set,
711 env->CallVoidMethod(dirty, gRectClassInfo.set,
877 // In the emulator this property will be set to 1 when hardware GLES is
1061 GET_METHOD_ID(gRectClassInfo.set, clazz, "set", "(IIII)V");
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java194 // if no custom stroke as been set, set the default one.
203 * Returns the {@link Xfermode} delegate or null if none have been set
212 * Returns the {@link ColorFilter} delegate or null if none have been set
221 * Returns the {@link Shader} delegate or null if none have been set
230 * Returns the {@link MaskFilter} delegate or null if none have been set
239 * Returns the {@link Rasterizer} delegate or null if none have been set
685 delegate_dst.set(delegate_src);
1091 bounds.set(0, 0, (int) rect.getWidth(), (int) rect.getHeight());
1107 set(pain
1110 private void set(Paint_Delegate paint) { method in class:Paint_Delegate
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java361 // set the resource ref to have correct view cookies
498 public final TypedArray obtainStyledAttributes(AttributeSet set, int[] attrs) { argument
499 return obtainStyledAttributes(set, attrs, 0, 0);
503 public TypedArray obtainStyledAttributes(AttributeSet set, int[] attrs, argument
510 if (set instanceof BridgeXmlBlockParser) {
512 parser = (BridgeXmlBlockParser)set;
525 } else if (set instanceof BridgeLayoutParamsMapAttributes) {
529 } else if (set != null) { // null parser is ok
543 if (set != null) {
544 customStyle = set
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java178 * Resolution and querying flag: if set, only filters that support the
284 * allow test packages (those that have set android:testOnly in their
332 * that you don't want to kill the app containing the component. Be careful when you set this
1073 * this nor {@link #FEATURE_SCREEN_LANDSCAPE} is set then the device supports
1083 * this nor {@link #FEATURE_SCREEN_PORTRAIT} is set then the device supports
1210 * package. If flag GET_UNINSTALLED_PACKAGES is set and if the
1215 * deleted with DONT_DELTE_DATA flag set).
1361 * If flag GET_UNINSTALLED_PACKAGES is set and if the package is not
1367 * deleted with DONT_DELTE_DATA flag set).
1485 * If flag GET_UNINSTALLED_PACKAGES is set,
2769 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
2778 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
2805 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp80 ResourceDirIterator(const sp<ResourceTypeSet>& set, const String8& resType) argument
81 : mResType(resType), mSet(set), mSetPos(0), mGroupPos(0)
268 const sp<ResourceTypeSet>& set,
276 ResourceDirIterator it(set, String8(resType));
333 const sp<ResourceTypeSet>& set, const char* type)
339 ResourceDirIterator it(set, String8(type));
362 const sp<ResourceTypeSet>& set)
364 ResourceDirIterator it(set, String8("drawable"));
398 sp<ResourceTypeSet> set = new ResourceTypeSet(); local
399 NOISY(printf("Creating new resource type set fo
266 makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, ResourceTable* table, const sp<ResourceTypeSet>& set, const char* resType) argument
332 preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, const sp<ResourceTypeSet>& set, const char* type) argument
360 postProcessImages(const sp<AaptAssets>& assets, ResourceTable* table, const sp<ResourceTypeSet>& set) argument
404 sp<ResourceTypeSet> set = resources->valueAt(index); local
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp105 void set(const TYPE& value, uint32_t pos) { function in struct:android::MPEG4Writer::Track::ListTableEntries
238 // Sequence parameter set or picture parameter set
460 // The default MIN_MOOV_BOX_SIZE is set to 0.6% x 1MB / 2,
474 // Max file size limit is set
479 // Max file duration limit is set
485 // When both file size and duration limits are set,
491 // Only max file duration limit is set
522 * user does not ask to set it explicitly.
541 // If file size is set t
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java46 * The Camera class is used to set image capture settings, start/stop preview,
206 // Only set this when sound is forced; otherwise let native code
264 * <p>If this field is set to true, then a call of
265 * {@code enableShutterSound(false)} will be successful. If set to
424 * preview is necessary to take pictures. The same surface can be re-set
425 * without harm. Setting a preview surface will un-set any preview surface
426 * texture that was set via {@link #setPreviewTexture}.
436 * one exception is that if the preview surface is not set (or set to null)
438 * with a non-null parameter to set th
2066 public void set(String key, String value) { method in class:Camera.Parameters
2085 public void set(String key, int value) { method in class:Camera.Parameters
2089 private void set(String key, List<Area> areas) { method in class:Camera.Parameters
[all...]

Completed in 435 milliseconds

123456