/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/ |
D | Camera2PortabilityTest.java | 114 AndroidCamera2Settings set = new AndroidCamera2Settings( in camera2SettingsSetOptionsAndGetRequestSettings() local 119 set.setFocusMode(FocusMode.AUTO); in camera2SettingsSetOptionsAndGetRequestSettings() 120 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_AUTO); in camera2SettingsSetOptionsAndGetRequestSettings() 121 set.setFocusMode(FocusMode.CONTINUOUS_PICTURE); in camera2SettingsSetOptionsAndGetRequestSettings() 122 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_CONTINUOUS_PICTURE); in camera2SettingsSetOptionsAndGetRequestSettings() 123 set.setFocusMode(FocusMode.CONTINUOUS_VIDEO); in camera2SettingsSetOptionsAndGetRequestSettings() 124 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_CONTINUOUS_VIDEO); in camera2SettingsSetOptionsAndGetRequestSettings() 125 set.setFocusMode(FocusMode.EXTENDED_DOF); in camera2SettingsSetOptionsAndGetRequestSettings() 126 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_EDOF); in camera2SettingsSetOptionsAndGetRequestSettings() 127 set.setFocusMode(FocusMode.FIXED); in camera2SettingsSetOptionsAndGetRequestSettings() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicColorMatrix.java | 159 mMatrix.set(0, 0, 0.299f); in setGreyscale() 160 mMatrix.set(1, 0, 0.587f); in setGreyscale() 161 mMatrix.set(2, 0, 0.114f); in setGreyscale() 162 mMatrix.set(0, 1, 0.299f); in setGreyscale() 163 mMatrix.set(1, 1, 0.587f); in setGreyscale() 164 mMatrix.set(2, 1, 0.114f); in setGreyscale() 165 mMatrix.set(0, 2, 0.299f); in setGreyscale() 166 mMatrix.set(1, 2, 0.587f); in setGreyscale() 167 mMatrix.set(2, 2, 0.114f); in setGreyscale() 178 mMatrix.set(0, 0, 1.f); in setYUVtoRGB() [all …]
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicColorMatrix.java | 146 mMatrix.set(0, 0, 0.299f); 147 mMatrix.set(1, 0, 0.587f); 148 mMatrix.set(2, 0, 0.114f); 149 mMatrix.set(0, 1, 0.299f); 150 mMatrix.set(1, 1, 0.587f); 151 mMatrix.set(2, 1, 0.114f); 152 mMatrix.set(0, 2, 0.299f); 153 mMatrix.set(1, 2, 0.587f); 154 mMatrix.set(2, 2, 0.114f); 165 mMatrix.set(0, 0, 1.f); [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SettingsStringUtil.java | 85 final ColonDelimitedSet<String> set in addAll() local 87 return set.addAll(elements) ? set.toString() : delimitedElements; in addAll() 91 final ColonDelimitedSet<String> set in add() local 93 if (set.contains(element)) { in add() 96 set.add(element); in add() 97 return set.toString(); in add() 101 final ColonDelimitedSet<String> set in remove() local 103 if (!set.contains(element)) { in remove() 106 set.remove(element); in remove() 107 return set.toString(); in remove() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/data-binding/integration-tests/IndependentLibrary/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/data-binding/integration-tests/App With Spaces/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/data-binding/samples/BindingDemo/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/data-binding/compiler/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/data-binding/developmentPlugins/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/base/tests/TouchLatency/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/data-binding/integration-tests/MultiModuleTestApp/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyResultMapper.java | 90 result.set(SENSOR_TIMESTAMP, timestamp); in cachedConvertResultMetadata() 129 result.set(COLOR_CORRECTION_ABERRATION_MODE, in convertResultMetadata() 162 result.set(CONTROL_CAPTURE_INTENT, captureIntent); in convertResultMetadata() 172 result.set(CONTROL_MODE, CONTROL_MODE_USE_SCENE_MODE); in convertResultMetadata() 174 result.set(CONTROL_MODE, CONTROL_MODE_AUTO); in convertResultMetadata() 185 result.set(CaptureResult.CONTROL_SCENE_MODE, mode); in convertResultMetadata() 191 result.set(CaptureResult.CONTROL_SCENE_MODE, CONTROL_SCENE_MODE_DISABLED); in convertResultMetadata() 202 result.set(CaptureResult.CONTROL_EFFECT_MODE, mode); in convertResultMetadata() 206 result.set(CaptureResult.CONTROL_EFFECT_MODE, CONTROL_EFFECT_MODE_OFF); in convertResultMetadata() 216 result.set(CONTROL_VIDEO_STABILIZATION_MODE, stabMode); in convertResultMetadata() [all …]
|
D | LegacyMetadataMapper.java | 166 m.set(LENS_FACING, i.facing == CameraInfo.CAMERA_FACING_BACK ? in mapCharacteristicsFromInfo() 168 m.set(SENSOR_ORIENTATION, i.orientation); in mapCharacteristicsFromInfo() 177 m.set(COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES, in mapCharacteristicsFromParameters() 213 m.set(NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES, in mapCharacteristicsFromParameters() 240 m.set(INFO_SUPPORTED_HARDWARE_LEVEL, INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY); in mapCharacteristicsFromParameters() 349 m.set(SCALER_AVAILABLE_STREAM_CONFIGURATIONS, in mapScalerStreamConfigs() 356 m.set(SCALER_AVAILABLE_MIN_FRAME_DURATIONS, new StreamConfigurationDuration[0]); in mapScalerStreamConfigs() 374 m.set(SCALER_AVAILABLE_STALL_DURATIONS, jpegStalls); in mapScalerStreamConfigs() 379 m.set(SENSOR_INFO_MAX_FRAME_DURATION, longestStallDuration); in mapScalerStreamConfigs() 400 m.set(CONTROL_AE_AVAILABLE_ANTIBANDING_MODES, Arrays.copyOf(modes, j)); in mapControlAe() [all …]
|
/frameworks/base/libs/hwui/ |
D | FrameInfo.h | 77 set(FrameInfoIndex::Vsync) = vsyncTime; in setVsync() 78 set(FrameInfoIndex::IntendedVsync) = intendedVsync; in setVsync() 81 set(FrameInfoIndex::HandleInputStart) = vsyncTime; in setVsync() 82 set(FrameInfoIndex::AnimationStart) = vsyncTime; in setVsync() 83 set(FrameInfoIndex::PerformTraversalsStart) = vsyncTime; in setVsync() 84 set(FrameInfoIndex::DrawStart) = vsyncTime; in setVsync() 89 set(FrameInfoIndex::Flags) |= static_cast<uint64_t>(frameInfoFlag); in addFlag() 94 inline int64_t& set(FrameInfoIndex index) { in set() function 106 set(FrameInfoIndex::SyncStart) = systemTime(CLOCK_MONOTONIC); in markSyncStart() 110 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(CLOCK_MONOTONIC); in markIssueDrawCommandsStart() [all …]
|
D | Vertex.h | 43 static inline void set(Vertex* vertex, float x, float y) { in set() function 48 static inline void set(Vertex* vertex, Vector2 val) { in set() function 49 set(vertex, val.x, val.y); in set() 53 set(vertex, src.x + x, src.y + y); in copyWithOffset() 67 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) { in set() function 88 static inline void set(ColorTextureVertex* vertex, float x, float y, in set() function 91 c.set(color); in set() 105 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { in set() function 111 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha); in copyWithOffset()
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Sets.java | 68 HashSet<E> set = new HashSet<E>(capacity); in newHashSet() local 69 Collections.addAll(set, elements); in newHashSet() 70 return set; in newHashSet() 90 SortedSet<E> set = new TreeSet<E>(); in newSortedSet() local 91 Collections.addAll(set, elements); in newSortedSet() 92 return set; in newSortedSet() 107 ArraySet<E> set = new ArraySet<E>(capacity); in newArraySet() local 108 Collections.addAll(set, elements); in newArraySet() 109 return set; in newArraySet()
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
D | FloatingActionButtonLollipop.java | 105 AnimatorSet set = new AnimatorSet(); in onElevationsChanged() local 106 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged() 109 set.setInterpolator(ANIM_INTERPOLATOR); in onElevationsChanged() 110 stateListAnimator.addState(PRESSED_ENABLED_STATE_SET, set); in onElevationsChanged() 113 set = new AnimatorSet(); in onElevationsChanged() 114 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged() 117 set.setInterpolator(ANIM_INTERPOLATOR); in onElevationsChanged() 118 stateListAnimator.addState(FOCUSED_ENABLED_STATE_SET, set); in onElevationsChanged() 121 set = new AnimatorSet(); in onElevationsChanged() 134 set.playSequentially(animators.toArray(new ObjectAnimator[0])); in onElevationsChanged() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 57 mBC->set("abcd", 4, "efgh", 4); in TEST_F() 67 mBC->set("ab", 2, "cd", 2); in TEST_F() 68 mBC->set("ef", 2, "gh", 2); in TEST_F() 79 mBC->set("abcd", 4, "efgh", 4); in TEST_F() 91 mBC->set("abcd", 4, "efgh", 4); in TEST_F() 99 mBC->set("abcd", 4, "efgh", 4); in TEST_F() 105 mBC->set("abcd", 4, "efgh", 4); in TEST_F() 106 mBC->set("abcd", 4, "ijkl", 4); in TEST_F() 116 mBC->set("abcd", 4, "efgh", 4); in TEST_F() 117 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_F() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureTarget.java | 283 mTargetQuad.p0.set(0f, 0.0f); in updateTargetRect() 284 mTargetQuad.p1.set(1f, 0.0f); in updateTargetRect() 285 mTargetQuad.p2.set(0f, 1.0f); in updateTargetRect() 286 mTargetQuad.p3.set(1f, 1.0f); in updateTargetRect() 292 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect() 293 mTargetQuad.p1.set(0.5f + 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect() 294 mTargetQuad.p2.set(0.5f - 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect() 295 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect() 299 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect() 300 mTargetQuad.p1.set(1.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect() [all …]
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
D | AutoFocusStateMachine.java | 230 repeatingBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in lockAutoFocus() 231 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in lockAutoFocus() 233 repeatingBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in lockAutoFocus() 235 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in lockAutoFocus() 271 repeatingBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in unlockAutoFocus() 272 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in unlockAutoFocus() 274 repeatingBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in unlockAutoFocus() 276 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in unlockAutoFocus() 312 repeatingBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in setActiveAutoFocus() 313 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in setActiveAutoFocus() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | WindowManagerProxy.java | 68 mTmpRect1.set(mDockedRect); 69 mTmpRect2.set(mTempDockedTaskRect); 70 mTmpRect3.set(mTempDockedInsetRect); 71 mTmpRect4.set(mTempOtherTaskRect); 72 mTmpRect5.set(mTempOtherInsetRect); 139 mTmpRect1.set(mTouchableRegion); 159 mDockedRect.set(docked); in resizeDockedStack() 161 mTempDockedTaskRect.set(tempDockedTaskRect); in resizeDockedStack() 166 mTempDockedInsetRect.set(tempDockedInsetRect); in resizeDockedStack() 171 mTempOtherTaskRect.set(tempOtherTaskRect); in resizeDockedStack() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | WifiAssociationTest.java | 93 config.allowedGroupCiphers.set(GroupCipher.WEP40); in getConfig() 100 config.allowedGroupCiphers.set(GroupCipher.WEP104); in getConfig() 105 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in getConfig() 106 config.allowedProtocols.set(Protocol.WPA); in getConfig() 107 config.allowedPairwiseCiphers.set(PairwiseCipher.TKIP); in getConfig() 108 config.allowedGroupCiphers.set(GroupCipher.TKIP); in getConfig() 113 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in getConfig() 114 config.allowedProtocols.set(Protocol.RSN); in getConfig() 115 config.allowedPairwiseCiphers.set(PairwiseCipher.CCMP); in getConfig() 116 config.allowedGroupCiphers.set(GroupCipher.CCMP); in getConfig()
|