Searched defs:bits (Results 26 - 50 of 54) sorted by relevance

123

/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DIconCompat.java157 * @param bits A valid {@link android.graphics.Bitmap} object
160 public static IconCompat createWithBitmap(Bitmap bits) { argument
161 if (bits == null) {
165 rep.mObj1 = bits;
172 * @param bits A valid {@link android.graphics.Bitmap} object
175 public static IconCompat createWithAdaptiveBitmap(Bitmap bits) { argument
176 if (bits == null) {
180 rep.mObj1 = bits;
/frameworks/data-binding/internal-prebuilts/com/android/databinding/baseLibrary/1.0-rc3/
H A DbaseLibrary-1.0-rc3.jar ... .Object, int, java.lang.Object, int) long bits int startIndex int endIndex Object sender int arg Object arg2 ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-baseLibrary.jar ... .Object, int, java.lang.Object, int) long bits int startIndex int endIndex Object sender int arg Object arg2 ...
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerDyn.cpp171 int bits = 0; local
174 for (int i=lscale; i; ++bits, i>>=1)
177 mShift = kNumPhaseBits - bits;
481 // check if locked phase (works only if mPhaseIncrement has no "fractional phase bits")
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp595 void *bits = NULL; local
607 Rect(width, height), &bits);
616 ycbcr.y = bits;
617 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride;
625 ycbcr.y = bits;
626 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride;
641 (const uint8_t *)bits, width, height, srcStride,
/frameworks/base/core/java/com/android/internal/util/function/pooled/
H A DPooledLambdaImpl.java514 private static int unmask(int mask, int bits) { argument
515 return (bits & mask) / (1 << Integer.numberOfTrailingZeros(mask));
519 * Contract for encoding a supported lambda type in {@link #MASK_BIT_COUNT} bits
/frameworks/base/graphics/java/android/graphics/drawable/
H A DIcon.java590 * @param bits A valid {@link android.graphics.Bitmap} object
592 public static Icon createWithBitmap(Bitmap bits) { argument
593 if (bits == null) {
597 rep.setBitmap(bits);
604 * @param bits A valid {@link android.graphics.Bitmap} object
606 public static Icon createWithAdaptiveBitmap(Bitmap bits) { argument
607 if (bits == null) {
611 rep.setBitmap(bits);
769 final Bitmap bits = Bitmap.CREATOR.createFromParcel(in);
770 mObj1 = bits;
[all...]
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Ddisplay_protocol.h70 bool IsSet(Integer bits) const { return (value_ & bits) == bits; }
71 bool IsClear(Integer bits) const { return (value_ & bits) == 0; }
73 void Set(Integer bits) { value_ |= bits; } argument
74 void Clear(Integer bits) { value_ &= ~bits; } argument
76 Integer operator|(Integer bits) cons
79 operator |=(Integer bits) argument
83 operator &=(Integer bits) argument
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.cpp162 // There's no need to endian-swap within 'bits'
164 uint32_t bits = *d32++; local
166 // Detect if any (odd, even) pair of bits are '11'
167 // bits: b31 b30 b29 ... b3 b2 b1 b0
168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1
171 if (((bits & (bits >> 1)) & 0x55555555) != 0) {
216 uint32_t bits = *d32++; local
220 bits = swap(bits);
339 uint32_t bits = *d32++; local
463 uint32_t bits = *d32++; local
[all...]
H A Degl.cpp269 void* bits; member in struct:android::egl_window_surface_v2_t
366 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL)
431 GRALLOC_USAGE_SW_WRITE_OFTEN, &bits) != NO_ERROR) {
442 if (buffer && bits) {
443 bits = NULL;
530 copyBlt(buffer, bits, previousBuffer, prevBits, copyBack);
588 GRALLOC_USAGE_SW_WRITE_OFTEN, &bits) != NO_ERROR) {
615 buffer.data = (GGLubyte*)bits;
630 buffer.data = (GGLubyte*)bits; // FIXME: hopefully is is LOCKED!!!
/frameworks/rs/script_api/
H A DGenerateTestFiles.cpp359 int bits = min(compatibleType.exponentBits, generatedType.exponentBits) - 1; local
360 maxValue = ldexp(0.95, (1 << bits) - 1);
/frameworks/av/media/extractors/ogg/
H A DOggExtractor.cpp82 // Returns an approximate bitrate in bits per second.
527 // Only bits 0-2 are defined in version 0.
1019 oggpack_buffer bits; local
1020 oggpack_readinit(&bits, &ref);
1027 char chr = oggpack_read(&bits, 8);
1033 int32_t vendorLen = oggpack_read(&bits, 32);
1041 oggpack_read(&bits, 8);
1044 int32_t n = oggpack_read(&bits, 32);
1046 if (n < 0 || n > ((commentSize - oggpack_bytes(&bits)) >> 2)) {
1050 int32_t len = oggpack_read(&bits, 3
1108 oggpack_buffer bits; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp216 BitSet64 bits = local
218 if (!bits.isEmpty()) {
227 uint32_t axis = bits.clearFirstMarkedBit();
229 } while (!bits.isEmpty());
280 BitSet64 bits = BitSet64(rawPointerCoords->bits); local
281 bits.clearBit(AMOTION_EVENT_AXIS_X);
282 bits.clearBit(AMOTION_EVENT_AXIS_Y);
283 bits.clearBit(AMOTION_EVENT_AXIS_PRESSURE);
284 bits
[all...]
H A Dandroid_hardware_camera2_DngCreator.cpp1121 // Set bits per sample
1122 uint16_t bits = static_cast<uint16_t>(bitsPerSample); local
1123 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_BITSPERSAMPLE, 1, &bits, TIFF_IFD_0), env,
2003 // Set bits per sample
2004 uint16_t bits[SAMPLES_PER_RGB_PIXEL]; local
2005 for (int i = 0; i < SAMPLES_PER_RGB_PIXEL; i++) bits[i] = BITS_PER_RGB_SAMPLE;
2007 writer->addEntry(TAG_BITSPERSAMPLE, SAMPLES_PER_RGB_PIXEL, bits, TIFF_IFD_0),
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMRelocator.cpp265 unsigned bits) {
267 int32_t max = (1 << (bits - 1)) - 1;
268 int32_t min = -(1 << (bits - 1));
264 helper_check_signed_overflow(Relocator::DWord pValue, unsigned bits) argument
/frameworks/native/libs/gui/
H A DGLConsumer.cpp64 char const* bits; member in struct:android::__anon1591
331 uint32_t* bits; local
332 buffer->lock(GraphicBuffer::USAGE_SW_WRITE_RARELY, reinterpret_cast<void**>(&bits));
335 memset(bits, 0, stride * height * 4);
338 bits[x] = (kDebugData.bits[y + kDebugData.width + x] == 'X') ?
341 bits += stride;
/frameworks/rs/
H A DrsContext.cpp829 void rsi_ContextDump(Context *rsc, int32_t bits) { argument
H A DrsHidlAdaptation.cpp479 void RsHidlAdaptation::ContextDump (RsContext context, int32_t bits) argument
H A DrsApiStubs.cpp209 extern "C" void rsContextDump (RsContext ctxWrapper, int32_t bits) argument
211 RS_DISPATCH(ctxWrapper, ContextDump, bits);
/frameworks/rs/rsov/compiler/spirit/
H A Dmodule.cpp290 TypeIntInst *Module::getIntType(int bits, bool isSigned) { argument
291 return getGlobalSection()->getIntType(bits, isSigned);
294 TypeIntInst *Module::getUnsignedIntType(int bits) { argument
295 return getIntType(bits, false);
298 TypeFloatInst *Module::getFloatType(int bits) { argument
299 return getGlobalSection()->getFloatType(bits);
731 TypeIntInst *GlobalSection::getIntType(int bits, bool isSigned) {
733 switch (bits) {
753 switch (bits) {
766 TypeFloatInst *GlobalSection::getFloatType(int bits) {
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp1988 return n_bits; /* # bits for intra_dc dpcm */
2734 Int residual, vlc_code_mag, bits, entry; local
2743 bits = PutMV(entry, bs);
2748 bits += f_code - 1;
/frameworks/native/include/input/
H A DInput.h223 uint64_t bits __attribute__((aligned(8))); member in struct:android::PointerCoords
226 // for each axis that is present in the structure according to 'bits'.
230 BitSet64::clear(bits);
234 return BitSet64::isEmpty(bits);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMetrics.java2931 * Converts the first 31 bits of a BitSet to a little endian int
2933 private static int bitSetToInt(BitSet bits) { argument
2935 int nBits = bits.length() < 31 ? bits.length() : 31;
2937 value += bits.get(i) ? (1 << i) : 0;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java685 // Utility: build a new random integer token. The low bits are the ordinal of the
686 // operation for near-time uniqueness, and the upper bits are random for app-
1091 public byte[] randomBytes(int bits) { argument
1092 byte[] array = new byte[bits / 8];
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp842 nContextDump(JNIEnv *_env, jobject _this, jlong con, jint bits) argument
844 LOG_API("nContextDump, con(%p) bits(%i)", (RsContext)con, bits);
845 dispatchTab.ContextDump((RsContext)con, bits);
1039 nAllocationSyncAll(JNIEnv *_env, jobject _this, jlong con, jlong a, jint bits) argument
1041 LOG_API("nAllocationSyncAll, con(%p), a(%p), bits(0x%08x)", (RsContext)con, (RsAllocation)a, bits);
1042 dispatchTab.AllocationSyncAll((RsContext)con, (RsAllocation)a, (RsAllocationUsageType)bits);

Completed in 699 milliseconds

123