Home
last modified time | relevance | path

Searched refs:placeholder (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) { in insertPlaceholder() argument
86 if (title == null || placeholder == null) { in insertPlaceholder()
90 if (placeholder.getWidth() <= 0 || placeholder.getHeight() <= 0) { in insertPlaceholder()
94 Uri uri = Storage.instance().addPlaceholder(placeholder); in insertPlaceholder()
101 public Placeholder insertPlaceholder(String title, byte[] placeholder, long timestamp) { in insertPlaceholder() argument
102 if (title == null || placeholder == null) { in insertPlaceholder()
107 Bitmap bitmap = BitmapFactory.decodeByteArray(placeholder, 0, placeholder.length, options); in insertPlaceholder()
135 public Uri finishPlaceholder(Placeholder placeholder, Location location, int orientation, in finishPlaceholder() argument
137 …Uri resultUri = Storage.instance().updateImage(placeholder.outputUri, mContext.getContentResolver(… in finishPlaceholder()
138 placeholder.outputTitle, placeholder.time, location, orientation, exif, jpeg, width, in finishPlaceholder()
[all …]
DCaptureSessionImpl.java220 @Nonnull Bitmap placeholder, int progressMessageId) { in startSession() argument
231 mPlaceHolder = mPlaceholderManager.insertPlaceholder(mTitle, placeholder, in startSession()
236 onCaptureIndicatorUpdate(placeholder, 0); in startSession()
241 @Nonnull byte[] placeholder, int progressMessageId) { in startSession() argument
252 mPlaceHolder = mPlaceholderManager.insertPlaceholder(mTitle, placeholder, in startSession()
421 Bitmap placeholder = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in updatePreview()
423 mPlaceholderManager.replacePlaceholder(mPlaceHolder, placeholder); in updatePreview()
DCaptureSession.java182 public void startSession(@Nullable ImageLifecycleListener listener, @Nonnull byte[] placeholder, in startSession() argument
196 public void startSession(@Nullable ImageLifecycleListener listener, @Nonnull Bitmap placeholder, in startSession() argument
/packages/modules/Bluetooth/system/gd/common/
Dmetric_id_manager_unittest.cc144 int placeholder = 22; in TEST() local
145 int* pointer = &placeholder; in TEST()
166 ASSERT_EQ(placeholder, 44); in TEST()
171 ASSERT_EQ(placeholder, 44); in TEST()
180 ASSERT_EQ(placeholder, 88); in TEST()
183 ASSERT_EQ(placeholder, 176); in TEST()
188 ASSERT_EQ(placeholder, 176); in TEST()
192 ASSERT_EQ(placeholder, 176); in TEST()
194 ASSERT_EQ(placeholder, 88); in TEST()
204 int placeholder = 243; in TEST() local
[all …]
/packages/services/Car/tools/telemetry/lua-interpreter/static/js/
Dindex.js4 import {EditorView, placeholder} from '@codemirror/view';
45 placeholder(scriptInput.placeholder),
55 placeholder(publishedDataInput.placeholder),
64 placeholder(savedStateInput.placeholder),
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/glide/
DLoadMedia.kt32 import com.bumptech.glide.integration.compose.placeholder
67 loading = placeholder(ColorPainter(Color.Black)), in loadMedia()
68 failure = placeholder(ColorPainter(Color.Black)), in loadMedia()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperSurfaceCallback.java182 Integer placeholder = null; in setupSurfaceWallpaper() local
187 placeholder = colorInfo.getPlaceholderColor(); in setupSurfaceWallpaper()
193 int bkgColor = (placeholder != null) ? placeholder in setupSurfaceWallpaper()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaGrants.java456 StringBuilder placeholder = new StringBuilder("(");
458 placeholder.append("?,");
460 placeholder.deleteCharAt(placeholder.length() - 1);
461 placeholder.append(")");
462 return placeholder.toString();
/packages/apps/Camera2/src/com/android/camera/
DStorage.java228 public Uri addPlaceholder(Bitmap placeholder) { in addPlaceholder() argument
230 replacePlaceholder(uri, placeholder); in addPlaceholder()
251 public void replacePlaceholder(Uri uri, Bitmap placeholder) { in replacePlaceholder() argument
253 Point size = new Point(placeholder.getWidth(), placeholder.getHeight()); in replacePlaceholder()
255 sSessionsToPlaceholderBitmap.put(uri, placeholder); in replacePlaceholder()
/packages/modules/Virtualization/pvmfw/testdata/
Dtest_pvmfw_devices_with_multiple_dependencies.dts39 placeholder;
43 placeholder;
Dtest_pvmfw_devices_vm_dtbo_with_dependencies.dts54 placeholder;
58 placeholder;
Dexpected_dt_with_multiple_dependencies.dts46 placeholder;
51 placeholder;
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DWallpaperQuickSwitchOptionBinder.kt54 val placeholder: ImageView = view.requireViewById(R.id.placeholder) in <lambda>() constant
56 placeholder.setBackgroundColor(viewModel.placeholderColor) in <lambda>()
/packages/apps/Camera2/src/com/android/camera/data/
DSessionItem.java104 Optional<Bitmap> placeholder = Storage.instance().getPlaceholderForSession(mData.getUri()); in getView() local
105 if (placeholder.isPresent()) { in getView()
106 imageView.setImageBitmap(placeholder.get()); in getView()
DGlideFilmstripManager.java114 .placeholder(DEFAULT_PLACEHOLDER_RESOURCE) in GlideFilmstripManager()
121 .placeholder(DEFAULT_PLACEHOLDER_RESOURCE) in GlideFilmstripManager()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java146 final CharSequence placeholder = mContext.getText(R.string.summary_placeholder); in getSlice() local
151 listBuilder.addRow(getLoadingRow(placeholder)); in getSlice()
154 .setTitle(placeholder) in getSlice()
155 .setSubtitle(placeholder)); in getSlice()
345 private ListBuilder.RowBuilder getLoadingRow(CharSequence placeholder) { in getLoadingRow() argument
354 .setTitle(placeholder) in getLoadingRow()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppPermissionPreference.kt31 import com.android.settingslib.spaprivileged.framework.compose.placeholder
45 initialValue = AppPermissionSummaryState(summary = placeholder(), enabled = false), in AppPermissionPreference()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DContentUriAsset.java253 .placeholder(new ColorDrawable(placeholderColor))) in loadDrawable()
267 .placeholder(new ColorDrawable(placeholderColor))) in loadLowResDrawable()
279 .placeholder(new ColorDrawable(placeholderColor))) in loadDrawableWithTransition()
DLiveWallpaperThumbAsset.java197 .placeholder(new ColorDrawable(placeholderColor)); in loadDrawable()
200 .placeholder(new ColorDrawable(placeholderColor)); in loadDrawable()
221 .placeholder(new ColorDrawable(placeholderColor))) in loadLowResDrawable()
/packages/modules/Bluetooth/system/gd/dumpsys/internal/
Dfilter_internal_test.cc357 ASSERT_EQ(456, test_table->sub_table()->placeholder()); in TEST_F()
367 ASSERT_EQ(456, test_table->sub_table()->placeholder()); in TEST_F()
372 ASSERT_EQ(456, test_table->sub_table()->placeholder()); in TEST_F()
388 ASSERT_EQ(456, test_table->sub_table()->placeholder()); in TEST_F()
403 ASSERT_EQ(456, test_table->sub_table()->placeholder()); in TEST_F()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSession.java130 …public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Bitmap placeholder, in startSession() argument
136 …public synchronized void startSession(ImageLifecycleListener listener, @Nonnull byte[] placeholder, in startSession() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSettingsFooterPreferenceControllerTest.java143 String placeholder = "placeholder"; in testDefaultNotifPolicy_time_manualRule_setFooterTitle() local
144 injectManualRuleWithTimeCountdown(1000, placeholder); in testDefaultNotifPolicy_time_manualRule_setFooterTitle()
148 com.android.settings.R.string.zen_mode_settings_dnd_manual_end_time, placeholder)); in testDefaultNotifPolicy_time_manualRule_setFooterTitle()
/packages/modules/Bluetooth/system/gd/dumpsys/internal/test_data/
Dstruct.fbs4 placeholder:int;
/packages/inputmethods/LatinIME/tests/res/raw/
Ddummy_resource_for_testing.txt1 /* This placeholder raw resource is needed to be able to load string resources from a test APK
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DTimeoutTest.java41 public void placeholder() { in placeholder() method in TimeoutTest

12