Home
last modified time | relevance | path

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

123

/aosp12/packages/apps/Camera2/src/com/android/camera/session/
H A DPlaceholderManager.java86 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()
102 if (title == null || placeholder == null) { in insertPlaceholder()
107 Bitmap bitmap = BitmapFactory.decodeByteArray(placeholder, 0, placeholder.length, options); in insertPlaceholder()
138 placeholder.outputTitle, placeholder.time, location, orientation, exif, jpeg, width, in finishPlaceholder()
150 public void replacePlaceholder(Placeholder session, Bitmap placeholder) { in replacePlaceholder() argument
151 Storage.instance().replacePlaceholder(session.outputUri, placeholder); in replacePlaceholder()
160 public Optional<Bitmap> getPlaceholder(Placeholder placeholder) { in getPlaceholder() argument
170 public void removePlaceholder(Placeholder placeholder) { in removePlaceholder() argument
[all …]
H A 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()
H A 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
/aosp12/system/bt/gd/common/
H A Dmetric_id_manager_unittest.cc144 int placeholder = 22; in TEST() local
204 int placeholder = 243; in TEST() local
279 placeholder = 9; in TEST()
282 ASSERT_EQ(placeholder, 6); in TEST()
285 ASSERT_EQ(placeholder, 4); in TEST()
293 placeholder = 27; in TEST()
323 placeholder = 3; in TEST()
329 placeholder = 3; in TEST()
335 placeholder = 4; in TEST()
348 int placeholder = 22; in TEST() local
[all …]
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java98 Drawable placeholder = null; in onOptsChanged() local
101 if (mOpts.placeholder != null) { in onOptsChanged()
104 placeholder = constantState.newDrawable(mResources); in onOptsChanged()
106 placeholder = mOpts.placeholder; in onOptsChanged()
109 Rect bounds = mOpts.placeholder.getBounds(); in onOptsChanged()
112 } else if (placeholder.getIntrinsicWidth() != -1) { in onOptsChanged()
113 placeholderWidth = placeholder.getIntrinsicWidth(); in onOptsChanged()
117 } else if (placeholder.getIntrinsicHeight() != -1) { in onOptsChanged()
748 public Drawable placeholder; field in ExtendedBitmapDrawable.ExtendedOptions
781 this.placeholder = placeholder; in ExtendedOptions()
[all …]
H A DCircularBitmapDrawable.java103 BitmapDrawable placeholder = in onDrawPlaceholderOrProgress() local
105 Bitmap bitmap = placeholder.getBitmap(); in onDrawPlaceholderOrProgress()
106 float alpha = placeholder.getPaint().getAlpha() / 255f; in onDrawPlaceholderOrProgress()
/aosp12/frameworks/base/tools/aapt/
H A Dpseudolocalize.h13 virtual String16 placeholder(const String16& text) = 0;
20 String16 placeholder(const String16& text) { return text; } in placeholder() function
28 String16 placeholder(const String16& text);
37 String16 placeholder(const String16& text);
H A Dpseudolocalize.cpp77 chunk = mImpl->placeholder(chunk); in text()
292 result += ((c == '%') ? chunk : placeholder(chunk)); in text()
353 String16 PseudoMethodAccent::placeholder(const String16& source) { in placeholder() function in PseudoMethodAccent
394 String16 PseudoMethodBidi::placeholder(const String16& source) { in placeholder() function in PseudoMethodBidi
/aosp12/system/bt/gd/dumpsys/internal/test_data/
H A Dstruct_generated.h19 int32_t placeholder() const { in placeholder() function
31 void add_placeholder(int32_t placeholder) { in add_placeholder()
32 fbb_.AddElement<int32_t>(TestSubTable::VT_PLACEHOLDER, placeholder, 0); in add_placeholder()
46 flatbuffers::FlatBufferBuilder& _fbb, int32_t placeholder = 0) {
48 builder_.add_placeholder(placeholder);
H A Dstruct.fbs4 placeholder:int;
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DWallpaperSurfaceCallback.java158 Integer placeholder = null; in setupSurfaceWallpaper() local
161 placeholder = mPlaceholderColor.get(); in setupSurfaceWallpaper()
166 mHomeImageWallpaper.setBackgroundColor((placeholder != null) ? placeholder in setupSurfaceWallpaper()
/aosp12/art/test/2026-DifferentMemoryLSCouples/src/
H A DMain.java19 int placeholder; field in Main.A
23 int placeholder; field in Main.B
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/slice/
H A DWifiSlice.java108 final CharSequence placeholder = mContext.getText(R.string.summary_placeholder); in getSlice() local
113 listBuilder.addRow(getLoadingRow(placeholder)); in getSlice()
116 .setTitle(placeholder) in getSlice()
117 .setSubtitle(placeholder)); in getSlice()
243 private ListBuilder.RowBuilder getLoadingRow(CharSequence placeholder) { in getLoadingRow() argument
252 .setTitle(placeholder) in getLoadingRow()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A 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()
/aosp12/packages/apps/Camera2/src/com/android/camera/data/
H A 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()
/aosp12/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser.cpp162 bool ReplacePlaceholder(const StringPiece& placeholder, const Maybe<StringPiece>& value, in ReplacePlaceholder() argument
164 size_t offset = name->find(placeholder.data()); in ReplacePlaceholder()
170 diag->Error(DiagMessage() << "Missing placeholder for artifact: " << placeholder); in ReplacePlaceholder()
180 diag->Error(DiagMessage() << "Placeholder present but no value for artifact: " << placeholder); in ReplacePlaceholder()
184 name->replace(offset, placeholder.length(), value.value().data()); in ReplacePlaceholder()
187 if (name->find(placeholder.data()) != std::string::npos) { in ReplacePlaceholder()
188 diag->Error(DiagMessage() << "Placeholder present multiple times: " << placeholder); in ReplacePlaceholder()
/aosp12/art/test/569-checker-pattern-replacement/src/
H A DMain.java634 public static double constructBase(int intValue, long placeholder) { in constructBase() argument
635 Base b = new Base(intValue, placeholder); in constructBase()
1152 public static int constructDerivedInSecondDex(long placeholder) { in constructDerivedInSecondDex() argument
1153 DerivedInSecondDex d = new DerivedInSecondDex(placeholder); in constructDerivedInSecondDex()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
H A DContentUriAsset.java250 .placeholder(new ColorDrawable(placeholderColor))) in loadDrawable()
264 .placeholder(new ColorDrawable(placeholderColor))) in loadLowResDrawable()
276 .placeholder(new ColorDrawable(placeholderColor))) in loadDrawableWithTransition()
H A DLiveWallpaperThumbAsset.java107 .placeholder(new ColorDrawable(placeholderColor)); in loadDrawable()
110 .placeholder(new ColorDrawable(placeholderColor)); in loadDrawable()
130 .placeholder(new ColorDrawable(placeholderColor))) in loadLowResDrawable()
/aosp12/system/bt/gd/dumpsys/internal/
H A 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()
/aosp12/packages/apps/Camera2/src/com/android/camera/captureintent/
H A 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
/aosp12/art/test/683-clinit-inline-static-invoke/src/
H A DMain.java29 int placeholder = MyTimeZone.getDefaultTimeZoneType(); in main() local
/aosp12/art/test/910-methods/src/art/
H A DTest910.java109 private static String placeholder; field in Test910.NestedSynthetic
113 System.out.println(NestedSynthetic.placeholder); in placeholderAccess()
/aosp12/frameworks/av/services/mediametrics/fuzzer/
H A DREADME.md24 …ction: A function | URL and Values obtained from FuzzedDataProvider, a placeholder function was pa…
26 …:seconds` : value obtained from FuzzedDataProvider, `std::function`: a placeholder function was us…
/aosp12/packages/inputmethods/LatinIME/tests/res/raw/
H A Ddummy_resource_for_testing.txt1 /* This placeholder raw resource is needed to be able to load string resources from a test APK

123