/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | PredicatesTest.java | 26 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/ |
D | dcac_prediction.cpp | 104 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/ |
D | init.cpp | 58 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/ |
D | FwdLockGlue.c | 29 #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/ |
D | bgnscd.cpp | 70 #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/ |
D | block_switch.c | 85 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/ |
D | gsm_amr_typedefs.h | 103 #ifndef TRUE 104 #define TRUE 1 macro
|
D | vad2.h | 89 #define TRUE 1 macro
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pv_amr_wb_type_defs.h | 142 #ifndef TRUE 143 #define TRUE 1 macro
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVC_MixSoft_1St_2i_D16C31_SAT.c | 30 #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()
|
D | MixInSoft_D32C31_SAT.c | 29 #define TRUE 1 macro 41 char HardMixing = TRUE; in MixInSoft_D32C31_SAT()
|
D | MixSoft_1St_D32C31_WRA.c | 29 #define TRUE 1 macro 43 char HardMixing = TRUE; in MixSoft_1St_D32C31_WRA()
|
D | LVC_MixSoft_1St_D16C31_SAT.c | 30 #define TRUE 1 macro 42 char HardMixing = TRUE; in LVC_MixSoft_1St_D16C31_SAT()
|
D | LVC_MixInSoft_D16C31_SAT.c | 30 #define TRUE 1 macro 42 char HardMixing = TRUE; in LVC_MixInSoft_D16C31_SAT()
|
/frameworks/av/cmds/stagefright/ |
D | jpeg.cpp | 69 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/ |
D | AndroidCameraSettings.java | 28 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/ |
D | dpb.cpp | 370 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/ |
D | Camera.java | 2142 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/ |
D | YuvToJpegEncoder.cpp | 43 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/ |
D | RelativeLayout.java | 85 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/ |
D | psy_const.h | 28 #define TRUE 1 macro
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | WrappedRecyclerView.java | 59 return Boolean.TRUE.equals(mFakeRTL) ? ViewCompat.LAYOUT_DIRECTION_RTL in getLayoutDirection()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
D | win_asm.bat | 2 set ASMFLAGS= -checkreglist -CPU ARM1136 -PreDefine "H264DEC_WINASM SETL {TRUE}"
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | Decoder.java | 43 return mBuf.get() == 0 ? Boolean.FALSE : Boolean.TRUE; in readObject()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | Constants.java | 159 static final int TRUE = 1; field in Constants
|