Home
last modified time | relevance | path

Searched refs:TRUE (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DPredicatesTest.java26 private static final Predicate<Object> TRUE = new Predicate<Object>() { field in PredicatesTest
39 assertTrue(Predicates.and(newArrayList(TRUE)).apply(null)); in testAndPredicate_AllConditionsTrue()
40 assertTrue(Predicates.and(newArrayList(TRUE, TRUE)).apply(null)); in testAndPredicate_AllConditionsTrue()
44 assertFalse(Predicates.and(newArrayList(FALSE, TRUE, TRUE)).apply(null)); in testAndPredicate_AtLeastOneConditionIsFalse()
45 assertFalse(Predicates.and(newArrayList(TRUE, FALSE, TRUE)).apply(null)); in testAndPredicate_AtLeastOneConditionIsFalse()
46 assertFalse(Predicates.and(newArrayList(TRUE, TRUE, FALSE)).apply(null)); in testAndPredicate_AtLeastOneConditionIsFalse()
50 assertTrue(Predicates.or(newArrayList(TRUE, TRUE, TRUE)).apply(null)); in testOrPredicate_AllConditionsTrue()
58 assertTrue(Predicates.or(newArrayList(TRUE, FALSE, FALSE)).apply(null)); in testOrPredicate_AtLeastOneConditionIsTrue()
59 assertTrue(Predicates.or(newArrayList(FALSE, TRUE, FALSE)).apply(null)); in testOrPredicate_AtLeastOneConditionIsTrue()
60 assertTrue(Predicates.or(newArrayList(FALSE, FALSE, TRUE)).apply(null)); in testOrPredicate_AtLeastOneConditionIsTrue()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Ddcac_prediction.cpp104 block_A = (comp == 1 || comp == 3) ? flag_0 = TRUE, DC_store[0][x_tab] : mid_gray; in doDCACPrediction()
106 block_C = (comp == 2 || comp == 3) ? flag_1 = TRUE, DC_store[0][y_tab] : mid_gray; in doDCACPrediction()
112 block_A = (comp == 1 || comp == 3) ? flag_0 = TRUE, DC_store[0][x_tab] : mid_gray; in doDCACPrediction()
114 …block_C = (comp == 2 || comp == 3 || up_bnd) ? flag_1 = TRUE, DC_store[y_offset][y_tab] : mid_gray; in doDCACPrediction()
120 …block_A = (comp == 1 || comp == 3 || left_bnd) ? flag_0 = TRUE, DC_store[x_offset][x_tab] : mid_gr… in doDCACPrediction()
122 block_C = (comp == 2 || comp == 3) ? flag_1 = TRUE, DC_store[y_offset][y_tab] : mid_gray; in doDCACPrediction()
129 …block_A = (comp == 1 || comp == 3 || left_bnd) ? flag_0 = TRUE, DC_store[x_offset][x_tab] : mid_gr… in doDCACPrediction()
132 …block_C = (comp == 2 || comp == 3 || up_bnd) ? flag_1 = TRUE, DC_store[y_offset][y_tab] : mid_gray; in doDCACPrediction()
263 block_A = (comp == 1 || comp == 3) ? flag_0 = TRUE, DC_store[0][x_tab] : mid_gray; in doDCACPrediction_I()
264 block_C = (comp == 2 || comp == 3) ? flag_1 = TRUE, DC_store[0][y_tab] : mid_gray; in doDCACPrediction_I()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dinit.cpp58 encvid->outOfBandParamSet = ((encParam->out_of_band_param_set == AVC_ON) ? TRUE : FALSE); in SetEncodeParam()
143 seqParam->frame_mbs_only_flag = TRUE; in SetEncodeParam()
195 if (extS->frame_mbs_only_flag != TRUE) in SetEncodeParam()
264 picParam->slice_group_change_direction_flag = TRUE; in SetEncodeParam()
327 …picParam->deblocking_filter_control_present_flag = (encParam->db_filter == AVC_ON) ? TRUE : FALSE ; in SetEncodeParam()
329 …picParam->constrained_intra_pred_flag = (encParam->constrained_intra_pred == AVC_ON) ? TRUE : FALS… in SetEncodeParam()
463 if (picParam->deblocking_filter_control_present_flag == TRUE) in SetEncodeParam()
484 if (encvid->outOfBandParamSet == TRUE) in SetEncodeParam()
499 rateCtrl->scdEnable = (encParam->auto_scd == AVC_ON) ? TRUE : FALSE; in SetEncodeParam()
502 rateCtrl->dpEnable = (encParam->data_par == AVC_ON) ? TRUE : FALSE; in SetEncodeParam()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c29 #define TRUE 1 macro
51 int result = TRUE; in FwdLockGlue_CreateDirectories()
82 isInitialized = TRUE; in FwdLockGlue_InitializeRoundKeys()
91 isInitialized = TRUE; in FwdLockGlue_InitializeRoundKeys()
123 return TRUE; in FwdLockGlue_ValidatePadding()
164 result = TRUE; in FwdLockGlue_EncryptKey()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dbgnscd.cpp70 #define TRUE 1 macro
520 inbgNoise = TRUE; in Bgn_scd()
554 prevVoiced = TRUE; in Bgn_scd()
561 prevVoiced = TRUE; in Bgn_scd()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dblock_switch.c85 return(TRUE); in InitBlockSwitching()
172 blockSwitchingControl->attack = TRUE; in BlockSwitching()
185 blockSwitchingControl->attack = TRUE; in BlockSwitching()
192 blockSwitchingControl->attack = TRUE; in BlockSwitching()
235 return(TRUE); in BlockSwitching()
325 return(TRUE); in CalcWindowEnergy()
403 return(TRUE); in SyncBlockSwitching()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dgsm_amr_typedefs.h103 #ifndef TRUE
104 #define TRUE 1 macro
Dvad2.h89 #define TRUE 1 macro
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpv_amr_wb_type_defs.h142 #ifndef TRUE
143 #define TRUE 1 macro
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_MixSoft_1St_2i_D16C31_SAT.c30 #define TRUE 1 macro
42 char HardMixing = TRUE; in LVC_MixSoft_1St_2i_D16C31_SAT()
72 if(HardMixing == TRUE) in LVC_MixSoft_1St_2i_D16C31_SAT()
DMixInSoft_D32C31_SAT.c29 #define TRUE 1 macro
41 char HardMixing = TRUE; in MixInSoft_D32C31_SAT()
DMixSoft_1St_D32C31_WRA.c29 #define TRUE 1 macro
43 char HardMixing = TRUE; in MixSoft_1St_D32C31_WRA()
DLVC_MixSoft_1St_D16C31_SAT.c30 #define TRUE 1 macro
42 char HardMixing = TRUE; in LVC_MixSoft_1St_D16C31_SAT()
DLVC_MixInSoft_D16C31_SAT.c30 #define TRUE 1 macro
42 char HardMixing = TRUE; in LVC_MixInSoft_D16C31_SAT()
/frameworks/av/cmds/stagefright/
Djpeg.cpp69 jpeg_set_quality(&cinfo, 80, TRUE); in writeJpegFile()
71 jpeg_start_compress(&cinfo, TRUE); in writeJpegFile()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraSettings.java28 private static final String TRUE = "true"; field in AndroidCameraSettings
66 setRecordingHintEnabled(TRUE.equals(params.get(RECORDING_HINT))); in AndroidCameraSettings()
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddpb.cpp370 video->currPic->isReference = TRUE; in StorePictureInDPB()
381 video->currPic->isLongTerm = TRUE; in StorePictureInDPB()
399 video->mem_mgr_ctrl_eq_5 = TRUE; /* flush reference frames MC_FIX */ in StorePictureInDPB()
403 if (video->currPic->isReference == TRUE) in StorePictureInDPB()
629 dpb->fs[ii]->frame.isLongTerm = TRUE; in MemMgrCtrlOp3()
674 video->mem_mgr_ctrl_eq_5 = TRUE; in MemMgrCtrlOp5()
685 video->currPic->isLongTerm = TRUE; in MemMgrCtrlOp6()
686 video->currPic->isReference = TRUE; in MemMgrCtrlOp6()
/frameworks/base/core/java/android/hardware/
DCamera.java2142 private static final String TRUE = "true"; field in Camera.Parameters
3586 set(KEY_AUTO_EXPOSURE_LOCK, toggle ? TRUE : FALSE); in setAutoExposureLock()
3602 return TRUE.equals(str); in getAutoExposureLock()
3616 return TRUE.equals(str); in isAutoExposureLockSupported()
3656 set(KEY_AUTO_WHITEBALANCE_LOCK, toggle ? TRUE : FALSE); in setAutoWhiteBalanceLock()
3674 return TRUE.equals(str); in getAutoWhiteBalanceLock()
3688 return TRUE.equals(str); in isAutoWhiteBalanceLockSupported()
3725 return TRUE.equals(str); in isZoomSupported()
3763 return TRUE.equals(str); in isSmoothZoomSupported()
3970 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE); in setRecordingHint()
[all …]
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.cpp43 jpeg_start_compress(&cinfo, TRUE); in encode()
60 jpeg_set_quality(cinfo, quality, TRUE); in setJpegCompressStruct()
62 cinfo->raw_data_in = TRUE; in setJpegCompressStruct()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java85 public static final int TRUE = -1; field in RelativeLayout
1220 @ViewDebug.IntToString(from = TRUE, to = "true"),
1288 rules[ALIGN_PARENT_LEFT] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1291 rules[ALIGN_PARENT_TOP] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1294 rules[ALIGN_PARENT_RIGHT] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1297 rules[ALIGN_PARENT_BOTTOM] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1300 rules[CENTER_IN_PARENT] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1303 rules[CENTER_HORIZONTAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1306 rules[CENTER_VERTICAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1321 rules[ALIGN_PARENT_START] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dpsy_const.h28 #define TRUE 1 macro
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DWrappedRecyclerView.java59 return Boolean.TRUE.equals(mFakeRTL) ? ViewCompat.LAYOUT_DIRECTION_RTL in getLayoutDirection()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dwin_asm.bat2 set ASMFLAGS= -checkreglist -CPU ARM1136 -PreDefine "H264DEC_WINASM SETL {TRUE}"
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DDecoder.java43 return mBuf.get() == 0 ? Boolean.FALSE : Boolean.TRUE; in readObject()
/frameworks/base/services/core/java/com/android/server/hdmi/
DConstants.java159 static final int TRUE = 1; field in Constants

1234