84.12 - Beta (84112)
This commit is contained in:
parent
35ad4f8c7b
commit
0a4cb56dcd
8778 changed files with 587 additions and 28353 deletions
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 84111
|
||||
versionName "84.11 - Beta"
|
||||
versionCode 84112
|
||||
versionName "84.12 - Beta"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="84111" android:versionName="84.11 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="84112" android:versionName="84.12 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||
|
|
|
@ -172,7 +172,7 @@ public class App extends Application {
|
|||
loggingProvider.init(appLog);
|
||||
c.i.c.c.e(this);
|
||||
String str = null;
|
||||
if (BuildUtils.INSTANCE.isValidBuildVersionName("84.11 - Beta")) {
|
||||
if (BuildUtils.INSTANCE.isValidBuildVersionName("84.12 - Beta")) {
|
||||
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true);
|
||||
} else {
|
||||
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(false);
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class StoreClientVersion extends Store {
|
|||
private int clientMinVersion;
|
||||
private final String clientMinVersionKey = "CLIENT_OUTDATED_KEY";
|
||||
private final SerializedSubject<Boolean, Boolean> clientOutdatedSubject = new SerializedSubject<>(BehaviorSubject.l0(Boolean.FALSE));
|
||||
private final int clientVersion = 84111;
|
||||
private final int clientVersion = 84112;
|
||||
|
||||
public static final /* synthetic */ void access$setClientMinVersion(StoreClientVersion storeClientVersion, int i) {
|
||||
storeClientVersion.setClientMinVersion(i);
|
||||
|
|
|
@ -77,7 +77,7 @@ public final class AnalyticSuperProperties {
|
|||
private final void setBaselineProperties() {
|
||||
String locale = Locale.getDefault().toString();
|
||||
m.checkNotNullExpressionValue(locale, "Locale.getDefault().toString()");
|
||||
updateSuperProperties(h0.mapOf(o.to("browser", "Discord Android"), o.to("browser_user_agent", "Discord-Android/84111"), o.to("client_build_number", 84111), o.to("client_version", "84.11 - Beta"), o.to("device", Build.MODEL + ", " + Build.PRODUCT), o.to("os", "Android"), o.to("os_sdk_version", String.valueOf(Build.VERSION.SDK_INT)), o.to("os_version", Build.VERSION.RELEASE), o.to("system_locale", t.replace$default(locale, "_", "-", false, 4, (Object) null))));
|
||||
updateSuperProperties(h0.mapOf(o.to("browser", "Discord Android"), o.to("browser_user_agent", "Discord-Android/84112"), o.to("client_build_number", 84112), o.to("client_version", "84.12 - Beta"), o.to("device", Build.MODEL + ", " + Build.PRODUCT), o.to("os", "Android"), o.to("os_sdk_version", String.valueOf(Build.VERSION.SDK_INT)), o.to("os_version", Build.VERSION.RELEASE), o.to("system_locale", t.replace$default(locale, "_", "-", false, 4, (Object) null))));
|
||||
}
|
||||
|
||||
private final void setSuperProperties(Map<String, ? extends Object> map) {
|
||||
|
|
|
@ -179,7 +179,7 @@ public final class RestAPI implements RestAPIInterface {
|
|||
|
||||
@Override // com.discord.restapi.RequiredHeadersInterceptor.HeadersProvider
|
||||
public String getUserAgent() {
|
||||
return "Discord-Android/84111";
|
||||
return "Discord-Android/84112";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ import com.discord.models.guild.Guild;
|
|||
import com.discord.models.member.GuildMember;
|
||||
import com.discord.models.message.Message;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.stores.StoreUserSettings;
|
||||
import com.discord.utilities.embed.InviteEmbedModel;
|
||||
import com.discord.widgets.chat.list.entries.DividerEntry;
|
||||
import com.discord.widgets.chat.list.entries.EmptyPinsEntry;
|
||||
|
@ -17,82 +18,89 @@ import com.discord.widgets.chat.pins.WidgetChannelPinnedMessages;
|
|||
import d0.t.m;
|
||||
import d0.t.n0;
|
||||
import d0.t.u;
|
||||
import j0.k.b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import rx.Observable;
|
||||
import rx.functions.Func9;
|
||||
/* compiled from: WidgetChannelPinnedMessages.kt */
|
||||
public final class WidgetChannelPinnedMessages$Model$Companion$get$1<T1, T2, T3, T4, T5, T6, T7, T8, T9, R> implements Func9<Long, List<? extends Message>, Map<Long, ? extends GuildRole>, Map<Long, ? extends GuildMember>, Map<Long, ? extends String>, Boolean, Boolean, Guild, InviteEmbedModel, WidgetChannelPinnedMessages.Model> {
|
||||
public final class WidgetChannelPinnedMessages$Model$Companion$get$1<T, R> implements b<List<? extends Message>, Observable<? extends WidgetChannelPinnedMessages.Model>> {
|
||||
public final /* synthetic */ Channel $channel;
|
||||
public final /* synthetic */ Context $context;
|
||||
|
||||
public WidgetChannelPinnedMessages$Model$Companion$get$1(Context context, Channel channel) {
|
||||
this.$context = context;
|
||||
this.$channel = channel;
|
||||
/* compiled from: WidgetChannelPinnedMessages.kt */
|
||||
/* renamed from: com.discord.widgets.chat.pins.WidgetChannelPinnedMessages$Model$Companion$get$1$1 reason: invalid class name */
|
||||
public static final class AnonymousClass1<T1, T2, T3, T4, T5, T6, T7, T8, T9, R> implements Func9<Long, WidgetChatListModelMessages.MessagesWithMetadata, Map<Long, ? extends GuildRole>, Map<Long, ? extends GuildMember>, Map<Long, ? extends String>, Boolean, Boolean, Guild, InviteEmbedModel, WidgetChannelPinnedMessages.Model> {
|
||||
public final /* synthetic */ List $pinnedMessages;
|
||||
public final /* synthetic */ WidgetChannelPinnedMessages$Model$Companion$get$1 this$0;
|
||||
|
||||
public AnonymousClass1(WidgetChannelPinnedMessages$Model$Companion$get$1 widgetChannelPinnedMessages$Model$Companion$get$1, List list) {
|
||||
this.this$0 = widgetChannelPinnedMessages$Model$Companion$get$1;
|
||||
this.$pinnedMessages = list;
|
||||
}
|
||||
|
||||
public final WidgetChannelPinnedMessages.Model call(Long l, List<Message> list, Map<Long, GuildRole> map, Map<Long, GuildMember> map2, Map<Long, String> map3, Boolean bool, Boolean bool2, Guild guild, InviteEmbedModel inviteEmbedModel) {
|
||||
public final WidgetChannelPinnedMessages.Model call(Long l, WidgetChatListModelMessages.MessagesWithMetadata messagesWithMetadata, Map<Long, GuildRole> map, Map<Long, GuildMember> map2, Map<Long, String> map3, Boolean bool, Boolean bool2, Guild guild, InviteEmbedModel inviteEmbedModel) {
|
||||
ArrayList arrayList;
|
||||
Map<Long, GuildMember> map4;
|
||||
List<Long> roles;
|
||||
List listOf;
|
||||
List<Message> list2 = list;
|
||||
Long l2 = l;
|
||||
Map<Long, GuildMember> map5 = map2;
|
||||
if (list2 == null) {
|
||||
List list = this.$pinnedMessages;
|
||||
if (list == null) {
|
||||
listOf = m.listOf(new LoadingEntry());
|
||||
} else if (list.isEmpty()) {
|
||||
String string = this.$context.getString(AnimatableValueParser.t1(this.$channel) ? 2131891565 : 2131891564);
|
||||
d0.z.d.m.checkNotNullExpressionValue(string, "context.getString(\n …}\n )");
|
||||
WidgetChannelPinnedMessages$Model$Companion$get$1 widgetChannelPinnedMessages$Model$Companion$get$1 = this.this$0;
|
||||
String string = widgetChannelPinnedMessages$Model$Companion$get$1.$context.getString(AnimatableValueParser.t1(widgetChannelPinnedMessages$Model$Companion$get$1.$channel) ? 2131891565 : 2131891564);
|
||||
d0.z.d.m.checkNotNullExpressionValue(string, "context.getString(\n … )");
|
||||
listOf = m.listOf(new EmptyPinsEntry(string));
|
||||
} else {
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
int size = list.size();
|
||||
int i = 0;
|
||||
while (i < size) {
|
||||
Message message = list2.get(i);
|
||||
for (int size = this.$pinnedMessages.size(); i < size; size = size) {
|
||||
Message message = (Message) this.$pinnedMessages.get(i);
|
||||
WidgetChatListModelMessages.Companion companion = WidgetChatListModelMessages.Companion;
|
||||
Channel channel = this.$channel;
|
||||
Channel channel = this.this$0.$channel;
|
||||
d0.z.d.m.checkNotNullExpressionValue(map5, "guildMembers");
|
||||
d0.z.d.m.checkNotNullExpressionValue(map, "guildRoles");
|
||||
HashMap hashMap = new HashMap();
|
||||
HashMap hashMap2 = new HashMap();
|
||||
d0.z.d.m.checkNotNullExpressionValue(bool, "allowAnimateEmojis");
|
||||
boolean booleanValue = bool.booleanValue();
|
||||
d0.z.d.m.checkNotNullExpressionValue(bool2, "autoPlayGifs");
|
||||
boolean booleanValue2 = bool2.booleanValue();
|
||||
boolean isRenderEmbedsEnabled = StoreStream.Companion.getUserSettings().getIsRenderEmbedsEnabled();
|
||||
HashMap hashMap3 = new HashMap();
|
||||
HashMap hashMap2 = new HashMap();
|
||||
d0.z.d.m.checkNotNullExpressionValue(inviteEmbedModel, "inviteEmbedModel");
|
||||
arrayList2.addAll(WidgetChatListModelMessages.Companion.getMessageItems$default(companion, channel, map2, map, hashMap, null, null, message, null, hashMap2, false, false, null, booleanValue, booleanValue2, isRenderEmbedsEnabled, false, hashMap3, inviteEmbedModel, false, 262144, null));
|
||||
if (i < list.size() - 1) {
|
||||
arrayList2.addAll(WidgetChatListModelMessages.Companion.getMessageItems$default(companion, channel, map2, map, new HashMap(), messagesWithMetadata.getMessageThreads().get(Long.valueOf(message.getId())), messagesWithMetadata.getThreadCountsAndLatestMessages().get(Long.valueOf(message.getId())), message, messagesWithMetadata.getMessageState().get(Long.valueOf(message.getId())), hashMap, false, false, null, booleanValue, booleanValue2, isRenderEmbedsEnabled, false, hashMap2, inviteEmbedModel, false, 262144, null));
|
||||
if (i < this.$pinnedMessages.size() - 1) {
|
||||
arrayList2.add(new DividerEntry());
|
||||
}
|
||||
i++;
|
||||
map5 = map2;
|
||||
arrayList2 = arrayList2;
|
||||
size = size;
|
||||
list2 = list;
|
||||
}
|
||||
arrayList = arrayList2;
|
||||
map4 = map2;
|
||||
GuildMember guildMember = map4.get(l);
|
||||
arrayList = arrayList2;
|
||||
l2 = l;
|
||||
GuildMember guildMember = map4.get(l2);
|
||||
if (guildMember == null || (roles = guildMember.getRoles()) == null || (r2 = u.toHashSet(roles)) == null) {
|
||||
Set set = n0.emptySet();
|
||||
}
|
||||
Channel channel2 = this.$channel;
|
||||
d0.z.d.m.checkNotNullExpressionValue(l, "meId");
|
||||
Channel channel2 = this.this$0.$channel;
|
||||
d0.z.d.m.checkNotNullExpressionValue(l2, "meId");
|
||||
long longValue = l.longValue();
|
||||
d0.z.d.m.checkNotNullExpressionValue(map3, "channelNames");
|
||||
return new WidgetChannelPinnedMessages.Model(channel2, guild, longValue, map3, arrayList, set, 0, 0, 0, 0, false, 1984, null);
|
||||
}
|
||||
arrayList = listOf;
|
||||
map4 = map5;
|
||||
GuildMember guildMember = map4.get(l);
|
||||
GuildMember guildMember = map4.get(l2);
|
||||
Set set = n0.emptySet();
|
||||
Channel channel2 = this.$channel;
|
||||
d0.z.d.m.checkNotNullExpressionValue(l, "meId");
|
||||
Channel channel2 = this.this$0.$channel;
|
||||
d0.z.d.m.checkNotNullExpressionValue(l2, "meId");
|
||||
long longValue = l.longValue();
|
||||
d0.z.d.m.checkNotNullExpressionValue(map3, "channelNames");
|
||||
return new WidgetChannelPinnedMessages.Model(channel2, guild, longValue, map3, arrayList, set, 0, 0, 0, 0, false, 1984, null);
|
||||
|
@ -101,7 +109,28 @@ public final class WidgetChannelPinnedMessages$Model$Companion$get$1<T1, T2, T3,
|
|||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object] */
|
||||
@Override // rx.functions.Func9
|
||||
public /* bridge */ /* synthetic */ WidgetChannelPinnedMessages.Model call(Long l, List<? extends Message> list, Map<Long, ? extends GuildRole> map, Map<Long, ? extends GuildMember> map2, Map<Long, ? extends String> map3, Boolean bool, Boolean bool2, Guild guild, InviteEmbedModel inviteEmbedModel) {
|
||||
return call(l, (List<Message>) list, (Map<Long, GuildRole>) map, (Map<Long, GuildMember>) map2, (Map<Long, String>) map3, bool, bool2, guild, inviteEmbedModel);
|
||||
public /* bridge */ /* synthetic */ WidgetChannelPinnedMessages.Model call(Long l, WidgetChatListModelMessages.MessagesWithMetadata messagesWithMetadata, Map<Long, ? extends GuildRole> map, Map<Long, ? extends GuildMember> map2, Map<Long, ? extends String> map3, Boolean bool, Boolean bool2, Guild guild, InviteEmbedModel inviteEmbedModel) {
|
||||
return call(l, messagesWithMetadata, (Map<Long, GuildRole>) map, (Map<Long, GuildMember>) map2, (Map<Long, String>) map3, bool, bool2, guild, inviteEmbedModel);
|
||||
}
|
||||
}
|
||||
|
||||
public WidgetChannelPinnedMessages$Model$Companion$get$1(Channel channel, Context context) {
|
||||
this.$channel = channel;
|
||||
this.$context = context;
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // j0.k.b
|
||||
public /* bridge */ /* synthetic */ Observable<? extends WidgetChannelPinnedMessages.Model> call(List<? extends Message> list) {
|
||||
return call((List<Message>) list);
|
||||
}
|
||||
|
||||
public final Observable<? extends WidgetChannelPinnedMessages.Model> call(List<Message> list) {
|
||||
StoreStream.Companion companion = StoreStream.Companion;
|
||||
Observable<Long> observeMeId = companion.getUsers().observeMeId();
|
||||
WidgetChatListModelMessages.MessagesWithMetadata.Companion companion2 = WidgetChatListModelMessages.MessagesWithMetadata.Companion;
|
||||
d0.z.d.m.checkNotNullExpressionValue(list, "pinnedMessages");
|
||||
return Observable.c(observeMeId, companion2.get(list), companion.getGuilds().observeRoles(this.$channel.f()), companion.getGuilds().observeComputed(this.$channel.f()), companion.getChannels().observeNames(), StoreUserSettings.observeIsAnimatedEmojisEnabled$default(companion.getUserSettings(), false, 1, null), StoreUserSettings.observeIsAutoPlayGifsEnabled$default(companion.getUserSettings(), false, 1, null), companion.getGuilds().observeGuild(this.$channel.f()), InviteEmbedModel.Companion.observe$default(InviteEmbedModel.Companion, null, null, null, null, 15, null), new AnonymousClass1(this, list));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,186 +0,0 @@
|
|||
package com.discord.widgets.chat.pins;
|
||||
|
||||
import android.net.Uri;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import c.a.d.l;
|
||||
import com.discord.api.activity.Activity;
|
||||
import com.discord.api.application.Application;
|
||||
import com.discord.api.channel.Channel;
|
||||
import com.discord.api.message.activity.MessageActivityType;
|
||||
import com.discord.api.message.reaction.MessageReaction;
|
||||
import com.discord.api.sticker.BaseSticker;
|
||||
import com.discord.api.sticker.Sticker;
|
||||
import com.discord.models.message.Message;
|
||||
import com.discord.restapi.RestAPIParams;
|
||||
import com.discord.stores.StoreChat;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.widgets.chat.WidgetUrlActions;
|
||||
import com.discord.widgets.chat.list.actions.WidgetChatListActions;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapter;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapterItemCallMessage;
|
||||
import d0.z.d.m;
|
||||
/* compiled from: WidgetChannelPinnedMessages.kt */
|
||||
public final class WidgetChannelPinnedMessages$onViewBound$1 implements WidgetChatListAdapter.EventHandler {
|
||||
public final /* synthetic */ WidgetChannelPinnedMessages this$0;
|
||||
|
||||
public WidgetChannelPinnedMessages$onViewBound$1(WidgetChannelPinnedMessages widgetChannelPinnedMessages) {
|
||||
this.this$0 = widgetChannelPinnedMessages;
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onBotUiComponentClicked(long j, Long l, long j2, long j3, Long l2, int i, RestAPIParams.ComponentInteractionData componentInteractionData) {
|
||||
m.checkNotNullParameter(componentInteractionData, "componentSendData");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onBotUiComponentClicked(this, j, l, j2, j3, l2, i, componentInteractionData);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCallMessageClicked(long j, WidgetChatListAdapterItemCallMessage.CallStatus callStatus) {
|
||||
m.checkNotNullParameter(callStatus, "callStatus");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onCallMessageClicked(this, j, callStatus);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCommandClicked(long j, Long l, long j2, long j3, long j4, long j5, String str) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onCommandClicked(this, j, l, j2, j3, j4, j5, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onDismissClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onDismissClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onInteractionStateUpdated(StoreChat.InteractionState interactionState) {
|
||||
m.checkNotNullParameter(interactionState, "interactionState");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onInteractionStateUpdated(this, interactionState);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onListClicked() {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onListClicked(this);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorAvatarClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageAuthorAvatarClicked(this, message, j);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorLongClicked(Message message, Long l) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageAuthorLongClicked(this, message, l);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorNameClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageAuthorNameClicked(this, message, j);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageBlockedGroupClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageBlockedGroupClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageClicked(Message message, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
StoreStream.Companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
l.c(this.this$0.requireContext(), false, null, 6);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageLongClicked(Message message, CharSequence charSequence, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(charSequence, "formattedMessage");
|
||||
WidgetChatListActions.Companion companion = WidgetChatListActions.Companion;
|
||||
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
|
||||
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
||||
companion.showForPin(parentFragmentManager, message.getChannelId(), message.getId(), charSequence);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOldestMessageId(long j, long j2) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onOldestMessageId(this, j, j2);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOpenPinsClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onOpenPinsClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onQuickAddReactionClicked(long j, long j2, long j3, long j4) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onQuickAddReactionClicked(this, j, j2, j3, j4);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public boolean onQuickDownloadClicked(Uri uri, String str) {
|
||||
m.checkNotNullParameter(uri, "uri");
|
||||
m.checkNotNullParameter(str, "fileName");
|
||||
return WidgetChatListAdapter.EventHandler.DefaultImpls.onQuickDownloadClicked(this, uri, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionClicked(long j, long j2, long j3, long j4, MessageReaction messageReaction, boolean z2) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onReactionClicked(this, j, j2, j3, j4, messageReaction, z2);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionLongClicked(long j, long j2, long j3, MessageReaction messageReaction) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onReactionLongClicked(this, j, j2, j3, messageReaction);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onSendGreetMessageClicked(long j, int i, Sticker sticker) {
|
||||
m.checkNotNullParameter(sticker, "sticker");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onSendGreetMessageClicked(this, j, i, sticker);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onStickerClicked(Message message, BaseSticker baseSticker) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(baseSticker, "sticker");
|
||||
StoreStream.Companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onThreadClicked(this, channel);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadLongClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onThreadLongClicked(this, channel);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUrlLongClicked(String str) {
|
||||
m.checkNotNullParameter(str, "url");
|
||||
WidgetUrlActions.Companion companion = WidgetUrlActions.Companion;
|
||||
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
|
||||
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
||||
companion.launch(parentFragmentManager, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserActivityAction(long j, long j2, long j3, MessageActivityType messageActivityType, Activity activity, Application application) {
|
||||
m.checkNotNullParameter(messageActivityType, "messageActivityType");
|
||||
m.checkNotNullParameter(activity, "activity");
|
||||
m.checkNotNullParameter(application, "application");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUserActivityAction(this, j, j2, j3, messageActivityType, activity, application);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserMentionClicked(long j, long j2, long j3) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUserMentionClicked(this, j, j2, j3);
|
||||
}
|
||||
}
|
|
@ -3,6 +3,7 @@ package com.discord.widgets.chat.pins;
|
|||
import a0.a.a.b;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.view.View;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
|
@ -10,18 +11,31 @@ import androidx.recyclerview.widget.RecyclerView;
|
|||
import c.a.d.l;
|
||||
import c.d.b.a.a;
|
||||
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||||
import com.discord.api.activity.Activity;
|
||||
import com.discord.api.application.Application;
|
||||
import com.discord.api.channel.Channel;
|
||||
import com.discord.api.message.activity.MessageActivityType;
|
||||
import com.discord.api.message.reaction.MessageReaction;
|
||||
import com.discord.api.sticker.BaseSticker;
|
||||
import com.discord.api.sticker.Sticker;
|
||||
import com.discord.app.AppFragment;
|
||||
import com.discord.databinding.WidgetChannelPinnedMessagesBinding;
|
||||
import com.discord.models.guild.Guild;
|
||||
import com.discord.models.message.Message;
|
||||
import com.discord.restapi.RestAPIParams;
|
||||
import com.discord.stores.SelectedChannelAnalyticsLocation;
|
||||
import com.discord.stores.StoreChat;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.stores.StoreUserSettings;
|
||||
import com.discord.utilities.embed.InviteEmbedModel;
|
||||
import com.discord.utilities.channel.ChannelSelector;
|
||||
import com.discord.utilities.mg_recycler.MGRecyclerAdapter;
|
||||
import com.discord.utilities.rx.ObservableExtensionsKt;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.discord.widgets.chat.WidgetUrlActions;
|
||||
import com.discord.widgets.chat.list.ThreadSpineItemDecoration;
|
||||
import com.discord.widgets.chat.list.actions.WidgetChatListActions;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapter;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapterItemCallMessage;
|
||||
import com.discord.widgets.chat.list.entries.ChatListEntry;
|
||||
import d0.z.d.m;
|
||||
import j0.l.e.j;
|
||||
|
@ -41,6 +55,174 @@ public final class WidgetChannelPinnedMessages extends AppFragment {
|
|||
private WidgetChatListAdapter adapter;
|
||||
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetChannelPinnedMessages$binding$2.INSTANCE, null, 2, null);
|
||||
|
||||
/* compiled from: WidgetChannelPinnedMessages.kt */
|
||||
public static final class ChannelPinnedMessagesAdapterEventHandler implements WidgetChatListAdapter.EventHandler {
|
||||
private final ChannelSelector channelSelector;
|
||||
private final Context context;
|
||||
private final FragmentManager fragmentManager;
|
||||
|
||||
public ChannelPinnedMessagesAdapterEventHandler(Context context, FragmentManager fragmentManager, ChannelSelector channelSelector) {
|
||||
m.checkNotNullParameter(context, "context");
|
||||
m.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
m.checkNotNullParameter(channelSelector, "channelSelector");
|
||||
this.context = context;
|
||||
this.fragmentManager = fragmentManager;
|
||||
this.channelSelector = channelSelector;
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onBotUiComponentClicked(long j, Long l, long j2, long j3, Long l2, int i, RestAPIParams.ComponentInteractionData componentInteractionData) {
|
||||
m.checkNotNullParameter(componentInteractionData, "componentSendData");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onBotUiComponentClicked(this, j, l, j2, j3, l2, i, componentInteractionData);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCallMessageClicked(long j, WidgetChatListAdapterItemCallMessage.CallStatus callStatus) {
|
||||
m.checkNotNullParameter(callStatus, "callStatus");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onCallMessageClicked(this, j, callStatus);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCommandClicked(long j, Long l, long j2, long j3, long j4, long j5, String str) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onCommandClicked(this, j, l, j2, j3, j4, j5, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onDismissClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onDismissClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onInteractionStateUpdated(StoreChat.InteractionState interactionState) {
|
||||
m.checkNotNullParameter(interactionState, "interactionState");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onInteractionStateUpdated(this, interactionState);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onListClicked() {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onListClicked(this);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorAvatarClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageAuthorAvatarClicked(this, message, j);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorLongClicked(Message message, Long l) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageAuthorLongClicked(this, message, l);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorNameClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageAuthorNameClicked(this, message, j);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageBlockedGroupClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onMessageBlockedGroupClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageClicked(Message message, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
StoreStream.Companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
l.c(this.context, false, null, 6);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageLongClicked(Message message, CharSequence charSequence, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(charSequence, "formattedMessage");
|
||||
WidgetChatListActions.Companion.showForPin(this.fragmentManager, message.getChannelId(), message.getId(), charSequence);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOldestMessageId(long j, long j2) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onOldestMessageId(this, j, j2);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOpenPinsClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onOpenPinsClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onQuickAddReactionClicked(long j, long j2, long j3, long j4) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onQuickAddReactionClicked(this, j, j2, j3, j4);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public boolean onQuickDownloadClicked(Uri uri, String str) {
|
||||
m.checkNotNullParameter(uri, "uri");
|
||||
m.checkNotNullParameter(str, "fileName");
|
||||
return WidgetChatListAdapter.EventHandler.DefaultImpls.onQuickDownloadClicked(this, uri, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionClicked(long j, long j2, long j3, long j4, MessageReaction messageReaction, boolean z2) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onReactionClicked(this, j, j2, j3, j4, messageReaction, z2);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionLongClicked(long j, long j2, long j3, MessageReaction messageReaction) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onReactionLongClicked(this, j, j2, j3, messageReaction);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onSendGreetMessageClicked(long j, int i, Sticker sticker) {
|
||||
m.checkNotNullParameter(sticker, "sticker");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onSendGreetMessageClicked(this, j, i, sticker);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onStickerClicked(Message message, BaseSticker baseSticker) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(baseSticker, "sticker");
|
||||
StoreStream.Companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
ChannelSelector.selectChannel$default(this.channelSelector, channel, null, SelectedChannelAnalyticsLocation.EMBED, 2, null);
|
||||
l.c(this.context, false, null, 6);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadLongClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onThreadLongClicked(this, channel);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUrlLongClicked(String str) {
|
||||
m.checkNotNullParameter(str, "url");
|
||||
WidgetUrlActions.Companion.launch(this.fragmentManager, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserActivityAction(long j, long j2, long j3, MessageActivityType messageActivityType, Activity activity, Application application) {
|
||||
m.checkNotNullParameter(messageActivityType, "messageActivityType");
|
||||
m.checkNotNullParameter(activity, "activity");
|
||||
m.checkNotNullParameter(application, "application");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUserActivityAction(this, j, j2, j3, messageActivityType, activity, application);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserMentionClicked(long j, long j2, long j3) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUserMentionClicked(this, j, j2, j3);
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: WidgetChannelPinnedMessages.kt */
|
||||
public static final class Companion {
|
||||
private Companion() {
|
||||
|
@ -87,9 +269,9 @@ public final class WidgetChannelPinnedMessages extends AppFragment {
|
|||
StoreStream.Companion companion = StoreStream.Companion;
|
||||
Channel findChannelByIdInternal$app_productionBetaRelease = companion.getChannels().findChannelByIdInternal$app_productionBetaRelease(j);
|
||||
if (findChannelByIdInternal$app_productionBetaRelease != null) {
|
||||
Observable<Model> c2 = Observable.c(companion.getUsers().observeMeId(), companion.getPinnedMessages().observeForChannel(j), companion.getGuilds().observeRoles(findChannelByIdInternal$app_productionBetaRelease.f()), companion.getGuilds().observeComputed(findChannelByIdInternal$app_productionBetaRelease.f()), companion.getChannels().observeNames(), StoreUserSettings.observeIsAnimatedEmojisEnabled$default(companion.getUserSettings(), false, 1, null), StoreUserSettings.observeIsAutoPlayGifsEnabled$default(companion.getUserSettings(), false, 1, null), companion.getGuilds().observeGuild(findChannelByIdInternal$app_productionBetaRelease.f()), InviteEmbedModel.Companion.observe$default(InviteEmbedModel.Companion, null, null, null, null, 15, null), new WidgetChannelPinnedMessages$Model$Companion$get$1(context, findChannelByIdInternal$app_productionBetaRelease));
|
||||
m.checkNotNullExpressionValue(c2, "Observable\n .… myRoleIds)\n }");
|
||||
return c2;
|
||||
Observable<R> Y = companion.getPinnedMessages().observeForChannel(j).Y(new WidgetChannelPinnedMessages$Model$Companion$get$1(findChannelByIdInternal$app_productionBetaRelease, context));
|
||||
m.checkNotNullExpressionValue(Y, "getPinnedMessages().obse… }\n }");
|
||||
return Y;
|
||||
}
|
||||
j jVar = new j(null);
|
||||
m.checkNotNullExpressionValue(jVar, "Observable.just(null)");
|
||||
|
@ -304,6 +486,10 @@ public final class WidgetChannelPinnedMessages extends AppFragment {
|
|||
widgetChannelPinnedMessages.configureUI(model);
|
||||
}
|
||||
|
||||
private final void addThreadSpineItemDecoration(WidgetChatListAdapter widgetChatListAdapter) {
|
||||
getBinding().b.addItemDecoration(new ThreadSpineItemDecoration(requireContext(), widgetChatListAdapter));
|
||||
}
|
||||
|
||||
private final void configureUI(Model model) {
|
||||
if (model == null) {
|
||||
requireActivity().finish();
|
||||
|
@ -349,7 +535,12 @@ public final class WidgetChannelPinnedMessages extends AppFragment {
|
|||
m.checkNotNullExpressionValue(recyclerView, "binding.channelPinnedMessagesRecycler");
|
||||
FragmentManager parentFragmentManager = getParentFragmentManager();
|
||||
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
||||
this.adapter = (WidgetChatListAdapter) companion.configure(new WidgetChatListAdapter(recyclerView, this, parentFragmentManager, new WidgetChannelPinnedMessages$onViewBound$1(this), null, null, 48, null));
|
||||
Context requireContext = requireContext();
|
||||
FragmentManager parentFragmentManager2 = getParentFragmentManager();
|
||||
m.checkNotNullExpressionValue(parentFragmentManager2, "parentFragmentManager");
|
||||
WidgetChatListAdapter widgetChatListAdapter = (WidgetChatListAdapter) companion.configure(new WidgetChatListAdapter(recyclerView, this, parentFragmentManager, new ChannelPinnedMessagesAdapterEventHandler(requireContext, parentFragmentManager2, ChannelSelector.Companion.getInstance()), null, null, 48, null));
|
||||
addThreadSpineItemDecoration(widgetChatListAdapter);
|
||||
this.adapter = widgetChatListAdapter;
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppFragment
|
||||
|
|
|
@ -100,7 +100,7 @@ public final class WidgetFatalCrash extends AppFragment {
|
|||
textView2.setText(b.j(this, 2131887897, objArr2, null, 4));
|
||||
TextView textView3 = getBinding().b;
|
||||
m.checkNotNullExpressionValue(textView3, "binding.fatalCrashAppVersion");
|
||||
textView3.setText(b.j(this, 2131887890, new Object[]{"84.11 - Beta"}, null, 4));
|
||||
textView3.setText(b.j(this, 2131887890, new Object[]{"84.12 - Beta"}, null, 4));
|
||||
TextView textView4 = getBinding().d;
|
||||
m.checkNotNullExpressionValue(textView4, "binding.fatalCrashOsVersion");
|
||||
textView4.setText(b.j(this, 2131887893, new Object[]{String.valueOf(Build.VERSION.SDK_INT)}, null, 4));
|
||||
|
|
|
@ -30,6 +30,7 @@ import com.discord.utilities.rx.ObservableExtensionsKt;
|
|||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.discord.widgets.chat.WidgetUrlActions;
|
||||
import com.discord.widgets.chat.list.ThreadSpineItemDecoration;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapter;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapterItemCallMessage;
|
||||
import com.discord.widgets.chat.list.entries.ChatListEntry;
|
||||
|
@ -371,6 +372,7 @@ public final class WidgetSearchResults extends AppFragment {
|
|||
public void onThreadClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
ChannelSelector.selectChannel$default(this.channelSelector, channel, null, SelectedChannelAnalyticsLocation.EMBED, 2, null);
|
||||
l.c(this.context, false, null, 6);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
|
@ -404,6 +406,10 @@ public final class WidgetSearchResults extends AppFragment {
|
|||
widgetSearchResults.configureUI(model);
|
||||
}
|
||||
|
||||
private final void addThreadSpineItemDecoration(WidgetChatListAdapter widgetChatListAdapter) {
|
||||
getBinding().b.addItemDecoration(new ThreadSpineItemDecoration(requireContext(), widgetChatListAdapter));
|
||||
}
|
||||
|
||||
private final void configureUI(Model model) {
|
||||
WidgetChatListAdapter widgetChatListAdapter = this.adapter;
|
||||
if (widgetChatListAdapter != null) {
|
||||
|
@ -446,7 +452,9 @@ public final class WidgetSearchResults extends AppFragment {
|
|||
m.checkNotNullExpressionValue(context, "view.context");
|
||||
FragmentManager parentFragmentManager2 = getParentFragmentManager();
|
||||
m.checkNotNullExpressionValue(parentFragmentManager2, "parentFragmentManager");
|
||||
this.adapter = (WidgetChatListAdapter) companion.configure(new WidgetChatListAdapter(recyclerView, this, parentFragmentManager, new SearchResultAdapterEventHandler(context, parentFragmentManager2, ChannelSelector.Companion.getInstance()), null, null, 48, null));
|
||||
WidgetChatListAdapter widgetChatListAdapter = (WidgetChatListAdapter) companion.configure(new WidgetChatListAdapter(recyclerView, this, parentFragmentManager, new SearchResultAdapterEventHandler(context, parentFragmentManager2, ChannelSelector.Companion.getInstance()), null, null, 48, null));
|
||||
addThreadSpineItemDecoration(widgetChatListAdapter);
|
||||
this.adapter = widgetChatListAdapter;
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppFragment
|
||||
|
|
|
@ -344,7 +344,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi
|
|||
TextView textView = binding.f;
|
||||
m.checkNotNullExpressionValue(textView, "appInfoHeader");
|
||||
String string = getString(2131886360);
|
||||
textView.setText(string + " - 84.11 - Beta (84111)");
|
||||
textView.setText(string + " - 84.12 - Beta (84112)");
|
||||
binding.f1938z.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this));
|
||||
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);
|
||||
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE);
|
||||
|
|
|
@ -9,7 +9,9 @@ import com.discord.models.member.GuildMember;
|
|||
import com.discord.models.message.Message;
|
||||
import com.discord.stores.StoreMessageReplies;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.stores.StoreUserSettings;
|
||||
import com.discord.utilities.embed.InviteEmbedModel;
|
||||
import com.discord.utilities.rx.ObservableCombineLatestOverloadsKt;
|
||||
import com.discord.widgets.chat.list.entries.LoadingEntry;
|
||||
import com.discord.widgets.chat.list.entries.MentionFooterEntry;
|
||||
import com.discord.widgets.chat.list.entries.MessageHeaderEntry;
|
||||
|
@ -20,47 +22,60 @@ import d0.t.h0;
|
|||
import d0.t.n0;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import j0.k.b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import kotlin.jvm.functions.Function11;
|
||||
import rx.Observable;
|
||||
/* compiled from: WidgetUserMentions.kt */
|
||||
public final class WidgetUserMentions$Model$Companion$get$1 extends o implements Function11<WidgetUserMentions.Model.MessageLoader.LoadingState, Guild, Map<Long, ? extends Channel>, Map<Long, ? extends String>, Map<Long, ? extends Guild>, Map<Long, ? extends Map<Long, ? extends GuildRole>>, Map<Long, ? extends Map<Long, ? extends GuildMember>>, Long, Boolean, Boolean, InviteEmbedModel, WidgetUserMentions.Model> {
|
||||
public final class WidgetUserMentions$Model$Companion$get$1<T, R> implements b<WidgetUserMentions.Model.MessageLoader.LoadingState, Observable<? extends WidgetUserMentions.Model>> {
|
||||
public final /* synthetic */ NavigationTab $selectedTab;
|
||||
|
||||
/* compiled from: WidgetUserMentions.kt */
|
||||
/* renamed from: com.discord.widgets.user.WidgetUserMentions$Model$Companion$get$1$1 reason: invalid class name */
|
||||
public static final class AnonymousClass1 extends o implements Function11<WidgetChatListModelMessages.MessagesWithMetadata, Guild, Map<Long, ? extends Channel>, Map<Long, ? extends String>, Map<Long, ? extends Guild>, Map<Long, ? extends Map<Long, ? extends GuildRole>>, Map<Long, ? extends Map<Long, ? extends GuildMember>>, Long, Boolean, Boolean, InviteEmbedModel, WidgetUserMentions.Model> {
|
||||
public final /* synthetic */ WidgetUserMentions.Model.MessageLoader.LoadingState $loadedState;
|
||||
public final /* synthetic */ WidgetUserMentions$Model$Companion$get$1 this$0;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public WidgetUserMentions$Model$Companion$get$1(NavigationTab navigationTab) {
|
||||
public AnonymousClass1(WidgetUserMentions$Model$Companion$get$1 widgetUserMentions$Model$Companion$get$1, WidgetUserMentions.Model.MessageLoader.LoadingState loadingState) {
|
||||
super(11);
|
||||
this.$selectedTab = navigationTab;
|
||||
this.this$0 = widgetUserMentions$Model$Companion$get$1;
|
||||
this.$loadedState = loadingState;
|
||||
}
|
||||
|
||||
public final WidgetUserMentions.Model invoke(WidgetUserMentions.Model.MessageLoader.LoadingState loadingState, Guild guild, Map<Long, Channel> map, Map<Long, String> map2, Map<Long, Guild> map3, Map<Long, ? extends Map<Long, GuildRole>> map4, Map<Long, ? extends Map<Long, GuildMember>> map5, long j, boolean z2, boolean z3, InviteEmbedModel inviteEmbedModel) {
|
||||
public final WidgetUserMentions.Model invoke(WidgetChatListModelMessages.MessagesWithMetadata messagesWithMetadata, Guild guild, Map<Long, Channel> map, Map<Long, String> map2, Map<Long, Guild> map3, Map<Long, ? extends Map<Long, GuildRole>> map4, Map<Long, ? extends Map<Long, GuildMember>> map5, long j, boolean z2, boolean z3, InviteEmbedModel inviteEmbedModel) {
|
||||
Map<Long, Channel> map6 = map;
|
||||
Map<Long, ? extends Map<Long, GuildRole>> map7 = map4;
|
||||
Map<Long, ? extends Map<Long, GuildMember>> map8 = map5;
|
||||
m.checkNotNullParameter(messagesWithMetadata, "messagesWithMetadata");
|
||||
m.checkNotNullParameter(map6, "channels");
|
||||
m.checkNotNullParameter(map2, "names");
|
||||
m.checkNotNullParameter(map3, "guilds");
|
||||
m.checkNotNullParameter(map4, "roles");
|
||||
m.checkNotNullParameter(map5, "members");
|
||||
m.checkNotNullParameter(map7, "roles");
|
||||
m.checkNotNullParameter(map8, "members");
|
||||
m.checkNotNullParameter(inviteEmbedModel, "inviteEmbedModel");
|
||||
long id2 = guild != null ? guild.getId() : 0;
|
||||
String name = guild != null ? guild.getName() : null;
|
||||
ArrayList arrayList = new ArrayList(loadingState.getMentions().size() * 2);
|
||||
ArrayList arrayList = new ArrayList(this.$loadedState.getMentions().size() * 2);
|
||||
Set emptySet = n0.emptySet();
|
||||
Map<Long, StoreMessageReplies.MessageState> allMessageReferences = StoreStream.Companion.getRepliedMessages().getAllMessageReferences();
|
||||
for (Message message : loadingState.getMentions()) {
|
||||
for (Message message : this.$loadedState.getMentions()) {
|
||||
Channel channel = map6.get(Long.valueOf(message.getChannelId()));
|
||||
if (channel != null) {
|
||||
Object obj = map5.get(Long.valueOf(message.getChannelId()));
|
||||
Object obj = map8.get(Long.valueOf(message.getChannelId()));
|
||||
if (obj == null) {
|
||||
obj = h0.emptyMap();
|
||||
}
|
||||
Map map7 = (Map) obj;
|
||||
Object n0 = a.n0(channel, map4);
|
||||
Map map9 = (Map) obj;
|
||||
Object n0 = a.n0(channel, map7);
|
||||
if (n0 == null) {
|
||||
n0 = h0.emptyMap();
|
||||
}
|
||||
Map map8 = (Map) n0;
|
||||
Map map10 = (Map) n0;
|
||||
LinkedHashMap linkedHashMap = new LinkedHashMap();
|
||||
MessageReference messageReference = message.getMessageReference();
|
||||
Long c2 = messageReference != null ? messageReference.c() : null;
|
||||
|
@ -72,22 +87,35 @@ public final class WidgetUserMentions$Model$Companion$get$1 extends o implements
|
|||
linkedHashMap.put(c2, obj2);
|
||||
}
|
||||
arrayList.add(new MessageHeaderEntry(message, channel, (Guild) a.n0(channel, map3)));
|
||||
arrayList.addAll(WidgetChatListModelMessages.Companion.getMessageItems$default(WidgetChatListModelMessages.Companion, channel, map7, map8, h0.emptyMap(), null, null, message, null, linkedHashMap, false, false, null, z2, z3, StoreStream.Companion.getUserSettings().getIsRenderEmbedsEnabled(), false, h0.emptyMap(), inviteEmbedModel, false, 262144, null));
|
||||
arrayList.addAll(WidgetChatListModelMessages.Companion.getMessageItems$default(WidgetChatListModelMessages.Companion, channel, map9, map10, h0.emptyMap(), messagesWithMetadata.getMessageThreads().get(Long.valueOf(message.getId())), messagesWithMetadata.getThreadCountsAndLatestMessages().get(Long.valueOf(message.getId())), message, messagesWithMetadata.getMessageState().get(Long.valueOf(message.getId())), linkedHashMap, false, false, null, z2, z3, StoreStream.Companion.getUserSettings().getIsRenderEmbedsEnabled(), false, new HashMap(), inviteEmbedModel, false, 262144, null));
|
||||
}
|
||||
map6 = map;
|
||||
map7 = map4;
|
||||
map8 = map5;
|
||||
}
|
||||
if (loadingState.isLoading()) {
|
||||
if (this.$loadedState.isLoading()) {
|
||||
arrayList.add(new LoadingEntry());
|
||||
} else if (loadingState.isAllLoaded()) {
|
||||
} else if (this.$loadedState.isAllLoaded()) {
|
||||
arrayList.add(new MentionFooterEntry());
|
||||
}
|
||||
return new WidgetUserMentions.Model(j, -1, map3.get(Long.valueOf(id2)), id2, map2, -1, arrayList, emptySet, -1, false, z2, name, this.$selectedTab, 512, null);
|
||||
return new WidgetUserMentions.Model(j, -1, map3.get(Long.valueOf(id2)), id2, map2, -1, arrayList, emptySet, -1, false, z2, name, this.this$0.$selectedTab, 512, null);
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function11
|
||||
public /* bridge */ /* synthetic */ WidgetUserMentions.Model invoke(WidgetUserMentions.Model.MessageLoader.LoadingState loadingState, Guild guild, Map<Long, ? extends Channel> map, Map<Long, ? extends String> map2, Map<Long, ? extends Guild> map3, Map<Long, ? extends Map<Long, ? extends GuildRole>> map4, Map<Long, ? extends Map<Long, ? extends GuildMember>> map5, Long l, Boolean bool, Boolean bool2, InviteEmbedModel inviteEmbedModel) {
|
||||
return invoke(loadingState, guild, (Map<Long, Channel>) map, (Map<Long, String>) map2, (Map<Long, Guild>) map3, (Map<Long, ? extends Map<Long, GuildRole>>) map4, (Map<Long, ? extends Map<Long, GuildMember>>) map5, l.longValue(), bool.booleanValue(), bool2.booleanValue(), inviteEmbedModel);
|
||||
public /* bridge */ /* synthetic */ WidgetUserMentions.Model invoke(WidgetChatListModelMessages.MessagesWithMetadata messagesWithMetadata, Guild guild, Map<Long, ? extends Channel> map, Map<Long, ? extends String> map2, Map<Long, ? extends Guild> map3, Map<Long, ? extends Map<Long, ? extends GuildRole>> map4, Map<Long, ? extends Map<Long, ? extends GuildMember>> map5, Long l, Boolean bool, Boolean bool2, InviteEmbedModel inviteEmbedModel) {
|
||||
return invoke(messagesWithMetadata, guild, (Map<Long, Channel>) map, (Map<Long, String>) map2, (Map<Long, Guild>) map3, (Map<Long, ? extends Map<Long, GuildRole>>) map4, (Map<Long, ? extends Map<Long, GuildMember>>) map5, l.longValue(), bool.booleanValue(), bool2.booleanValue(), inviteEmbedModel);
|
||||
}
|
||||
}
|
||||
|
||||
public WidgetUserMentions$Model$Companion$get$1(NavigationTab navigationTab) {
|
||||
this.$selectedTab = navigationTab;
|
||||
}
|
||||
|
||||
public final Observable<? extends WidgetUserMentions.Model> call(WidgetUserMentions.Model.MessageLoader.LoadingState loadingState) {
|
||||
Observable<WidgetChatListModelMessages.MessagesWithMetadata> observable = WidgetChatListModelMessages.MessagesWithMetadata.Companion.get(loadingState.getMentions());
|
||||
StoreStream.Companion companion = StoreStream.Companion;
|
||||
return ObservableCombineLatestOverloadsKt.combineLatest(observable, companion.getGuildSelected().observeSelectedGuild(), companion.getChannels().observeGuildAndPrivateChannels(), companion.getChannels().observeNames(), companion.getGuilds().observeGuilds(), companion.getGuilds().observeRoles(), companion.getGuilds().observeComputed(), companion.getUsers().observeMeId(), StoreUserSettings.observeIsAnimatedEmojisEnabled$default(companion.getUserSettings(), false, 1, null), StoreUserSettings.observeIsAutoPlayGifsEnabled$default(companion.getUserSettings(), false, 1, null), InviteEmbedModel.Companion.observe$default(InviteEmbedModel.Companion, null, null, null, null, 15, null), new AnonymousClass1(this, loadingState));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ import kotlin.coroutines.Continuation;
|
|||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
/* compiled from: WidgetUserMentions.kt */
|
||||
@e(c = "com.discord.widgets.user.WidgetUserMentions$WidgetUserMentionFilter$delayedDismiss$1", f = "WidgetUserMentions.kt", l = {352}, m = "invokeSuspend")
|
||||
@e(c = "com.discord.widgets.user.WidgetUserMentions$WidgetUserMentionFilter$delayedDismiss$1", f = "WidgetUserMentions.kt", l = {385}, m = "invokeSuspend")
|
||||
public final class WidgetUserMentions$WidgetUserMentionFilter$delayedDismiss$1 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
public int label;
|
||||
public final /* synthetic */ WidgetUserMentions.WidgetUserMentionFilter this$0;
|
||||
|
|
|
@ -1,177 +0,0 @@
|
|||
package com.discord.widgets.user;
|
||||
|
||||
import android.net.Uri;
|
||||
import com.discord.api.activity.Activity;
|
||||
import com.discord.api.application.Application;
|
||||
import com.discord.api.channel.Channel;
|
||||
import com.discord.api.message.activity.MessageActivityType;
|
||||
import com.discord.api.message.reaction.MessageReaction;
|
||||
import com.discord.api.sticker.BaseSticker;
|
||||
import com.discord.api.sticker.Sticker;
|
||||
import com.discord.models.message.Message;
|
||||
import com.discord.restapi.RestAPIParams;
|
||||
import com.discord.stores.StoreChat;
|
||||
import com.discord.stores.StoreNavigation;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapter;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapterItemCallMessage;
|
||||
import d0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: WidgetUserMentions.kt */
|
||||
public final class WidgetUserMentions$createAdapter$1 implements WidgetChatListAdapter.EventHandler {
|
||||
public final /* synthetic */ Function1 $onInteractionStateUpdated;
|
||||
public final /* synthetic */ WidgetUserMentions this$0;
|
||||
|
||||
public WidgetUserMentions$createAdapter$1(WidgetUserMentions widgetUserMentions, Function1 function1) {
|
||||
this.this$0 = widgetUserMentions;
|
||||
this.$onInteractionStateUpdated = function1;
|
||||
}
|
||||
|
||||
private final void jumpToMessage(Message message) {
|
||||
StoreStream.Companion companion = StoreStream.Companion;
|
||||
companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
companion.getTabsNavigation().selectHomeTab(StoreNavigation.PanelAction.CLOSE, WidgetUserMentions.access$isEmbedded$p(this.this$0));
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onBotUiComponentClicked(long j, Long l, long j2, long j3, Long l2, int i, RestAPIParams.ComponentInteractionData componentInteractionData) {
|
||||
m.checkNotNullParameter(componentInteractionData, "componentSendData");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onBotUiComponentClicked(this, j, l, j2, j3, l2, i, componentInteractionData);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCallMessageClicked(long j, WidgetChatListAdapterItemCallMessage.CallStatus callStatus) {
|
||||
m.checkNotNullParameter(callStatus, "callStatus");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCommandClicked(long j, Long l, long j2, long j3, long j4, long j5, String str) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onCommandClicked(this, j, l, j2, j3, j4, j5, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onDismissClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onDismissClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onInteractionStateUpdated(StoreChat.InteractionState interactionState) {
|
||||
m.checkNotNullParameter(interactionState, "interactionState");
|
||||
this.$onInteractionStateUpdated.invoke(interactionState);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onListClicked() {
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorAvatarClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorLongClicked(Message message, Long l) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorNameClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageBlockedGroupClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageClicked(Message message, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageLongClicked(Message message, CharSequence charSequence, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(charSequence, "formattedMessage");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOldestMessageId(long j, long j2) {
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOpenPinsClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onQuickAddReactionClicked(long j, long j2, long j3, long j4) {
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public boolean onQuickDownloadClicked(Uri uri, String str) {
|
||||
m.checkNotNullParameter(uri, "uri");
|
||||
m.checkNotNullParameter(str, "fileName");
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionClicked(long j, long j2, long j3, long j4, MessageReaction messageReaction, boolean z2) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionLongClicked(long j, long j2, long j3, MessageReaction messageReaction) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onSendGreetMessageClicked(long j, int i, Sticker sticker) {
|
||||
m.checkNotNullParameter(sticker, "sticker");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onSendGreetMessageClicked(this, j, i, sticker);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onStickerClicked(Message message, BaseSticker baseSticker) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(baseSticker, "sticker");
|
||||
StoreStream.Companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onThreadClicked(this, channel);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadLongClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onThreadLongClicked(this, channel);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUrlLongClicked(String str) {
|
||||
m.checkNotNullParameter(str, "url");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUrlLongClicked(this, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserActivityAction(long j, long j2, long j3, MessageActivityType messageActivityType, Activity activity, Application application) {
|
||||
m.checkNotNullParameter(messageActivityType, "actionType");
|
||||
m.checkNotNullParameter(activity, "activity");
|
||||
m.checkNotNullParameter(application, "application");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserMentionClicked(long j, long j2, long j3) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUserMentionClicked(this, j, j2, j3);
|
||||
}
|
||||
}
|
|
@ -2,6 +2,7 @@ package com.discord.widgets.user;
|
|||
|
||||
import a0.a.a.b;
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.view.View;
|
||||
import androidx.annotation.MainThread;
|
||||
import androidx.core.os.BundleKt;
|
||||
|
@ -13,28 +14,38 @@ import androidx.recyclerview.widget.RecyclerView;
|
|||
import c.a.d.h0;
|
||||
import c.a.d.j0;
|
||||
import c.d.b.a.a;
|
||||
import com.discord.api.activity.Activity;
|
||||
import com.discord.api.application.Application;
|
||||
import com.discord.api.channel.Channel;
|
||||
import com.discord.api.message.activity.MessageActivityType;
|
||||
import com.discord.api.message.reaction.MessageReaction;
|
||||
import com.discord.api.sticker.BaseSticker;
|
||||
import com.discord.api.sticker.Sticker;
|
||||
import com.discord.app.AppBottomSheet;
|
||||
import com.discord.app.AppFragment;
|
||||
import com.discord.databinding.WidgetUserMentionsBinding;
|
||||
import com.discord.databinding.WidgetUserMentionsFilterBinding;
|
||||
import com.discord.models.guild.Guild;
|
||||
import com.discord.models.message.Message;
|
||||
import com.discord.restapi.RestAPIParams;
|
||||
import com.discord.stores.SelectedChannelAnalyticsLocation;
|
||||
import com.discord.stores.StoreChat;
|
||||
import com.discord.stores.StoreNavigation;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.stores.StoreTabsNavigation;
|
||||
import com.discord.stores.StoreUserSettings;
|
||||
import com.discord.utilities.embed.InviteEmbedModel;
|
||||
import com.discord.utilities.channel.ChannelSelector;
|
||||
import com.discord.utilities.fragment.FragmentExtensionsKt;
|
||||
import com.discord.utilities.mg_recycler.MGRecyclerAdapter;
|
||||
import com.discord.utilities.rest.RestAPI;
|
||||
import com.discord.utilities.rx.LeadingEdgeThrottle;
|
||||
import com.discord.utilities.rx.ObservableCombineLatestOverloadsKt;
|
||||
import com.discord.utilities.rx.ObservableExtensionsKt;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.discord.utilities.views.ViewCoroutineScopeKt;
|
||||
import com.discord.views.CheckedSetting;
|
||||
import com.discord.widgets.chat.list.ThreadSpineItemDecoration;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapter;
|
||||
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapterItemCallMessage;
|
||||
import com.discord.widgets.chat.list.entries.ChatListEntry;
|
||||
import com.discord.widgets.tabs.NavigationTab;
|
||||
import com.discord.widgets.tabs.OnTabSelectedListener;
|
||||
|
@ -125,14 +136,14 @@ public final class WidgetUserMentions extends AppFragment implements OnTabSelect
|
|||
this();
|
||||
}
|
||||
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r5v3, resolved type: rx.Observable$a<T> */
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public final Observable<Model> get(MessageLoader messageLoader, NavigationTab navigationTab) {
|
||||
m.checkNotNullParameter(messageLoader, "messageLoader");
|
||||
m.checkNotNullParameter(navigationTab, "selectedTab");
|
||||
BehaviorSubject<MessageLoader.LoadingState> mentionsLoadingStateSubject = messageLoader.getMentionsLoadingStateSubject();
|
||||
StoreStream.Companion companion = StoreStream.Companion;
|
||||
Observable combineLatest = ObservableCombineLatestOverloadsKt.combineLatest(mentionsLoadingStateSubject, companion.getGuildSelected().observeSelectedGuild(), companion.getChannels().observeGuildAndPrivateChannels(), companion.getChannels().observeNames(), companion.getGuilds().observeGuilds(), companion.getGuilds().observeRoles(), companion.getGuilds().observeComputed(), companion.getUsers().observeMeId(), StoreUserSettings.observeIsAnimatedEmojisEnabled$default(companion.getUserSettings(), false, 1, null), StoreUserSettings.observeIsAutoPlayGifsEnabled$default(companion.getUserSettings(), false, 1, null), InviteEmbedModel.Companion.observe$default(InviteEmbedModel.Companion, null, null, null, null, 15, null), new WidgetUserMentions$Model$Companion$get$1(navigationTab));
|
||||
Observable<Model> r = Observable.h0(new r(combineLatest.i, new LeadingEdgeThrottle(300, TimeUnit.MILLISECONDS, j0.p.a.a()))).r();
|
||||
m.checkNotNullExpressionValue(r, "combineLatest(\n … .distinctUntilChanged()");
|
||||
Observable<R> Y = messageLoader.getMentionsLoadingStateSubject().Y(new WidgetUserMentions$Model$Companion$get$1(navigationTab));
|
||||
Observable<Model> r = Observable.h0(new r(Y.i, new LeadingEdgeThrottle(300, TimeUnit.MILLISECONDS, j0.p.a.a()))).r();
|
||||
m.checkNotNullExpressionValue(r, "messageLoader\n … .distinctUntilChanged()");
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
@ -733,6 +744,172 @@ public final class WidgetUserMentions extends AppFragment implements OnTabSelect
|
|||
}
|
||||
}
|
||||
|
||||
/* compiled from: WidgetUserMentions.kt */
|
||||
public static final class UserMentionsAdapterEventHandler implements WidgetChatListAdapter.EventHandler {
|
||||
private final ChannelSelector channelSelector;
|
||||
private final Function1<StoreChat.InteractionState, Unit> interactionStateUpdated;
|
||||
private final boolean isEmbedded;
|
||||
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: kotlin.jvm.functions.Function1<? super com.discord.stores.StoreChat$InteractionState, kotlin.Unit> */
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public UserMentionsAdapterEventHandler(boolean z2, ChannelSelector channelSelector, Function1<? super StoreChat.InteractionState, Unit> function1) {
|
||||
m.checkNotNullParameter(channelSelector, "channelSelector");
|
||||
m.checkNotNullParameter(function1, "interactionStateUpdated");
|
||||
this.isEmbedded = z2;
|
||||
this.channelSelector = channelSelector;
|
||||
this.interactionStateUpdated = function1;
|
||||
}
|
||||
|
||||
private final void jumpToMessage(Message message) {
|
||||
StoreStream.Companion companion = StoreStream.Companion;
|
||||
companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
companion.getTabsNavigation().selectHomeTab(StoreNavigation.PanelAction.CLOSE, this.isEmbedded);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onBotUiComponentClicked(long j, Long l, long j2, long j3, Long l2, int i, RestAPIParams.ComponentInteractionData componentInteractionData) {
|
||||
m.checkNotNullParameter(componentInteractionData, "componentSendData");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onBotUiComponentClicked(this, j, l, j2, j3, l2, i, componentInteractionData);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCallMessageClicked(long j, WidgetChatListAdapterItemCallMessage.CallStatus callStatus) {
|
||||
m.checkNotNullParameter(callStatus, "callStatus");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onCommandClicked(long j, Long l, long j2, long j3, long j4, long j5, String str) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onCommandClicked(this, j, l, j2, j3, j4, j5, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onDismissClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onDismissClicked(this, message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onInteractionStateUpdated(StoreChat.InteractionState interactionState) {
|
||||
m.checkNotNullParameter(interactionState, "interactionState");
|
||||
this.interactionStateUpdated.invoke(interactionState);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onListClicked() {
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorAvatarClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorLongClicked(Message message, Long l) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageAuthorNameClicked(Message message, long j) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageBlockedGroupClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageClicked(Message message, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onMessageLongClicked(Message message, CharSequence charSequence, boolean z2) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(charSequence, "formattedMessage");
|
||||
jumpToMessage(message);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOldestMessageId(long j, long j2) {
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onOpenPinsClicked(Message message) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onQuickAddReactionClicked(long j, long j2, long j3, long j4) {
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public boolean onQuickDownloadClicked(Uri uri, String str) {
|
||||
m.checkNotNullParameter(uri, "uri");
|
||||
m.checkNotNullParameter(str, "fileName");
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionClicked(long j, long j2, long j3, long j4, MessageReaction messageReaction, boolean z2) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onReactionLongClicked(long j, long j2, long j3, MessageReaction messageReaction) {
|
||||
m.checkNotNullParameter(messageReaction, "reaction");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onSendGreetMessageClicked(long j, int i, Sticker sticker) {
|
||||
m.checkNotNullParameter(sticker, "sticker");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onSendGreetMessageClicked(this, j, i, sticker);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onStickerClicked(Message message, BaseSticker baseSticker) {
|
||||
m.checkNotNullParameter(message, "message");
|
||||
m.checkNotNullParameter(baseSticker, "sticker");
|
||||
StoreStream.Companion.getMessagesLoader().jumpToMessage(message.getChannelId(), message.getId());
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
ChannelSelector.selectChannel$default(this.channelSelector, channel, null, SelectedChannelAnalyticsLocation.EMBED, 2, null);
|
||||
StoreStream.Companion.getTabsNavigation().selectHomeTab(StoreNavigation.PanelAction.CLOSE, this.isEmbedded);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onThreadLongClicked(Channel channel) {
|
||||
m.checkNotNullParameter(channel, "channel");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onThreadLongClicked(this, channel);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUrlLongClicked(String str) {
|
||||
m.checkNotNullParameter(str, "url");
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUrlLongClicked(this, str);
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserActivityAction(long j, long j2, long j3, MessageActivityType messageActivityType, Activity activity, Application application) {
|
||||
m.checkNotNullParameter(messageActivityType, "actionType");
|
||||
m.checkNotNullParameter(activity, "activity");
|
||||
m.checkNotNullParameter(application, "application");
|
||||
}
|
||||
|
||||
@Override // com.discord.widgets.chat.list.adapter.WidgetChatListAdapter.EventHandler
|
||||
public void onUserMentionClicked(long j, long j2, long j3) {
|
||||
WidgetChatListAdapter.EventHandler.DefaultImpls.onUserMentionClicked(this, j, j2, j3);
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: WidgetUserMentions.kt */
|
||||
public static final class WidgetUserMentionFilter extends AppBottomSheet {
|
||||
public static final /* synthetic */ KProperty[] $$delegatedProperties = {a.V(WidgetUserMentionFilter.class, "binding", "getBinding()Lcom/discord/databinding/WidgetUserMentionsFilterBinding;", 0)};
|
||||
|
@ -911,8 +1088,8 @@ public final class WidgetUserMentions extends AppFragment implements OnTabSelect
|
|||
return widgetUserMentions.mentionsLoader;
|
||||
}
|
||||
|
||||
public static final /* synthetic */ boolean access$isEmbedded$p(WidgetUserMentions widgetUserMentions) {
|
||||
return widgetUserMentions.isEmbedded();
|
||||
private final void addThreadSpineItemDecoration(WidgetChatListAdapter widgetChatListAdapter) {
|
||||
getBinding().f2006c.addItemDecoration(new ThreadSpineItemDecoration(requireContext(), widgetChatListAdapter));
|
||||
}
|
||||
|
||||
private final void configureToolbar(String str) {
|
||||
|
@ -951,7 +1128,9 @@ public final class WidgetUserMentions extends AppFragment implements OnTabSelect
|
|||
m.checkNotNullExpressionValue(recyclerView, "binding.userMentionsList");
|
||||
FragmentManager parentFragmentManager = getParentFragmentManager();
|
||||
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
||||
return new WidgetChatListAdapter(recyclerView, this, parentFragmentManager, new WidgetUserMentions$createAdapter$1(this, function1), null, null, 48, null);
|
||||
WidgetChatListAdapter widgetChatListAdapter = new WidgetChatListAdapter(recyclerView, this, parentFragmentManager, new UserMentionsAdapterEventHandler(isEmbedded(), ChannelSelector.Companion.getInstance(), function1), null, null, 48, null);
|
||||
addThreadSpineItemDecoration(widgetChatListAdapter);
|
||||
return widgetChatListAdapter;
|
||||
}
|
||||
|
||||
private final WidgetUserMentionsBinding getBinding() {
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" android:duration="@android:integer/config_mediumAnimTime" android:fromAlpha="0" android:toAlpha="1"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" android:duration="@android:integer/config_mediumAnimTime" android:fromAlpha="1" android:toAlpha="0"/>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
|
||||
<scale android:interpolator="@android:anim/decelerate_interpolator" android:duration="@integer/abc_config_activityDefaultDur" android:pivotX="50%" android:pivotY="100%" android:fromXScale="0.9" android:toXScale="1" android:fromYScale="0.9" android:toYScale="1"/>
|
||||
<alpha android:interpolator="@android:anim/decelerate_interpolator" android:duration="@integer/abc_config_activityShortDur" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
|
||||
<alpha android:interpolator="@android:anim/decelerate_interpolator" android:duration="@integer/abc_config_activityShortDur" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
|
||||
<alpha android:interpolator="@android:anim/decelerate_interpolator" android:duration="@integer/abc_config_activityShortDur" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
|
||||
<scale android:interpolator="@android:anim/decelerate_interpolator" android:duration="@integer/abc_config_activityDefaultDur" android:pivotX="50%" android:pivotY="100%" android:fromXScale="1" android:toXScale="0.9" android:fromYScale="1" android:toYScale="0.9"/>
|
||||
<alpha android:interpolator="@android:anim/decelerate_interpolator" android:duration="@integer/abc_config_activityShortDur" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" android:duration="@android:integer/config_mediumAnimTime" android:fromYDelta="50%p" android:toYDelta="0"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" android:duration="@android:integer/config_mediumAnimTime" android:fromYDelta="-50%p" android:toYDelta="0"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" android:duration="@android:integer/config_mediumAnimTime" android:fromYDelta="0" android:toYDelta="50%p"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" android:duration="@android:integer/config_mediumAnimTime" android:fromYDelta="0" android:toYDelta="-50%p"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/decelerate_quad" android:duration="@integer/config_tooltipAnimTime" android:fromAlpha="0" android:toAlpha="1"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_quad" android:duration="@integer/config_tooltipAnimTime" android:fromAlpha="1" android:toAlpha="0"/>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<alpha android:duration="@integer/animation_time_fast" android:fromAlpha="1" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<alpha android:duration="@integer/animation_time_fast" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<alpha android:duration="@integer/animation_time_fast" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<alpha android:duration="@integer/animation_time_fast" android:fromAlpha="1" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="-100%" android:toXDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="0%" android:toXDelta="100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="100%" android:toXDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="0%" android:toXDelta="-100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="95%p" android:toXScale="100%p" android:fromYScale="95%p" android:toYScale="100%p"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="0%" android:toXDelta="100%"/>
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="100%p" android:toXScale="95%p" android:fromYScale="100%p" android:toYScale="95%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="0.5"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="100%" android:toXDelta="0%"/>
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="95%p" android:toXScale="100%p" android:fromYScale="95%p" android:toYScale="100%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="0.5" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="100%p" android:toXScale="95%p" android:fromYScale="100%p" android:toYScale="95%p"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="90%p" android:toXScale="100%p" android:fromYScale="90%p" android:toYScale="100%p"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromYDelta="0%" android:toYDelta="100%"/>
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="100%p" android:toXScale="90%p" android:fromYScale="100%p" android:toYScale="90%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromYDelta="100%" android:toYDelta="0%"/>
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="90%p" android:toXScale="100%p" android:fromYScale="90%p" android:toYScale="100%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="100%p" android:toXScale="90%p" android:fromYScale="100%p" android:toYScale="90%p"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromYDelta="-100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/linear_out_slow_in">
|
||||
<translate android:duration="@integer/animation_time_slide" android:fromYDelta="0%" android:toYDelta="100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/linear_out_slow_in">
|
||||
<translate android:duration="@integer/animation_time_slide" android:fromYDelta="100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromYDelta="0%" android:toYDelta="-100%"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="95%p" android:toXScale="100%p" android:fromYScale="95%p" android:toYScale="100%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="0.25" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="0%" android:toXDelta="75%"/>
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="100%p" android:toXScale="75%p" android:fromYScale="100%p" android:toYScale="75%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate" android:zAdjustment="top">
|
||||
<translate android:duration="@integer/animation_time_standard" android:fromXDelta="75%" android:toXDelta="0%"/>
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="75%p" android:toXScale="100%p" android:fromYScale="75%p" android:toYScale="100%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="0.25" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_decelerate">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%p" android:pivotY="50%p" android:fromXScale="100%p" android:toXScale="95%p" android:fromYScale="100%p" android:toYScale="95%p"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="0.25"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator" android:duration="@android:integer/config_longAnimTime">
|
||||
<scale android:pivotX="50%" android:pivotY="50%" android:repeatCount="infinite" android:repeatMode="reverse" android:fromXScale="1" android:toXScale="0.8" android:fromYScale="1" android:toYScale="0.8"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_slight_overshoot" android:duration="700">
|
||||
<translate android:fromYDelta="100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_slight_overshoot" android:duration="700">
|
||||
<translate android:fromXDelta="-100%" android:toXDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_slight_overshoot" android:duration="700">
|
||||
<translate android:fromYDelta="-100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_slight_anticipate" android:duration="@android:integer/config_longAnimTime" android:fillAfter="true">
|
||||
<translate android:fromYDelta="0%" android:toYDelta="100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_slight_overshoot" android:duration="700">
|
||||
<translate android:fromXDelta="0%" android:toXDelta="100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_slight_anticipate" android:duration="@android:integer/config_longAnimTime" android:fillAfter="true">
|
||||
<translate android:fromYDelta="0%" android:toYDelta="-100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha android:interpolator="@android:anim/accelerate_interpolator" android:duration="@integer/animation_time_standard" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha android:interpolator="@android:anim/accelerate_interpolator" android:duration="@integer/animation_time_fast" android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha android:interpolator="@android:anim/accelerate_interpolator" android:duration="@integer/animation_time_standard" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha android:interpolator="@android:anim/accelerate_interpolator" android:duration="@integer/animation_time_fast" android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/overshoot_interpolator">
|
||||
<translate android:duration="@android:integer/config_mediumAnimTime" android:fromYDelta="-100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/linear_interpolator">
|
||||
<translate android:duration="@android:integer/config_shortAnimTime" android:fromYDelta="0%" android:toYDelta="-200%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_minor_overshoot">
|
||||
<translate android:duration="@android:integer/config_longAnimTime" android:fromYDelta="-100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_minor_overshoot">
|
||||
<translate android:duration="@android:integer/config_longAnimTime" android:fromYDelta="100%" android:toYDelta="0%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_minor_overshoot">
|
||||
<translate android:duration="@android:integer/config_longAnimTime" android:fromYDelta="0%" android:toYDelta="100%"/>
|
||||
</set>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@anim/interpolator_minor_overshoot">
|
||||
<translate android:duration="@android:integer/config_longAnimTime" android:fromYDelta="0%" android:toYDelta="-100%"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator" android:fillAfter="true">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%" android:pivotY="50%" android:fromXScale="@integer/typing_dots_max_scale" android:toXScale="@integer/typing_dots_min_scale" android:fromYScale="@integer/typing_dots_max_scale" android:toYScale="@integer/typing_dots_min_scale"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="@integer/typing_dots_max_alpha" android:toAlpha="@integer/typing_dots_min_alpha"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator" android:fillAfter="true">
|
||||
<scale android:duration="@integer/animation_time_standard" android:pivotX="50%" android:pivotY="50%" android:fromXScale="@integer/typing_dots_min_scale" android:toXScale="@integer/typing_dots_max_scale" android:fromYScale="@integer/typing_dots_min_scale" android:toYScale="@integer/typing_dots_max_scale"/>
|
||||
<alpha android:duration="@integer/animation_time_standard" android:fromAlpha="@integer/typing_dots_min_alpha" android:toAlpha="@integer/typing_dots_max_alpha"/>
|
||||
</set>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_1" android:duration="166" android:valueFrom="M -7.0,-7.0 l 14.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,14.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l -14.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,-14.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" android:valueTo="M 0.0,-0.05 l 0.0,0.0 c 0.02761423749,0.0 0.05,0.02238576251 0.05,0.05 l 0.0,0.0 c 0.0,0.02761423749 -0.02238576251,0.05 -0.05,0.05 l 0.0,0.0 c -0.02761423749,0.0 -0.05,-0.02238576251 -0.05,-0.05 l 0.0,0.0 c 0.0,-0.02761423749 0.02238576251,-0.05 0.05,-0.05 Z M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" android:valueType="pathType" android:propertyName="pathData"/>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@android:interpolator/linear" android:duration="166" android:valueFrom="1" android:valueTo="1" android:propertyName="fillAlpha"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_0" android:duration="33" android:valueFrom="1" android:valueTo="0" android:propertyName="fillAlpha"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@android:interpolator/linear" android:duration="200" android:valueFrom="M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M -2.0,5.00001525879 c 0.0,0.0 -1.4234161377,-1.40159606934 -1.4234161377,-1.40159606934 c 0.0,0.0 1.41409301758,-1.41409301758 1.41409301758,-1.41409301758 c 0.0,0.0 0.00932312011719,-0.0124053955078 0.00932312011719,-0.0124053955078 c 0.0,0.0 0.0234069824219,-0.0235137939453 0.0234069824219,-0.0235137939453 c 0.0,0.0 1.41409301758,1.41409301758 1.41409301758,1.41409301758 c 0.0,0.0 -1.4375,1.43751525879 -1.4375,1.43751525879 Z" android:valueTo="M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M -2.0,5.00001525879 c 0.0,0.0 -1.4234161377,-1.40159606934 -1.4234161377,-1.40159606934 c 0.0,0.0 1.41409301758,-1.41409301758 1.41409301758,-1.41409301758 c 0.0,0.0 0.00932312011719,-0.0124053955078 0.00932312011719,-0.0124053955078 c 0.0,0.0 0.0234069824219,-0.0235137939453 0.0234069824219,-0.0235137939453 c 0.0,0.0 1.41409301758,1.41409301758 1.41409301758,1.41409301758 c 0.0,0.0 -1.4375,1.43751525879 -1.4375,1.43751525879 Z" android:valueType="pathType" android:propertyName="pathData"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_1" android:duration="300" android:valueFrom="M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M -2.0,5.00001525879 c 0.0,0.0 -1.4234161377,-1.40159606934 -1.4234161377,-1.40159606934 c 0.0,0.0 1.41409301758,-1.41409301758 1.41409301758,-1.41409301758 c 0.0,0.0 0.00932312011719,-0.0124053955078 0.00932312011719,-0.0124053955078 c 0.0,0.0 0.0234069824219,-0.0235137939453 0.0234069824219,-0.0235137939453 c 0.0,0.0 1.41409301758,1.41409301758 1.41409301758,1.41409301758 c 0.0,0.0 -1.4375,1.43751525879 -1.4375,1.43751525879 Z" android:valueTo="M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M -2.0,5.00001525879 c 0.0,0.0 -5.0,-5.00001525879 -5.0,-5.00001525879 c 0.0,0.0 1.41409301758,-1.41409301758 1.41409301758,-1.41409301758 c 0.0,0.0 3.58590698242,3.58601379395 3.58590698242,3.58601379395 c 0.0,0.0 7.58590698242,-7.58601379395 7.58590698242,-7.58601379395 c 0.0,0.0 1.41409301758,1.41409301758 1.41409301758,1.41409301758 c 0.0,0.0 -9.0,9.00001525879 -9.0,9.00001525879 Z" android:valueType="pathType" android:propertyName="pathData"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@android:interpolator/linear" android:duration="166" android:valueFrom="0" android:valueTo="0" android:propertyName="fillAlpha"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_0" android:duration="33" android:valueFrom="0" android:valueTo="1" android:propertyName="fillAlpha"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_1" android:duration="200" android:valueFrom="0.2" android:valueTo="0.18" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_1" android:duration="300" android:valueFrom="0.18" android:valueTo="0.2" android:propertyName="scaleX"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_1" android:duration="200" android:valueFrom="0.2" android:valueTo="0.18" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_unchecked_mtrl_animation_interpolator_1" android:duration="300" android:valueFrom="0.18" android:valueTo="0.2" android:propertyName="scaleY"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@android:interpolator/linear" android:duration="166" android:valueFrom="M 0.0,-1.0 l 0.0,0.0 c 0.5522847498,0.0 1.0,0.4477152502 1.0,1.0 l 0.0,0.0 c 0.0,0.5522847498 -0.4477152502,1.0 -1.0,1.0 l 0.0,0.0 c -0.5522847498,0.0 -1.0,-0.4477152502 -1.0,-1.0 l 0.0,0.0 c 0.0,-0.5522847498 0.4477152502,-1.0 1.0,-1.0 Z M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" android:valueTo="M 0.0,-1.0 l 0.0,0.0 c 0.5522847498,0.0 1.0,0.4477152502 1.0,1.0 l 0.0,0.0 c 0.0,0.5522847498 -0.4477152502,1.0 -1.0,1.0 l 0.0,0.0 c -0.5522847498,0.0 -1.0,-0.4477152502 -1.0,-1.0 l 0.0,0.0 c 0.0,-0.5522847498 0.4477152502,-1.0 1.0,-1.0 Z M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" android:valueType="pathType" android:propertyName="pathData"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_1" android:duration="333" android:valueFrom="M 0.0,-1.0 l 0.0,0.0 c 0.5522847498,0.0 1.0,0.4477152502 1.0,1.0 l 0.0,0.0 c 0.0,0.5522847498 -0.4477152502,1.0 -1.0,1.0 l 0.0,0.0 c -0.5522847498,0.0 -1.0,-0.4477152502 -1.0,-1.0 l 0.0,0.0 c 0.0,-0.5522847498 0.4477152502,-1.0 1.0,-1.0 Z M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" android:valueTo="M -7.0,-7.0 l 14.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,14.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l -14.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,-14.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" android:valueType="pathType" android:propertyName="pathData"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@android:interpolator/linear" android:duration="133" android:valueFrom="0" android:valueTo="0" android:propertyName="fillAlpha"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_0" android:duration="33" android:valueFrom="0" android:valueTo="1" android:propertyName="fillAlpha"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_1" android:duration="166" android:valueFrom="M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M -2.0,5.00001525879 c 0.0,0.0 -5.0,-5.00001525879 -5.0,-5.00001525879 c 0.0,0.0 1.41409301758,-1.41409301758 1.41409301758,-1.41409301758 c 0.0,0.0 3.58590698242,3.58601379395 3.58590698242,3.58601379395 c 0.0,0.0 7.58590698242,-7.58601379395 7.58590698242,-7.58601379395 c 0.0,0.0 1.41409301758,1.41409301758 1.41409301758,1.41409301758 c 0.0,0.0 -9.0,9.00001525879 -9.0,9.00001525879 Z" android:valueTo="M 7.0,-9.0 c 0.0,0.0 -14.0,0.0 -14.0,0.0 c -1.1044921875,0.0 -2.0,0.8955078125 -2.0,2.0 c 0.0,0.0 0.0,14.0 0.0,14.0 c 0.0,1.1044921875 0.8955078125,2.0 2.0,2.0 c 0.0,0.0 14.0,0.0 14.0,0.0 c 1.1044921875,0.0 2.0,-0.8955078125 2.0,-2.0 c 0.0,0.0 0.0,-14.0 0.0,-14.0 c 0.0,-1.1044921875 -0.8955078125,-2.0 -2.0,-2.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z M 0.0,1.42500305176 c 0.0,0.0 -1.4234161377,-1.40159606934 -1.4234161377,-1.40159606934 c 0.0,0.0 1.41409301758,-1.41409301758 1.41409301758,-1.41409301758 c 0.0,0.0 0.00932312011719,-0.0124053955078 0.00932312011719,-0.0124053955078 c 0.0,0.0 0.0234069824219,-0.0235137939453 0.0234069824219,-0.0235137939453 c 0.0,0.0 1.41409301758,1.41409301758 1.41409301758,1.41409301758 c 0.0,0.0 -1.4375,1.43751525879 -1.4375,1.43751525879 Z" android:valueType="pathType" android:propertyName="pathData"/>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@android:interpolator/linear" android:duration="133" android:valueFrom="1" android:valueTo="1" android:propertyName="fillAlpha"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_0" android:duration="33" android:valueFrom="1" android:valueTo="0" android:propertyName="fillAlpha"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_1" android:duration="166" android:valueFrom="0.2" android:valueTo="0.18" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_1" android:duration="333" android:valueFrom="0.18" android:valueTo="0.2" android:propertyName="scaleX"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_1" android:duration="166" android:valueFrom="0.2" android:valueTo="0.18" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_checkbox_checked_mtrl_animation_interpolator_1" android:duration="333" android:valueFrom="0.18" android:valueTo="0.2" android:propertyName="scaleY"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="183" android:valueFrom="1" android:valueTo="1.4" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="1.4" android:valueTo="0" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="300" android:valueFrom="0" android:valueTo="0" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="183" android:valueFrom="1" android:valueTo="1.4" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="1.4" android:valueTo="0" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="300" android:valueFrom="0" android:valueTo="0" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="183" android:valueFrom="1" android:valueTo="0.9" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_radio_to_off_mtrl_animation_interpolator_0" android:duration="16" android:valueFrom="0.9" android:valueTo="0.5" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_radio_to_off_mtrl_animation_interpolator_0" android:duration="300" android:valueFrom="0.5" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="183" android:valueFrom="1" android:valueTo="0.9" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_radio_to_off_mtrl_animation_interpolator_0" android:duration="16" android:valueFrom="0.9" android:valueTo="0.5" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/btn_radio_to_off_mtrl_animation_interpolator_0" android:duration="300" android:valueFrom="0.5" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="183" android:valueFrom="2" android:valueTo="2" android:valueType="floatType" android:propertyName="strokeWidth"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="2" android:valueTo="18" android:valueType="floatType" android:propertyName="strokeWidth"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="300" android:valueFrom="18" android:valueTo="2" android:valueType="floatType" android:propertyName="strokeWidth"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="166" android:valueFrom="0" android:valueTo="0" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="0" android:valueTo="1.5" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="316" android:valueFrom="1.5" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="166" android:valueFrom="0" android:valueTo="0" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="0" android:valueTo="1.5" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="316" android:valueFrom="1.5" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="166" android:valueFrom="1" android:valueTo="0.5" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="0.5" android:valueTo="0.9" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="316" android:valueFrom="0.9" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
</set>
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="166" android:valueFrom="1" android:valueTo="0.5" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="0.5" android:valueTo="0.9" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="316" android:valueFrom="0.9" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set android:ordering="sequentially">
|
||||
<objectAnimator android:interpolator="@interpolator/btn_radio_to_on_mtrl_animation_interpolator_0" android:duration="166" android:valueFrom="2" android:valueTo="18" android:valueType="floatType" android:propertyName="strokeWidth"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="16" android:valueFrom="18" android:valueTo="2" android:valueType="floatType" android:propertyName="strokeWidth"/>
|
||||
<objectAnimator android:interpolator="@interpolator/fast_out_slow_in" android:duration="316" android:valueFrom="2" android:valueTo="2" android:valueType="floatType" android:propertyName="strokeWidth"/>
|
||||
</set>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/fast_out_linear_in" android:duration="@integer/bottom_sheet_slide_duration">
|
||||
<translate android:fromYDelta="20%p" android:toYDelta="0"/>
|
||||
<alpha android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/fast_out_slow_in" android:duration="@integer/bottom_sheet_slide_duration">
|
||||
<translate android:fromYDelta="0" android:toYDelta="20%p"/>
|
||||
<alpha android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android" android:fromYDelta="100%" android:toYDelta="0"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android" android:fromYDelta="0" android:toYDelta="100%"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:pathData="M 0,0 C 0.05, 0, 0.133333, 0.06, 0.166666, 0.4 C 0.208333, 0.82, 0.25, 1, 1, 1"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<overshootInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:tension="0.5"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<anticipateInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:tension="1"/>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<overshootInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:tension="1"/>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/linear_out_slow_in" android:duration="250">
|
||||
<translate android:fromYDelta="20%p" android:toYDelta="0"/>
|
||||
<alpha android:fromAlpha="0" android:toAlpha="1"/>
|
||||
</set>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/fast_out_linear_in" android:duration="200">
|
||||
<translate android:fromYDelta="0" android:toYDelta="20%p"/>
|
||||
<alpha android:fromAlpha="1" android:toAlpha="0"/>
|
||||
</set>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:controlX1="0.4" android:controlY1="0" android:controlX2="0.6" android:controlY2="1"/>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:duration="@integer/ucrop_progress_loading_anim_time" android:repeatCount="infinite" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:propertyName="trimPathEnd"/>
|
||||
<objectAnimator android:duration="@integer/ucrop_progress_loading_anim_time" android:repeatCount="infinite" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:propertyName="strokeAlpha"/>
|
||||
</set>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:duration="@integer/ucrop_progress_loading_anim_time" android:repeatCount="infinite" android:valueFrom="0.666" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleX"/>
|
||||
<objectAnimator android:duration="@integer/ucrop_progress_loading_anim_time" android:repeatCount="infinite" android:valueFrom="0.666" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleY"/>
|
||||
<objectAnimator android:duration="@integer/ucrop_progress_loading_anim_time" android:repeatCount="infinite" android:valueFrom="0" android:valueTo="360" android:valueType="floatType" android:propertyName="rotation"/>
|
||||
</set>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue