Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/utiltests/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/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/base/core/java/android/hardware/
DCamera.java2162 private static final String TRUE = "true"; field in Camera.Parameters
3606 set(KEY_AUTO_EXPOSURE_LOCK, toggle ? TRUE : FALSE); in setAutoExposureLock()
3622 return TRUE.equals(str); in getAutoExposureLock()
3636 return TRUE.equals(str); in isAutoExposureLockSupported()
3676 set(KEY_AUTO_WHITEBALANCE_LOCK, toggle ? TRUE : FALSE); in setAutoWhiteBalanceLock()
3694 return TRUE.equals(str); in getAutoWhiteBalanceLock()
3708 return TRUE.equals(str); in isAutoWhiteBalanceLockSupported()
3745 return TRUE.equals(str); in isZoomSupported()
3783 return TRUE.equals(str); in isSmoothZoomSupported()
3990 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE); in setRecordingHint()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dpsy_const.h28 #define TRUE 1 macro
/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/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dwin_asm.bat2 set ASMFLAGS= -checkreglist -CPU ARM1136 -PreDefine "H264DEC_WINASM SETL {TRUE}"
/frameworks/base/core/java/android/widget/
DRelativeLayout.java85 public static final int TRUE = -1; field in RelativeLayout
1240 @ViewDebug.IntToString(from = TRUE, to = "true"),
1314 rules[ALIGN_PARENT_LEFT] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1317 rules[ALIGN_PARENT_TOP] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1320 rules[ALIGN_PARENT_RIGHT] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1323 rules[ALIGN_PARENT_BOTTOM] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1326 rules[CENTER_IN_PARENT] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1329 rules[CENTER_HORIZONTAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1332 rules[CENTER_VERTICAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1347 rules[ALIGN_PARENT_START] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java36 return Boolean.TRUE.equals(isGrayscale); in isGrayscale()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DDecoder.java43 return mBuf.get() == 0 ? Boolean.FALSE : Boolean.TRUE; in readObject()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DWrappedRecyclerView.java106 return Boolean.TRUE.equals(mFakeRTL) ? ViewCompat.LAYOUT_DIRECTION_RTL in getLayoutDirection()
/frameworks/base/services/core/java/com/android/server/hdmi/
DConstants.java159 static final int TRUE = 1; field in Constants
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4def.h110 #define TRUE 1 macro

1234