Searched defs:flag (Results 26 - 50 of 68) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp926 uint flag; local
992 flag = 0;
997 flag = 1;
1008 BitstreamWrite1Bit(stream, flag);
1010 if (!flag)
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityServiceInfo.java178 * If this flag is set the system will regard views that are not important
190 * {@link Build.VERSION_CODES#JELLY_BEAN} or higher this flag has to be explicitly
193 * {@link Build.VERSION_CODES#JELLY_BEAN} this flag is ignored and all views are
210 * This flag requests that the system gets into touch exploration mode.
215 * accessibility service that has this flag set. Hence, clearing this
216 * flag does not guarantee that the device will not be in touch exploration
221 * this flag have to declare this capability in their meta-data by setting
223 * canRequestTouchExplorationMode} to true, otherwise this flag will
230 * the first time they are run, if this flag is specified, a dialog is
238 * This flag request
881 flagToString(int flag) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java848 * Toggles the close-on-exec flag for the specified file descriptor.
851 * @param flag desired close-on-exec flag state
854 static native void setCloseOnExec(FileDescriptor fd, boolean flag) argument
/frameworks/base/location/java/android/location/
H A DGpsClock.java504 private void setFlag(short flag) { argument
505 mFlags |= flag;
508 private void resetFlag(short flag) { argument
509 mFlags &= ~flag;
512 private boolean isFlagSet(short flag) { argument
513 return (mFlags & flag) == flag;
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java143 public void setHasHeader(int partitionIndex, boolean flag) { argument
144 mPartitions.get(partitionIndex).hasHeader = flag;
148 public void setShowIfEmpty(int partitionIndex, boolean flag) { argument
149 mPartitions.get(partitionIndex).showIfEmpty = flag;
527 public void setNotificationsEnabled(boolean flag) { argument
528 mNotificationsEnabled = flag;
529 if (flag && mNotificationNeeded) {
/frameworks/native/opengl/libagl/
H A Dstate.cpp322 // If more than one flag has recorded an error, glGetError returns
323 // and clears an arbitrary error flag value. Thus, glGetError should
534 void glDepthMask(GLboolean flag) { argument
536 c->rasterizer.procs.depthMask(c, flag);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java250 * Sets the send keep-alive flag.
252 * @param flag true if sending keep-alive message is required,
256 public Builder setSendKeepAlive(boolean flag) { argument
257 mProfile.mSendKeepAlive = flag;
263 * Sets the auto. registration flag.
265 * @param flag true if the profile will be registered automatically,
269 public Builder setAutoRegistration(boolean flag) { argument
270 mProfile.mAutoRegistration = flag;
464 * Gets the flag of 'Sending keep-alive'.
466 * @return the flag o
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java79 protected void setFiredFlag(int flag) { argument
81 mFiredFlags |= flag;
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java485 long flag = 1;
486 while (flag <= rccFlags) {
487 if ((flag & rccFlags) != 0) {
488 actions |= getActionForRccFlag((int) flag);
490 flag = flag << 1;
510 private static long getActionForRccFlag(int flag) { argument
511 switch (flag) {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardTransportControlView.java597 private static void setVisibilityBasedOnFlag(View view, int flags, int flag) { argument
598 if ((flags & flag) != 0) {
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java321 * @param flag key of option
325 void setOption(int flag, int value) { argument
327 HdmiLogger.debug("setOption: [flag:%d, value:%d]", flag, value);
328 nativeSetOption(mNativePtr, flag, value);
636 private static native void nativeSetOption(long controllerPtr, int flag, int value); argument
637 private static native void nativeSetAudioReturnChannel(long controllerPtr, int port, boolean flag); argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp62 // Set a flag and its value.
63 void setOption(int flag, int value);
65 void setAudioReturnChannel(int port, bool flag);
258 void HdmiCecController::setOption(int flag, int value) { argument
259 mDevice->set_option(mDevice, flag, value);
371 static void nativeSetOption(JNIEnv* env, jclass clazz, jlong controllerPtr, jint flag, jint value) { argument
373 controller->setOption(flag, value);
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp1015 int flag = 1; local
1016 res = setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(flag));
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp535 // Using controlledByApp flag to ensure that the buffer queue remains in
601 void Camera2Client::setPreviewCallbackFlag(int flag) { argument
603 ALOGV("%s: Camera %d: Flag 0x%x", __FUNCTION__, mCameraId, flag);
609 setPreviewCallbackFlagL(l.mParameters, flag);
612 void Camera2Client::setPreviewCallbackFlagL(Parameters &params, int flag) { argument
623 if (flag & CAMERA_FRAME_CALLBACK_FLAG_ENABLE_MASK) {
630 if (flag & CAMERA_FRAME_CALLBACK_FLAG_ONE_SHOT_MASK) {
634 if (params.previewCallbackFlags != (uint32_t)flag) {
636 if (params.previewCallbackSurface && flag != CAMERA_FRAME_CALLBACK_FLAG_NOOP) {
648 params.previewCallbackFlags = flag;
[all...]
/frameworks/base/core/java/android/app/
H A DDialog.java68 * WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM} window flag (assuming
1109 public void setCancelable(boolean flag) { argument
1110 mCancelable = flag;
H A DInstrumentation.java744 * @param flag Additional flags, if any.
749 int id, int flag) {
773 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag);
784 * @param flag Additional flags, if any.
788 public boolean invokeContextMenuAction(Activity targetActivity, int id, int flag) { argument
835 ContextMenuRunnable cmr = new ContextMenuRunnable(targetActivity, id, flag);
748 invokeMenuActionSync(Activity targetActivity, int id, int flag) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClient.java724 * @param flag action policy while accepting a call. Possible values
732 public boolean acceptCall(BluetoothDevice device, int flag) { argument
737 return mService.acceptCall(device, flag);
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java475 * @hide There is no reason to have this -- dreams can set this flag
482 int flag = View.SYSTEM_UI_FLAG_LOW_PROFILE;
483 applySystemUiVisibilityFlags(mLowProfile ? flag : 0, flag);
501 * @param fullscreen If true, the fullscreen flag will be set; else it
507 int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN;
508 applyWindowFlags(mFullscreen ? flag : 0, flag);
529 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
530 applyWindowFlags(mScreenBright ? flag
1007 getWindowFlagValue(int flag, boolean defaultValue) argument
1020 getSystemUiVisibilityFlagValue(int flag, boolean defaultValue) argument
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java180 int flag = (mSpanFlags[i] & START_MASK) >> START_SHIFT;
182 if (flag == POINT || (atEnd && flag == PARAGRAPH))
191 int flag = (mSpanFlags[i] & END_MASK);
193 if (flag == POINT || (atEnd && flag == PARAGRAPH))
398 private int updatedIntervalBound(int offset, int start, int nbNewChars, int flag, boolean atEnd, argument
401 if (flag == POINT) {
410 if (flag == PARAGRAPH) {
1036 private static final int startFlag(int flag) {
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java439 final synchronized void unsetStatus(int flag) { argument
440 mStatus &= ~flag;
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java721 public void setMasterSyncAutomatically(boolean flag) { argument
722 setMasterSyncAutomaticallyAsUser(flag, UserHandle.getCallingUserId());
726 public void setMasterSyncAutomaticallyAsUser(boolean flag, int userId) { argument
736 syncManager.getSyncStorageEngine().setMasterSyncAutomatically(flag, userId);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp703 if ((pInputSection.flag() & llvm::ELF::SHF_HEX_GPREL) ||
947 uint32_t flag = frag->getParent()->getSection().align(); local
948 if (pFromFlag < flag) {
1017 uint32_t flag = frag->getParent()->getSection().align(); local
1018 if (pFromFlag < flag) {
1050 if (pFrom.getSection().flag() > pTo.getSection().flag())
1051 pTo.getSection().setFlag(pFrom.getSection().flag());
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DContentSettingsAdapter.java385 public synchronized void setLoadsImagesAutomatically(boolean flag) { argument
386 if (TRACE) Log.d(LOGTAG, "setLoadsImagesAutomatically=" + flag);
387 mAwSettings.setLoadsImagesAutomatically(flag);
396 public synchronized void setBlockNetworkImage(boolean flag) { argument
397 if (TRACE) Log.d(LOGTAG, "setBlockNetworkImage=" + flag);
398 mAwSettings.setImagesEnabled(!flag);
407 public synchronized void setBlockNetworkLoads(boolean flag) { argument
408 if (TRACE) Log.d(LOGTAG, "setBlockNetworkLoads=" + flag);
409 mAwSettings.setBlockNetworkLoads(flag);
418 public synchronized void setJavaScriptEnabled(boolean flag) { argument
424 setAllowUniversalAccessFromFileURLs(boolean flag) argument
430 setAllowFileAccessFromFileURLs(boolean flag) argument
436 setPluginsEnabled(boolean flag) argument
458 setAppCacheEnabled(boolean flag) argument
475 setDatabaseEnabled(boolean flag) argument
481 setDomStorageEnabled(boolean flag) argument
503 setGeolocationEnabled(boolean flag) argument
534 setJavaScriptCanOpenWindowsAutomatically(boolean flag) argument
567 setNeedInitialFocus(boolean flag) argument
610 setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp1937 int32_t flag = TextDescriptions::LOCAL_DESCRIPTIONS; local
1949 flag |= TextDescriptions::IN_BAND_TEXT_3GPP;
1951 (const uint8_t *)data, size, flag, timeUs / 1000, &parcel);
/frameworks/base/core/java/android/webkit/
H A DWebSettings.java821 * @param flag whether the WebView should load image resources
823 public abstract void setLoadsImagesAutomatically(boolean flag); argument
840 * will also prevent network images from loading, even if this flag is set
845 * @param flag whether the WebView should not load image resources from the
849 public abstract void setBlockNetworkImage(boolean flag); argument
873 * @param flag whether the WebView should not load any resources from the
877 public abstract void setBlockNetworkLoads(boolean flag); argument
891 * @param flag true if the WebView should execute JavaScript
893 public abstract void setJavaScriptEnabled(boolean flag); argument
910 * @param flag whethe
913 setAllowUniversalAccessFromFileURLs(boolean flag) argument
934 setAllowFileAccessFromFileURLs(boolean flag) argument
946 setPluginsEnabled(boolean flag) argument
1011 setAppCacheEnabled(boolean flag) argument
1051 setDatabaseEnabled(boolean flag) argument
1058 setDomStorageEnabled(boolean flag) argument
1106 setGeolocationEnabled(boolean flag) argument
1180 setJavaScriptCanOpenWindowsAutomatically(boolean flag) argument
1239 setNeedInitialFocus(boolean flag) argument
1322 setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) argument
[all...]

Completed in 8338 milliseconds

123