Searched refs:Int (Results 26 - 50 of 151) sorted by relevance

1234567

/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/
H A DPicture.kt35 inline fun Picture.record(width: Int, height: Int, block: Canvas.() -> Unit): Picture {
H A DColor.kt111 inline val @receiver:ColorInt Int.alpha get() = (this shr 24) and 0xff
119 inline val @receiver:ColorInt Int.red get() = (this shr 16) and 0xff
127 inline val @receiver:ColorInt Int.green get() = (this shr 8) and 0xff
135 inline val @receiver:ColorInt Int.blue get() = this and 0xff
149 inline operator fun @receiver:ColorInt Int.component1() = (this shr 24) and 0xff
163 inline operator fun @receiver:ColorInt Int.component2() = (this shr 16) and 0xff
177 inline operator fun @receiver:ColorInt Int.component3() = (this shr 8) and 0xff
191 inline operator fun @receiver:ColorInt Int.component4() = this and 0xff
199 inline val @receiver:ColorInt Int.luminance get() = Color.luminance(this)
206 inline fun @receiver:ColorInt Int
[all...]
/frameworks/support/core/ktx/src/main/java/androidx/core/text/
H A DSpannedString.kt31 inline fun <reified T : Any> Spanned.getSpans(start: Int = 0, end: Int = length): Array<out T> =
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/
H A DGeneratorOutput.kt21 data class ErrorMessage(val path: String, val line: Int, val column: Int, val message: String) {
/frameworks/support/core/ktx/src/main/java/androidx/core/util/
H A DLocale.kt27 val Locale.layoutDirection: Int
/frameworks/support/navigation/runtime/ktx/src/main/java/androidx/navigation/
H A DActivity.kt29 fun Activity.findNavController(@IdRes viewId: Int): NavController =
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/doclava/
H A DChecksConfig.kt27 val errors: List<Int>,
33 val warnings: List<Int>,
39 val hidden: List<Int>,
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/doclava/
H A DChecksConfig.kt27 val errors: List<Int>,
33 val warnings: List<Int>,
39 val hidden: List<Int>,
/frameworks/support/core/ktx/src/main/java/androidx/core/widget/
H A DToast.kt30 inline fun Context.toast(text: CharSequence, duration: Int = Toast.LENGTH_SHORT): Toast {
40 inline fun Context.toast(@StringRes resId: Int, duration: Int = Toast.LENGTH_SHORT): Toast {
/frameworks/support/navigation/testing/ktx/src/main/java/androidx/navigation/testing/
H A DTestNavigatorDestinationBuilder.kt30 inline fun NavGraphBuilder.test(@IdRes id: Int) = test(id) {}
36 @IdRes id: Int,
46 @IdRes id: Int
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_est.cpp52 const static Int tab_exclude[9][9] = // [last_loc][curr_loc]
65 const static Int refine_next[8][2] = /* [curr_k][increment] */
76 Int i0, Int j0, Int type_pred, Int fullsearch, Int *hp_guess);
78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur,
79 Int *imin, Int *jmi
[all...]
H A Dsad.cpp47 Int SAD_Macroblock_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
48 Int SAD_MB_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
49 Int SAD_MB_HTFM(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
50 Int SAD_Block_
[all...]
H A Dmotion_comp.cpp21 //const static Int roundtab4[] = {0,1,1,1};
22 //const static Int roundtab8[] = {0,0,1,1,1,1,1,2};
23 //const static Int roundtab12[] = {0,0,0,1,1,1,1,1,1,1,2,2};
24 const static Int roundtab16[] = {0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2};
37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
38 Int width, Int height, Int rnd
[all...]
H A Ddatapart_encode.cpp42 Int width = currVop->width; /* has to be Vop, for multiple of 16 */
43 Int lx = currVop->pitch; /* with padding */
44 Int offset = 0;
45 Int ind_x, ind_y;
46 Int start_packet_header = 0;
48 Int QP;
49 Int mbnum = 0, slice_counter = 0;
50 Int num_bits, packet_size = encParams->ResyncPacketsize;
54 Int numHeaderBits;
56 Int ncoefblc
[all...]
H A Dme_utils.cpp35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD)
37 Int i, j;
38 Int MB_mean, A, tmp, Th;
39 Int offset = (lx >> 2) - 4;
41 Int *pint = (Int *) cur, temp = 0;
110 void GetHalfPelMBRegion_C(UChar *cand, UChar *hmem, Int lx)
112 Int i, j;
116 Int offse
[all...]
H A Dcombined_encode.cpp25 PV_STATUS EncodeGOBHeader(VideoEncData *video, Int GOB_number, Int quant_scale, Int bs1stream);
43 Int width = currVop->width; /* has to be Vop, for multiple of 16 */
44 Int lx = currVop->pitch; /* with padding */
45 Int offset = 0;
46 Int ind_x, ind_y;
47 Int start_packet_header = 0;
49 Int QP;
50 Int mbnu
[all...]
H A Drate_control.cpp34 PV_STATUS RC_Cleanup(rateControl *rc[],Int numLayers);
37 PV_STATUS RC_UpdateBuffer(VideoEncData *video, Int currLayer, Int num_skip);
38 Int RC_GetSkipNextFrame(VideoEncData *video,Int currLayer);
39 void RC_ResetSkipNextFrame(void *video,Int currLayer);
55 Int numLayers = encParams->nLayers;
56 Int *LayerBitRate = encParams->LayerBitRate;
60 Int n;
70 //rc[n]->TMN_TH = (Int)((floa
[all...]
/frameworks/support/core/ktx/src/main/java/androidx/core/view/
H A DViewGroup.kt31 operator fun ViewGroup.get(index: Int) =
60 inline fun ViewGroup.forEachIndexed(action: (index: Int, view: View) -> Unit) {
86 inline fun ViewGroup.MarginLayoutParams.setMargins(@Px size: Int) {
97 @Px left: Int = leftMargin,
98 @Px top: Int = topMargin,
99 @Px right: Int = rightMargin,
100 @Px bottom: Int = bottomMargin
113 @Px start: Int = marginStart,
114 @Px top: Int = topMargin,
115 @Px end: Int
[all...]
H A DView.kt40 left: Int,
41 top: Int,
42 right: Int,
43 bottom: Int,
44 oldLeft: Int,
45 oldTop: Int,
46 oldRight: Int,
47 oldBottom: Int
95 inline fun View.announceForAccessibility(@StringRes resource: Int) {
108 @Px start: Int
[all...]
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/
H A DDrawable.kt43 @Px width: Int = intrinsicWidth,
44 @Px height: Int = intrinsicHeight,
75 @Px left: Int = bounds.left,
76 @Px top: Int = bounds.top,
77 @Px right: Int = bounds.right,
78 @Px bottom: Int = bounds.bottom
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
H A DAncestorCollector.kt27 class AncestorCollector(api: Int, dest: ClassVisitor?) : ClassVisitor(api, dest) {
33 override fun visit(version: Int, access: Int, name: String?, signature: String?,
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/
H A DSupportAndroidTestAppExtension.kt29 var minSdkVersion: Int = DEFAULT_MIN_SDK_VERSION
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/
H A DSupportAndroidTestAppExtension.kt29 var minSdkVersion: Int = DEFAULT_MIN_SDK_VERSION
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/
H A DParserErrors.kt30 fun cannotUseVariableIndices(name: String, position: Int) = "Cannot use variable indices." +
/frameworks/support/room/integration-tests/kotlintestapp/src/main/java/androidx/room/integration/kotlintestapp/vo/
H A DDataClassFromDependency.kt28 val id: Int,

Completed in 243 milliseconds

1234567