Home
last modified time | relevance | path

Searched refs:inner (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/native/libs/bufferstreams/rust/src/subscribers/
Dshared.rs46 let inner = self.0.lock().unwrap(); in map_inner() localVariable
47 f(&inner.subscriber) in map_inner()
52 let mut inner = self.0.lock().unwrap(); in map_inner_mut() localVariable
53 f(&mut inner.subscriber) in map_inner_mut()
65 let inner = self.0.lock().unwrap(); in get_subscriber_stream_config() localVariable
66 inner.subscriber.get_subscriber_stream_config() in get_subscriber_stream_config()
70 let mut inner = self.0.lock().unwrap(); in on_subscribe() localVariable
72 !inner.is_subscribed, in on_subscribe()
75 inner.is_subscribed = true; in on_subscribe()
77 inner.subscriber.on_subscribe(subscription); in on_subscribe()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DBlackFrame.java85 Rect outer, Rect inner, int layer, DisplayContent dc, boolean forceDefaultOrientation, in BlackFrame() argument
95 mInnerRect = new Rect(inner); in BlackFrame()
97 if (outer.top < inner.top) { in BlackFrame()
99 outer.left, outer.top, inner.right, inner.top, dc, surfaceControl); in BlackFrame()
101 if (outer.left < inner.left) { in BlackFrame()
103 outer.left, inner.top, inner.left, outer.bottom, dc, surfaceControl); in BlackFrame()
105 if (outer.bottom > inner.bottom) { in BlackFrame()
107 inner.left, inner.bottom, outer.right, outer.bottom, dc, in BlackFrame()
110 if (outer.right > inner.right) { in BlackFrame()
112 inner.right, outer.top, outer.right, inner.bottom, dc, surfaceControl); in BlackFrame()
DLetterbox.java121 public void layout(Rect outer, Rect inner, Point surfaceOrigin) { in layout() argument
123 mInner.set(inner); in layout()
125 mTop.layout(outer.left, outer.top, outer.right, inner.top, surfaceOrigin); in layout()
126 mLeft.layout(outer.left, outer.top, inner.left, outer.bottom, surfaceOrigin); in layout()
127 mBottom.layout(outer.left, inner.bottom, outer.right, outer.bottom, surfaceOrigin); in layout()
128 mRight.layout(inner.right, outer.top, outer.right, outer.bottom, surfaceOrigin); in layout()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DMethodInvocationPerfTest.java140 Inner inner = new Inner(); in timePrivateInnerPublicMethod() local
143 inner.publicMethod(); in timePrivateInnerPublicMethod()
149 Inner inner = new Inner(); in timePrivateInnerProtectedMethod() local
152 inner.protectedMethod(); in timePrivateInnerProtectedMethod()
158 Inner inner = new Inner(); in timePrivateInnerPrivateMethod() local
161 inner.privateMethod(); in timePrivateInnerPrivateMethod()
167 Inner inner = new Inner(); in timePrivateInnerPackageMethod() local
170 inner.packageMethod(); in timePrivateInnerPackageMethod()
176 Inner inner = new Inner(); in timePrivateInnerFinalPackageMethod() local
179 inner.finalPackageMethod(); in timePrivateInnerFinalPackageMethod()
DFieldAccessPerfTest.java96 Inner inner = new Inner(); in timeFieldPrivateInnerClassPublicField() local
99 result = inner.mPublicInnerIntVal; in timeFieldPrivateInnerClassPublicField()
106 Inner inner = new Inner(); in timeFieldPrivateInnerClassProtectedField() local
109 result = inner.mProtectedInnerIntVal; in timeFieldPrivateInnerClassProtectedField()
116 Inner inner = new Inner(); in timeFieldPrivateInnerClassPrivateField() local
119 result = inner.mPrivateInnerIntVal; in timeFieldPrivateInnerClassPrivateField()
126 Inner inner = new Inner(); in timeFieldPrivateInnerClassPackageField() local
129 result = inner.mPackageInnerIntVal; in timeFieldPrivateInnerClassPackageField()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java37 public WmDisplayCutout(DisplayCutout inner, Size frameSize) { in WmDisplayCutout() argument
38 mInner = inner; in WmDisplayCutout()
49 DisplayCutout inner, int displayWidth, int displayHeight) { in computeSafeInsets() argument
50 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
54 final Rect safeInsets = DisplayCutout.computeSafeInsets(displayWidth, displayHeight, inner); in computeSafeInsets()
55 return new WmDisplayCutout(inner.replaceSafeInsets(safeInsets), displaySize); in computeSafeInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapter.java33 DozeSuspendScreenStatePreventingAdapter(DozeMachine.Service inner, Executor bgExecutor) { in DozeSuspendScreenStatePreventingAdapter() argument
34 super(inner, bgExecutor); in DozeSuspendScreenStatePreventingAdapter()
49 public static DozeMachine.Service wrapIfNeeded(DozeMachine.Service inner, in wrapIfNeeded() argument
51 return isNeeded(params) ? new DozeSuspendScreenStatePreventingAdapter(inner, bgExecutor) in wrapIfNeeded()
52 : inner; in wrapIfNeeded()
DDozeScreenStatePreventingAdapter.java33 DozeScreenStatePreventingAdapter(DozeMachine.Service inner, Executor bgExecutor) { in DozeScreenStatePreventingAdapter() argument
34 super(inner, bgExecutor); in DozeScreenStatePreventingAdapter()
51 public static DozeMachine.Service wrapIfNeeded(DozeMachine.Service inner, in wrapIfNeeded() argument
53 return isNeeded(params) ? new DozeScreenStatePreventingAdapter(inner, bgExecutor) : inner; in wrapIfNeeded()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DPictureCaptureDemo.java54 final LinearLayout inner = new LinearLayout(this); in onCreate() local
55 inner.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
57 inner.addView(spinner, in onCreate()
60 inner.addView(new View(this), new LayoutParams(50, 1)); in onCreate()
73 inner.addView(iv1, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
75 inner.addView(new View(this), new LayoutParams(50, 1)); in onCreate()
79 inner.addView(iv2, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
84 inner.addView(hello, in onCreate()
87 layout.addView(inner, in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java116 final PowerManager.WakeLock inner, WakeLockLogger logger, long maxTimeout) {
118 return new ClientTrackingWakeLock(inner, logger, maxTimeout);
131 logger.logAcquire(inner, why, count);
134 inner.acquire();
136 inner.acquire(maxTimeout);
155 logger.logRelease(inner, why, count);
157 inner.release();
DSettableWakeLock.java28 public SettableWakeLock(WakeLock inner, String why) { in SettableWakeLock() argument
29 Objects.requireNonNull(inner, "inner wakelock required"); in SettableWakeLock()
31 mInner = inner; in SettableWakeLock()
/frameworks/native/services/inputflinger/rust/
Dinput_filter.rs361 fn inner(&mut self) -> RwLockWriteGuard<'_, TestFilterInner> { in inner() method
370 self.inner().last_event = None in clear()
384 self.inner().last_event = Some(*event); in notify_key()
387 self.inner().is_device_changed_called = true; in notify_devices_changed()
390 self.inner().is_destroy_called = true; in destroy()
426 fn inner(&self) -> RwLockWriteGuard<'_, TestCallbacksInner> { in inner() method
435 self.inner().last_event = None; in clear()
436 self.inner().last_modifier_state = ModifierState::None; in clear()
437 self.inner().last_locked_modifier_state = ModifierState::None; in clear()
458 self.inner().last_event = Some(*event); in sendKeyEvent()
[all …]
Dinput_filter_thread.rs54 inner: Arc<RwLock<InputFilterThreadInner>>, field
74 inner: Arc::new(RwLock::new(InputFilterThreadInner { in new()
186 self.inner.write().unwrap() in filter_thread()
355 fn inner(&self) -> RwLockWriteGuard<'_, TestThreadCallbackInner> { in inner() method
366 self.inner().is_notify_timeout_called = true; in notify_timeout_expired()
/frameworks/native/libs/bufferstreams/rust/src/buffers/
Dbuffer_pool.rs88 let mut inner = self.0.lock().unwrap(); in next_buffer() localVariable
89 if let Some(buffer_id) = inner.available_buffers.pop() { in next_buffer()
92 inner.hardware_buffers[&buffer_id].clone(), in next_buffer()
101 let inner = self.0.lock().unwrap(); in size() localVariable
102 inner.size in size()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/dataclass/
DOuterClass_InnerClass_Delegate.java26 public static void constructor_after(InnerClass inner) { in constructor_after() argument
27 inner.mInnerId = 98; in constructor_after()
31 public static int get(OuterClass outer, InnerClass inner, int a, long b) { in get() argument
DOuterClass_StaticInnerClass_Delegate.java31 public static int get(StaticInnerClass inner, int a, long b) { in get() argument
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dtrusty.rs27 inner: *mut binder_rpc_server_bindgen::ARpcServerTrusty, field
41 binder_rpc_server_bindgen::ARpcServerTrusty_delete(self.inner); in drop()
59 let inner = unsafe { in new_per_session() localVariable
66 RpcServer { inner } in new_per_session()
130 self.inner, in on_connect()
/frameworks/base/tools/hoststubgen/hoststubgen/helper-runtime-src/com/android/hoststubgen/hosthelper/
DHostTestException.java23 public HostTestException(String message, Throwable inner) { in HostTestException() argument
24 super(message, inner); in HostTestException()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DTileDrawable.java44 public TileDrawable(Drawable inner, int innerWidth, int innerHeight, int fadeOutDurationMs, in TileDrawable() argument
47 mInner = inner != null ? inner.mutate() : null; in TileDrawable()
50 if (inner != null) { in TileDrawable()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java342 RemoteViews inner = new RemoteViews(mPackage, R.layout.remote_views_text);
343 inner.setOnClickPendingIntent(
350 RemoteViews listItem = new RemoteViews(inner, inner);
360 RemoteViews inner = new RemoteViews(mPackage, R.layout.remote_views_text);
361 inner.setOnClickPendingIntent(
369 Map.of(new SizeF(0, 0), inner, new SizeF(100, 100), inner));
395 RemoteViews inner = new RemoteViews(mPackage, R.layout.remote_views_text);
396 inner.setLightBackgroundLayoutId(R.layout.remote_views_light_background_text);
398 RemoteViews parent = new RemoteViews(inner, inner);
408 RemoteViews inner = new RemoteViews(mPackage, R.layout.remote_views_text);
[all …]
/frameworks/base/graphics/java/android/graphics/
DRenderEffect.java271 @NonNull RenderEffect inner in createChainEffect() argument
276 inner.getNativeInstance() in createChainEffect()
335 private static native long nativeCreateChainEffect(long outer, long inner); in nativeCreateChainEffect() argument
DBaseRecordingCanvas.java402 @NonNull RectF inner, float innerRx, float innerRy, @NonNull Paint paint) { in drawDoubleRoundRect() argument
405 inner.left, inner.top, inner.right, inner.bottom, innerRx, innerRy, in drawDoubleRoundRect()
411 @NonNull RectF inner, @NonNull float[] innerRadii, @NonNull Paint paint) { in drawDoubleRoundRect() argument
414 inner.left, inner.top, inner.right, inner.bottom, innerRadii, in drawDoubleRoundRect()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp145 SkRect inner = SkRect::MakeLTRB(innerLeft, innerTop, innerRight, innerBottom); in drawDoubleRoundRectXY() local
151 innerRRect.setRectXY(inner, innerRx, innerRy); in drawDoubleRoundRectXY()
162 SkRect inner = SkRect::MakeLTRB(innerLeft, innerTop, innerRight, innerBottom); in drawDoubleRoundRectRadii() local
170 innerRRect.setRectRadii(inner, innerSkVector); in drawDoubleRoundRectRadii()
/frameworks/base/libs/hwui/jni/
DPathEffect.cpp19 SkPathEffect* inner = reinterpret_cast<SkPathEffect*>(innerHandle); in Compose_constructor() local
21 sk_ref_sp(inner)).release(); in Compose_constructor()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp331 bool contains(const Rect& outer, const Rect& inner) { in contains() argument
332 return outer.left <= inner.left && outer.right >= inner.right && outer.top <= inner.top && in contains()
333 outer.bottom >= inner.bottom; in contains()

123